Pquery & Tquery
#1

Hi guys!

What's the difference between Pquery and Tquery ?

I read the wiki, but I still don't understand quite well. Can you give me some examples?

* EXTRA QUESTION

I saw Vince doing this in his tutorial for relations between Weapons and User ID

pawn Код:
mysql_format(userDB, mysqlquery, sizeof(mysqlquery), "INSERT INTO player_weapons VALUES (%d, %d, %d) ON DUPLICATE KEY UPDATE ammo = %d;", PlayerInfo[playerid][pSQLID], weaponid, ammo, ammo);
    mysql_pquery(userDB, mysqlquery); // parallel queries
Notice the semicolon ; at the end!
pawn Код:
ammo = %d;
I've never used the semicolon in SELECT querys or anywhere inside " "
Why he used that?

Regards!
Reply


Messages In This Thread
Pquery & Tquery - by Sime30 - 08.02.2015, 14:30
Re: Pquery & Tquery - by HazardouS - 08.02.2015, 14:56
Re: Pquery & Tquery - by Sime30 - 08.02.2015, 15:10
Re: Pquery & Tquery - by Sime30 - 08.02.2015, 20:57
Re: Pquery & Tquery - by PowerPC603 - 08.02.2015, 23:12
Re: Pquery & Tquery - by Sime30 - 08.02.2015, 23:24
Re: Pquery & Tquery - by PowerPC603 - 08.02.2015, 23:35
Re: Pquery & Tquery - by Sime30 - 08.02.2015, 23:40

Forum Jump:


Users browsing this thread: 3 Guest(s)