just checking

Поиск
Список
Период
Сортировка
От postgresql
Тема just checking
Дата
Msg-id 200108221932.f7MJWrP11421@postgresql.org
обсуждение исходный текст
Список pgsql-sql
At times things seem just too easy, so I want to confirm that this is the 
correct syntax.

I am looking for the interval (aging) for these invoices. I guess I am 
concerned because I guessed at the syntax. Is there a better way to do 
this?

billdate is type 'date'

SELECT ('now'-billdate) FROM fcinvoiced WHERE client = 'smith';

Ted




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

Предыдущее
От: "Albert REINER"
Дата:
Сообщение: Re: How to execute a system file in procedure?
Следующее
От: Murray Hobbs
Дата:
Сообщение: protected ON DELETE CASCADE