|
|
|
Один запрос вместо двух
|
|||
|---|---|---|---|
|
#18+
Народ подскажите. Мне надо из одной таблицы данные в другую перекинуть и узнать сколько строк я перекинул. Двумя запросами легко: select count(*) into count_of_row from tb1 where tb1.date_time < threshold_value; insert into tb2 select * from tb1 where tb1.date_time < threshold_value; Подскажите как одним. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.05.2003, 18:00:35 |
|
||
|
|

start [/forum/topic.php?fid=52&gotonew=1&tid=1990377]: |
0ms |
get settings: |
5ms |
get forum list: |
11ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
197ms |
get topic data: |
9ms |
get first new msg: |
6ms |
get forum data: |
3ms |
get page messages: |
40ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 480ms |

| 0 / 0 |
