SQL Commands..........?
I was just wondering if someone could tell me of an easier way of making a command that will insert multiple values at one time (one line) instead of multiple lines.
Here is an example of what I am asking for: Code:
Code:
Any and all help is greatly appreciated. (Yes, I have been searching on an answer on my own [when I can].) Thanks, Kingmen |
Assuming your values are all consecutive. then this seems to work:
Code:
set @listid = 700; PS: I had to google for how to do this (I'm not an SQL expert either :) ), code copied from here: http://www.java2s.com/Code/SQL/Proce...SimpleLOOP.htm |
VERY Nice. Thank you so much Derision... This worked like a charm :)
|
All times are GMT -4. The time now is 12:09 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.