↧
sql insert using a select and a static value
This is just for reference. I forgot the syntax already twice. The insert query does not work if you use parenthesis. create table test ( a int , b int) ; create table test1 ( c int) ; insert into...
View Articleselect time intervals in sql
consider the following example : CREATETABLE elem ( id INTEGER, name VARCHAR, num INTEGER);CREATETABLE proxy ( elem_id INTEGER, time_id INTEGER);CREATETABLETIME( id INTEGER,...
View Articlestorm, sqlite and string representation
Arghhh today I've discovered reading this bug report that specifying strings are RawStr() in strom, they are actually stored as blobs in sqlite3. The very bad side-effect is that string comparison does...
View Article