SA-MP Forums Archive
[mySQL] Question. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [mySQL] Question. (/showthread.php?tid=320210)



[mySQL] Question. - ttloko2 - 22.02.2012

hi guys i made a vehicle filterscript but when i want to show the data i stored, which were 13 fields, since mysql line command is too short it cant show me all fields, do you know any way to see ALL the fields?


Re: [mySQL] Question. - coole210 - 22.02.2012

Код:
SELECT * FROM table



Re: [mySQL] Question. - ttloko2 - 22.02.2012

Im not asking how to show it, i mean i have too much fields and mysql comand line doesnt show all of them.


Re: [mySQL] Question. - JamesC - 22.02.2012

Use phpMyAdmin / Other MySQL DB Manager.


Re: [mySQL] Question. - thimo - 22.02.2012

Use different tables to show all


Re: [mySQL] Question. - coole210 - 22.02.2012

You could increase the string size of your query variable.

pawn Код:
new Query[2000];
Some queries just need more string size. (Such as object loading from db)


Re: [mySQL] Question. - ttloko2 - 22.02.2012

@coole210 - you only use query sizes when you are inputting a string into you DB.
@JamesC - I will try MyPHPAdmin Thanks.


Re: [mySQL] Question. - coole210 - 22.02.2012

No.. You are selecting something from the database, you need a string that can fit the output of the query and show info.