Quantcast
Channel: dual table postgres doesn't return timestamp - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Evan Carroll for dual table postgres doesn't return timestamp

Don't create dual tablesWhy are you using a dual table in PostgreSQL to begin with? PostgreSQL has an implicit dual table if there is no from-clause.SELECT now(); -- works fine.You can alsoSELECT *...

View Article



dual table postgres doesn't return timestamp

I am trying to select now() from my local postgres database dual table:select now() from dual;It returns no rows. Just prints column name now(yyyy-MM-dd HH:mm:ss.ffffff)What is it that I am missing...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images