SA-MP Forums Archive
Quick Query - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Quick Query (/showthread.php?tid=243223)



Quick Query - Antonio [G-RP] - 22.03.2011

I need a quick mysql query that does the following:

Inserts into TABLE, FIELD, all numbers between 400 & 611.


Re: Quick Query - JamesC - 22.03.2011

Once again, this is not a "Can u script this for me?!" section. Learn SQL syntax, try write some code. If you run into a problem, Search. If the problem still exists, come back.


Re: Quick Query - Antonio [G-RP] - 22.03.2011

Thanks for that useless reply, I've already experimented, with many different syntax's, I wasn't able to come up with anything. I came here for help, so shut up if you aren't going to offer any.


Re: Quick Query - JamesC - 22.03.2011

You didn't ask for help, you practically asked for someone to do it for you.


Re: Quick Query - AK47317 - 22.03.2011

Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
Thanks for that useless reply, I've already experimented, with many different syntax's, I wasn't able to come up with anything. I came here for help, so shut up if you aren't going to offer any.
owned

ps: dont take heart i just kidding xD


Re: Quick Query - s0nic - 22.03.2011

All i could give you now is how to do it between the numbers
..You will have to put it together with your Insert into TABLE, FIELD thing cuz I just can't think right now since its late
Here is what i used to test(based on how my db is set):
Код:
SELECT id FROM players WHERE id BETWEEN 400 AND 611
Hopefully you can make it work..