MySQL annotation? - 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 annotation? (
/showthread.php?tid=486890)
MySQL annotation? -
maramizo - 11.01.2014
Is it possible to create a comment inside a MySQL query?
Re: MySQL annotation? -
DobbysGamertag - 11.01.2014
Just tried it, apparently not. Since the query is a string.
Re: MySQL annotation? -
Scenario - 11.01.2014
Why would you need to do that, exactly?
Re: MySQL annotation? -
Sublime - 11.01.2014
Yep, you add comments before the query (but it gets removed while in query preparation process) though it's viewable in logs.
Re: MySQL annotation? -
tyler12 - 11.01.2014
You can use:
# comment
-- comment
/*
multi line
comment
*/