Hi
we're using the SQL library and Connection.CreateSQLTable to create a SQLite database and tables dynamically at runtime - this works fine.
However, when we use database administration software of any kind to edit the database contents something very strange happens. If we change the value of one field for one record in the main table all records in the table for that field are changed to the same value!
Why is this? If we do the same thing with a database created manually it all works as expected but the dynamically created one seems to run an update query across the entire column instead of just changing the value of the row/field in question.
Any ideas? Are we doing something wrong when we create the database using the Connection object?
we're using the SQL library and Connection.CreateSQLTable to create a SQLite database and tables dynamically at runtime - this works fine.
However, when we use database administration software of any kind to edit the database contents something very strange happens. If we change the value of one field for one record in the main table all records in the table for that field are changed to the same value!
Why is this? If we do the same thing with a database created manually it all works as expected but the dynamically created one seems to run an update query across the entire column instead of just changing the value of the row/field in question.
Any ideas? Are we doing something wrong when we create the database using the Connection object?