sqlite - EXTRACT for TIMESTAMP types in SQLite3 -


It seems that extract function is not supported for timestamp types by SQLite3 (). for example;

  Select year from LAIER (year with L_ShipDate) ... ...  

returns the following error; Error: Near "From": Syntax Error

I wonder if SQLite3 has an alternate way of doing this (or by typing the SQL query again).

Thanks in advance,

/ P>

try it

< Pre> select l_year as strftime ('% Y', l_shipdate) ...

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -