>> SQL Create Table - Line too Long! <<
#2

try use a string, try this
pawn Код:
new string[256];
format(string,256,"CREATE TABLE IF NOT EXISTS `Users` \
                                        ( `Nume` TEXT,\
                                          `IP` NUMERIC,\
                                          `Password` TEXT,\
                                          `Score` NUMERIC,\
                                          `Money` NUMERIC,\
                                          `VIPlevel` NUMERIC,\
                                          `AdminLevel` NUMERIC,\
                                          `JoinedOn` NUMERIC,\
                                          `Muted` NUMERIC,\
                                          `Frozen` NUMERIC,\
                                          `Warnings` NUMERIC,\
                                          `NameColor` CHARACTER,\
                                          `Kills` NUMERIC,\
                                          `Deaths` NUMERIC,\
                                          `Weapon1` NUMERIC,\
                                          `Weapon2` NUMERIC,\
                                          `Weapon3` NUMERIC,\
                                          `Weapon4` NUMERIC,\
                                          `Weapon5` NUMERIC,\
                                          `Weapon1Ammo` NUMERIC,\
                                          `Weapon2Ammo` NUMERIC,\
                                          `Weapon3Ammo` NUMERIC,\
                                          `Weapon4Ammo` NUMERIC,\
                                          `Weapon5Ammo` NUMERIC,\
                                          `Coins` NUMERIC )"
;
db_free_result( db_query( Database,string));
Reply


Messages In This Thread
>> SQL Create Table - Line too Long! << - by nGen.SoNNy - 14.03.2012, 17:43
Re: >> SQL Create Table - Line too Long! << - by mineralo - 14.03.2012, 17:46
Re: >> SQL Create Table - Line too Long! << - by nGen.SoNNy - 15.03.2012, 09:59
Re: >> SQL Create Table - Line too Long! << - by Richie© - 15.03.2012, 13:11
Re : >> SQL Create Table - Line too Long! << - by TuTh - 18.12.2012, 12:54
Re: >> SQL Create Table - Line too Long! << - by Roel - 18.12.2012, 13:13
Re : Re: >> SQL Create Table - Line too Long! << - by TuTh - 19.12.2012, 08:48
Re: >> SQL Create Table - Line too Long! << - by iggy1 - 19.12.2012, 11:12
Re: >> SQL Create Table - Line too Long! << - by ikey07 - 19.12.2012, 12:30
Re: >> SQL Create Table - Line too Long! << - by Roel - 19.12.2012, 13:13

Forum Jump:


Users browsing this thread: 3 Guest(s)