1 2 3 4 5 6 7 8 9 10 11 12 13
|
Data Source=DATA.db; Version=3;
code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
near "FOREIGN": syntax error
à System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
à System.Data.SQLite.SQLiteCommand.BuildNextCommand()
à System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
à System.Data.SQLite.SQLiteDataReader.NextResult()
à System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
à System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
à System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(CommandBehavior behavior)
à System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
à NSqlTSharp.CreateDatabaseAndTable.SqlCreateTable(String sql) dans C:\Users\Xerox\Documents\Devcpp\dev_visual_studio\Database\CreateTable.cs:ligne 67 |