SA-MP Forums Archive
mysql queries for saving - 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 queries for saving (/showthread.php?tid=621580)



mysql queries for saving - MerryDeer - 12.11.2016

Hi,

When player disconnect i have a lot of stuff to safe, i have 10~15 seperate queries update, i think make fushion to 1-2 querie? but i need to create string like new string[ 50000 ]; can i update query with that lenght?


Re: mysql queries for saving - zPain - 12.11.2016

You can either write the big query into a file or create a stored procedure. There's also strcat, but I personally don't like it. I'd go with the stored procedure.


Re: mysql queries for saving - MerryDeer - 12.11.2016

But is there a limits for blueg mysql plugin, like what max lenght in query can by?