Posts: 716
Threads: 92
Joined: May 2018
pawn Code:
mysql_tquery(g_SQL, "INSERT INTO `drugpoints`", "OnDrugPointCreated", "d", i);
What's wrong in this sql query? i'm getting syntax error.
Posts: 716
Threads: 92
Joined: May 2018
Quote:
Originally Posted by Banditul18
|
Thank you but that doesn't help me. Do you mind tell me what's wrong with my query?
Posts: 716
Threads: 92
Joined: May 2018
I dont need to add any values. Just the OnDrugPointCreated...
Posts: 408
Threads: 40
Joined: Nov 2014
Reputation:
0
You can always make all the colums in the that table have defaults values(so querry will not fail) and make that query acording to the corect syntax(maybe inserting a default value)
Posts: 716
Threads: 92
Joined: May 2018
I can't make default values since are connected to a dynamic drug point system. Can you please help me and show me how to fix this query? Thanks.
Posts: 716
Threads: 92
Joined: May 2018
Fixed. At the end i setup interior default value to 0.