
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
30.08.2005, 18:55
|
|||
|---|---|---|---|
|
|||
date+time=datetime |
|||
|
#18+
Как сцепить дату и время чтобы на выходе было datetime? Пишу так: date_call-дата time_call-время select cast(date_call as datetime year to day) , cast(time_call as datetime hour to second) from table Есть желание их сцепить и получить datetime например так: select cast(cast(date_call as datetime year to day) + cast(time_call as datetime hour to second) as datetime year to second) from table Но так ошибку даёт. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
31.08.2005, 10:55
|
|||
|---|---|---|---|
|
|||
date+time=datetime |
|||
|
#18+
Rumata EstorskiyКак сцепить дату и время чтобы на выходе было datetime? Пишу так: date_call-дата time_call-время select cast(date_call as datetime year to day) , cast(time_call as datetime hour to second) from table Есть желание их сцепить и получить datetime например так: select cast(cast(date_call as datetime year to day) + cast(time_call as datetime hour to second) as datetime year to second) from table Но так ошибку даёт. Попробуй: extend(date_call, year to second) + (time_call - extend('00:00:00', hour to second)) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=44&mobile=1&tid=1608931]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
60ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
| others: | 221ms |
| total: | 356ms |

| 0 / 0 |
