powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Oracle [игнор отключен] [закрыт для гостей] / multitable insert простой вопрос
3 сообщений из 3, страница 1 из 1
multitable insert простой вопрос
    #39305236
grok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
если выполняются несколько условий одновременно
будут сделаны все соотв. вставки ?

у меня
Код: plsql
1.
2.
3.
4.
5.
6.
7.
8.
  when attribute4 is not null then   
  .... 
  when attribute5 is not null then   
  ...
  when attribute6 is not null then   
  ...  
  when attribute7 is not null then  
  ...



и null/not null может быть что угодно и как угодно
...
Рейтинг: 0 / 0
multitable insert простой вопрос
    #39305245
Фотография SY
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
grok,

А доку покурить?

ALL
If you specify ALL, the default value, then the database evaluates each WHEN clause regardless of the results of the evaluation of any other WHEN clause. For each WHEN clause whose condition evaluates to true, the database executes the corresponding INTO clause list.

FIRST
If you specify FIRST, then the database evaluates each WHEN clause in the order in which it appears in the statement. For the first WHEN clause that evaluates to true, the database executes the corresponding INTO clause and skips subsequent WHEN clauses for the given row.

SY.
...
Рейтинг: 0 / 0
multitable insert простой вопрос
    #39305296
grok
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
SYgrok,

А доку покурить?

ALL
If you specify ALL, the default value, then the database evaluates each WHEN clause regardless of the results of the evaluation of any other WHEN clause. For each WHEN clause whose condition evaluates to true, the database executes the corresponding INTO clause list.

FIRST
If you specify FIRST, then the database evaluates each WHEN clause in the order in which it appears in the statement. For the first WHEN clause that evaluates to true, the database executes the corresponding INTO clause and skips subsequent WHEN clauses for the given row.

SY.

понял, спасибо
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / Oracle [игнор отключен] [закрыт для гостей] / multitable insert простой вопрос
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]