abenitez77
IS-IT--Management
I have multiple values I want to insert into a table. I am building a query that will use parameters and I want to be able to insert multiple values.
table: users
column: username
parameter: @userlist
Set @userlist = 'bob,lucy,frank'
How can I insert these 3 users into users table using a query whithout knowing how many users will be added to the parameter userlist?
table: users
column: username
parameter: @userlist
Set @userlist = 'bob,lucy,frank'
How can I insert these 3 users into users table using a query whithout knowing how many users will be added to the parameter userlist?