Re: [SQL] datediff?

2002-10-27 Thread Josh Berkus
Erwin, > Thanks for your quick response Josh. > > I wasn't aware of the Postgresql-function DATEDIFF() > The accolade ' is not a problem of course! Whoops! Didn't want to confuse you. What I meant was, a PgSQL function "Datediff" could be easily *written*, except that it would need quoted id

Re: [SQL] datediff?

2002-10-27 Thread Josh Berkus
Erwin, > I read your FAQ: Working with Dates and Times in PostgreSQL with > interest > and was wondering if somebody came up with those datediff and dateadd > functions? > I couldn't find any at techdocs.postgresql.org. I know somebody worked on one. I take it you read the articles on SQL Server