Database SQLite problems.
#1

Код:
new ClanString[ 3000 ];
    strcat( ClanString, "CREATE TABLE IF NOT EXISTS `gangs`", 3000);
    strcat( ClanString, "(`id` INT PRIMARY KEY,\
						  `name` TEXT, \
						  `owner` TEXT, \
						  `members` NUMERIC, \
						  `SpawnX` FLOAT, \
						  `SpawnY` FlOAT, \
						  `SpawnZ` FLOAT, \
						  `SpawnA` FLOAT, \
						  `Skin` NUMERIC, \
						  `BossSkin` NUMERIC, \
						  `Weap1` NUMERIC, \
						  `Weap2` NUMERIC, \
						  `Weap3` NUMERIC,", 3000);
	strcat( ClanString, "`Weap4 NUMERIC, \
						 `Weap5` NUMERIC, \
						 `Weap6` NUMERIC, \
						 `Kills` NUMERIC, \
						 `Deaths` NUMERIC, \
						 `Color` NUMERIC);", 3000);
db:Query( gDB, ClanString );
This is the database, but when i run the server it don't create, and i don't know why ... ?
Reply


Messages In This Thread
Database SQLite problems. - by Edvin - 15.01.2012, 14:09
Re: Database SQLite problems. - by Edvin - 15.01.2012, 14:18
Re: Database SQLite problems. - by Edvin - 15.01.2012, 15:33
Re: Database SQLite problems. - by PowerMix - 16.01.2012, 11:54
Re: Database SQLite problems. - by thimo - 16.01.2012, 11:57
Re: Database SQLite problems. - by Edvin - 16.01.2012, 12:36

Forum Jump:


Users browsing this thread: 1 Guest(s)