Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: KrOoB_ on Aug 15, 2018, 02:54 AM

Title: Convert mysql to sql
Post by: KrOoB_ on Aug 15, 2018, 02:54 AM
"mysql_fetch_assoc" How do I convert this to SQL?

mysql_query = QuerySQL ??

mysql_num_rows = GetSQLColumnData ??

mysql_fetch_assoc = GetSQLColumnCount  ???
Title: Re: Convert mysql to sql
Post by: Xmair on Aug 15, 2018, 05:27 PM
mysql_query = QuerySQL;
mysql_num_rows = GetSQLColumnCount;
mysql_fetch_assoc doesn't exist in SQL iirc, so use GetSQLColumnData.

If I'm wrong I'd love to be corrected since I haven't used SQLite in quite a while.