I browser a lot about multi-row inserts and I only find stuff like:INSERT INTO MyTable (FirstCol, SecondCol)SELECT 'First' , 1UNION ALLSELECT 'Second' , 2UNION ALLSELECT 'Third' , 3
It doesn't solve my problem if I have to insert some 1000 rows selecting data from a function [getdate()], static ['string'] and also from another table. In this case I would have to write 1000 lines - impactical. I tried the following but it doesn't seem to work:INSERT INTO MyTable3 ([column_1] ,[column_2] ,[column_3]) SELECT (SELECT Table2.Col6 -- there are many values in this subquery. FROM Table2, Table1 -- I get the error "Subquery returned WHERE (Table2.Col8 = Table1.Col7)) -- more than 1 value." ,'I love you people from SQL Team.com' ,getdate() FROM usuario, usuario_disciplina