Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)

Поиск
Список
Период
Сортировка
От sachin kotwal
Тема Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)
Дата
Msg-id 1372333876253-5761390.post@n5.nabble.com
обсуждение исходный текст
Ответ на Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)  (sachin kotwal <kotsachin@gmail.com>)
Ответы Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)  (Raymond O'Donnell <rod@iol.ie>)
Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
I have done some more try as follows:

#select timestamp(current_date);
ERROR:  syntax error at or near "current_date" at character 18
STATEMENT:  select timestamp(current_date);
ERROR:  syntax error at or near "current_date"
LINE 1: select timestamp(current_date);
======================================================

#SELECT TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'));
ERROR:  syntax error at or near "to_date" at character 18
STATEMENT:  SELECT TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'));
ERROR:  syntax error at or near "to_date"
LINE 1: SELECT TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'));
======================================================

select timestamp(current_date,current_time);
ERROR:  syntax error at or near "current_date" at character 18
STATEMENT:  select timestamp(current_date,current_time);
ERROR:  syntax error at or near "current_date"
LINE 1: select timestamp(current_date,current_time);
======================================================

#SELECT TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'),'17:15:43'::time);
ERROR:  syntax error at or near "to_date" at character 18
STATEMENT:  SELECT
TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'),'17:15:43'::time);
ERROR:  syntax error at or near "to_date"
LINE 1: SELECT TIMESTAMP(to_date('2013-01-01','YYYY-MM-DD'),'17:15:4...



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Migration-from-DB2-to-PostgreSQL-TIMESTAMP-arg1-arg1-tp5761389p5761390.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


В списке pgsql-general по дате отправления:

Предыдущее
От: sachin kotwal
Дата:
Сообщение: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)