Raised This Month: $ Target: $400
 0% 

Question about SQLx


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 09-09-2008 , 12:16   Question about SQLx
Reply With Quote #1

I have a little problem with sql plugin (using <sqlx>)

My situation:
new Handle:query=SQL_PrepareQuery(sqlx,"Select `column1` from `db` where `column1`='111')

My Problem:if there is no query that contains 111(for example) i will get this:
Code:
L 09/30/2008 - 20:25:38: [MySQL] No result set in this query!
L 09/30/2008 - 20:25:38: [AMXX] Displaying debug trace (plugin "amx_hwid.amxx")
L 09/30/2008 - 20:25:38: [AMXX] Run time error 10: native error (native "SQL_FieldNameToNum")
L 09/30/2008 - 20:25:38: [AMXX]    [0] amx_hwid.sma::client_putinserver (line 80)
How i can avoid it? For example: if there is no query with 111, it will return in player's console that there is now 111(but not debug) and stops function.

Or what format of query request i should user?
thnx.
TheRadiance is offline
Send a message via ICQ to TheRadiance
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode