Date Interval
| От | Magdalena Komorowska |
|---|---|
| Тема | Date Interval |
| Дата | |
| Msg-id | 20051206135906.ECA9713E35@spinet.pl обсуждение исходный текст |
| Ответы |
Re: Date Interval
Re: Date Interval |
| Список | pgsql-sql |
Hi, I hale a problem with counting interwal and I can't find what to do with this. I have two fields in the table: Column | Type | Modifiers -----------------+---------+-----------date_in | date |interwal_months | numeric | -----------------+---------+----------- Query SELECT date_in + INTERVAL '3 MONTH' FROM any_table works fine of course. However, how to do something like that? SELECT date_in + INTERVAL ' interwal_months MONTH' FROM any_table I hope I'm just blind.. ;-) Thanks for any help. MK
В списке pgsql-sql по дате отправления: