How big query? (string size)?
#1

Hello, anyone who can explain me how big queries should be? example? How to know, how big string should i make?
Reply
#2

It depends on the size of your query. Length of strings really do vary on the data you're inserting.

pawn Код:
new qSz_UpdateCats[46];
format(qSz_UpdateCats, sizeof(qSz_UpdateCats), "UPDATE Cats SET Food = '1' WHERE CatID = '%d'", MAX_PLAYER_NAME);
= 45 characters + 1.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)