How does PAWN deal with NULL returns from a MySQL database?
#4

Quote:
Originally Posted by Prostilov
Посмотреть сообщение
if the destination variable of the database field in question is a string, the string will contain NULL, and if it's an integer it will be 0?
If in the Database NULL is written and not '' then yes, then the string contains NULL

Quote:
Originally Posted by Prostilov
Посмотреть сообщение
If so, is there a way to differentiate 0 and NULL if we're talking about integers?
No, because it's the same.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)