[sqlite] CURRENT_DATE, CURRENT_TIME and CURRENT_TIMESTAMP

2016-02-10 Thread Tony Papadimitriou
BTW, the following with xxx(current_date,date) as ( select '2000-01-01',current_date ) select *,current_date,date from xxx; outputs: current_date datecurrent_date date -- -- 2000-01-012016-02-10 2016-02-102016-02-10 As

[sqlite] CURRENT_DATE, CURRENT_TIME and CURRENT_TIMESTAMP

2016-02-10 Thread Eric Hill
Suggestion: Document the fact that CURRENT_DATE, CURRENT_TIME and CURRENT_TIMESTAMP are supported by SQLite on the Date And Time Functions page of the "SQL As Understood By SQLite" documentation. The only place you can currently find them is

[sqlite] Andl: choices for generic types: bool, binary, number/decimal, date/datetime, text/varchar

2016-02-10 Thread da...@andl.org
>>>Every SQLite database file has a text encoding that applies to the entire file: one of utf8, utf16be, or utf16le. The database text encoding is stored in the header. You can see the encoding for a particular database using: sqlite3 DATABASE.db .dbinfo >>>(NB: The ".dbinfo" command is

[sqlite] SQLite?

2016-02-10 Thread J D
Hello All: I am using SQLite on IPAD and want to Sync\replicate SQLite data\database to MySQL Server. Want to know better way to do that if anyone of you have worked on this kind of scenario. Any help is greatly appreciated. Thanking You in advance. ThanksRegardsJay

[sqlite] Andl: choices for generic types: bool, binary, number/decimal, date/datetime, text/varchar

2016-02-10 Thread David Bennett
>> If you do not know what type is _actually_ stored, call >> sqlite3_column_type() first. > > That looks like one call to get the type, a choice of 3 calls for > INTEGER, REAL or TEXT and a choice of 3 conversion/casts to get it to > the final type >>>If you want to get out a value for a

[sqlite] CURRENT_DATE, CURRENT_TIME and CURRENT_TIMESTAMP

2016-02-10 Thread Richard Hipp
On 2/10/16, Eric Hill wrote: > Suggestion: Document the fact that CURRENT_DATE, CURRENT_TIME and > CURRENT_TIMESTAMP are supported by SQLite on the Date And Time > Functions page of the "SQL > As Understood By SQLite" documentation. The only

[sqlite] Version 3.11.0 beta

2016-02-10 Thread Richard Hipp
The "Pre-release Snapshot" on the download page (https://www.sqlite.org/download.html) is very close to what will ultimately be released as SQLite version 3.11.0. A summary of changes can be seen at (https://www.sqlite.org/draft/releaselog/3_11_0.html). If you are able, please give the 3.11.0

[sqlite] Bug: Using custom function seems to not work on Universal App Platformv. 3.10.2.0 x86 build only

2016-02-10 Thread Artur Król
Thanks for Your response. I am using Cdecl calling convention in all dll import attributes (using parameter to set it). I found here: http://www.sqlite.org/cvstrac/wiki? p=SqliteWikiFaq that it is the right one. I tried to check all available calling conventions (Cdecl, StdCall, ThisCall,