Author |
Message |
Topic: Proper set/GetPersistentObject documentation ? |
Pyridon
Replies: 2
Views: 6369
|
Forum: Database related Posted: Mon Dec 19, 2005 19:04 Subject: Proper set/GetPersistentObject documentation ? |
I am trying to save objects to the database for the first time, and trying to use the Set/GetPersistentObject functions to do that.
The trouble is that there isn't any proper documentation for tho ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Thu Oct 13, 2005 7:16 Subject: SQLExecDirect & INSERT INTO not working |
Yeppers... I wasn't too concerned about the performance at this point, the most important thing was to get the whole thing working in the first place.
I'll add the unique key. Not that it's gonna m ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Wed Oct 12, 2005 21:40 Subject: SQLExecDirect & INSERT INTO not working |
*Pyridon pops a bottle of Champagne
It finally works ! Both select and insert work okay, AT LAST.
Now that the ice is broken, it's just work, work work...
Once again thanks for you all wh ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Wed Oct 12, 2005 21:10 Subject: SQLExecDirect & INSERT INTO not working |
EDIT: success at last ! I created the table without explicit autoincrement but with 3.2.7 client. The implicit autoincrement still works in 3.2.7, and FINALLY my module performed the select phrase cor ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Tue Oct 11, 2005 23:49 Subject: SQLExecDirect & INSERT INTO not working |
NWNX ODBC2 does nothing special to the SQL string. If it works in whatever program you use but not in NWN, there might be a version mismatch.
This isn't about the SQL string. It does not matter. What ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Sun Oct 09, 2005 20:55 Subject: SQLExecDirect & INSERT INTO not working |
It is a valid statement, but NOT for the table you listed!!!!
First, I don't understand why you speak of MySQL, as I stated I am using SQLite, not MySQL.
Second, I'm sorry, but it is a valid SQ ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Sun Oct 09, 2005 0:29 Subject: SQLExecDirect & INSERT INTO not working |
You have 6 columns in your database, your SQL statement only has 4 of them.....
With your INSERT statement you must account for all columns.
Do you mean NWNX does not support the fields listin ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Sat Oct 08, 2005 10:07 Subject: SQLExecDirect & INSERT INTO not working |
Gee, I found nwnx logfile. It states this:
o Got request: SELECT pcid FROM pcdata WHERE pubcdkey='XXXXXXXX' AND pcname='Fallon Woods';
! SQL Error: malformed database schema - near "AUTOINCREMENT" ... |
Topic: SQLExecDirect & INSERT INTO not working |
Pyridon
Replies: 21
Views: 35206
|
Forum: Database related Posted: Fri Oct 07, 2005 19:39 Subject: SQLExecDirect & INSERT INTO not working |
Okay, I am an NWNX noob, not so noob what comes to NWN scripting and databases. I am using SQLite and I made my own player data table and tried to insert into it, but that didn't succeed, and I don't ... |
|