What will be faster, MySQL or for loop?
#2

i think u need change
pawn Code:
SELECT `nick` FROM `TableTest` WHERE `id`=%d
To
pawn Code:
SELECT `nick` FROM `TableTest` WHERE `id`=%d LIMIT 1
and yes, maybe it's faster than loop :-/
Reply


Messages In This Thread
What will be faster, MySQL or for loop? - by PaSaSaP - 02.03.2015, 07:27
Re: What will be faster, MySQL or for loop? - by rickisme - 02.03.2015, 08:27
Re: What will be faster, MySQL or for loop? - by Vince - 02.03.2015, 09:11

Forum Jump:


Users browsing this thread: 1 Guest(s)