View previous topic :: View next topic |
Author |
Message |
hermyt
Joined: 12 Dec 2005 Posts: 2
|
Posted: Mon Dec 12, 2005 21:04 Post subject: SQLite setup for Talus problem |
|
|
Trying to setup Talus package for nwnx2 using sqlite but the create statements are giving me some problems. I've modified it so most of the tables create but I'm having some problems on one and figured I'd see if anyone knew a quick solution, here's my log for that create table statement.
o Got request: CREATE TABLE lds_resref_lookup ( name varchar(100) NOT NULL default '', resref varchar(17) NOT NULL default '', PRIMARY KEY (name), KEY idx_lds_resref_lookup (name) )
! SQL Error: near "KEY": syntax error
So from that I gather that the error is the KEY field type and I've checked the syntax on sqlite and didn't find a reference to it being used, should I be chucking it into primary key? and I'm not sure exactly how to do it, do I make it a primary key named idx_lds_resref_lookup? or what?
Any ideas? |
|
Back to top |
|
|
Lanthar D'Alton
Joined: 10 Feb 2005 Posts: 100
|
Posted: Tue Dec 13, 2005 5:33 Post subject: which version? |
|
|
which version of the system are you using? Just making sure you know about newer versions available...
Version 3.05b
As for the statement... I'm not sure how SQLLite create syntax works... but that index isn't really that necessary. Just leave the index off if nothing else.
-Lanthar |
|
Back to top |
|
|
hermyt
Joined: 12 Dec 2005 Posts: 2
|
Posted: Tue Dec 13, 2005 11:28 Post subject: think I'm gunna bite the bullet |
|
|
I did dl the newest ver (today went to your site and grabbed it)
But for a random quest generator I was working on I was monkeying with changin values in the db using their control center interface and man it sucks. I'm just gunna scrap it and setup mysql, thats what I get for being lazy and saving 1/2 hr.
Thanks for the help though Lanthar, appreciate it.
HerMyT |
|
Back to top |
|
|
darwinscusp
Joined: 19 Jan 2005 Posts: 19
|
Posted: Wed Dec 14, 2005 3:28 Post subject: broken link? |
|
|
Hmmm, link seems broken Lanthar. |
|
Back to top |
|
|
Lanthar D'Alton
Joined: 10 Feb 2005 Posts: 100
|
Posted: Thu Dec 15, 2005 1:30 Post subject: oops |
|
|
I always forget to set the file permission
-Lanthar |
|
Back to top |
|
|
|