how to get today date in YYYYMMDD in firebird, I had a look on following but could not figured how to write this.
This Should work.
CREATE TABLE tab( t time, d date, ts timestamp ); INSERT INTO tab(t,d,ts) VALUES ('14:59:23', '2007-12-31', '2007-12-31 14:59'); SELECT CAST(CAST(d as varchar(10))) FROM tab;