| От | Duncan Kinder |
|---|---|
| Тема | set option question |
| Дата | |
| Msg-id | 04c101bf12ac$b255b720$02010101@duncan обсуждение исходный текст |
| Список | pgsql-sql |
I am going through The Practical SQL Handbook (Bowman, et al, Addison-Wesley, 1999), which at p. 416 begins to describe the SQL for a sample database used in this book. This sample was designed for Sybase SQLAnywhere, so there appear to be some differences between the book's SQL and Postgres' SQL. In particular: at p. 416, it contains the following SQL: set option date_format='Mmm dd yyyy hh:mmaa' set option date_order = 'MDY' set option scale = 2 when I enter these commands into Postgres, I get the following error: parser: parse error at or near "date_format". Similarly it generates errors for "date_order" and for "scale". What are the equivalent Postgres commands to effect this? Regards, Duncan C. Kinder dckinder@mountain.net
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера