Can i make multiple inserts into a table using one statement.
the statement:
INSERT INTO table1 (UserName) VALUES (SELECT DISTINCT UserName FROM
table2)
Basically, i want to take out all the UserNames from table2 and insert
them into table1.
It doesnt work, why?
Thanks Wes
the statement:
INSERT INTO table1 (UserName) VALUES (SELECT DISTINCT UserName FROM
table2)
Basically, i want to take out all the UserNames from table2 and insert
them into table1.
It doesnt work, why?
Thanks Wes
Comment