How a function/procedure can be called inside a insert statement without command parameters. e.g.
Insert into myTable (....) values (1,2,mySP_or_mySDF, 3,4)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can also use
INSERT INTO... SELECTIf you want to
INSERTdata from a stored procedure, then you will need to create a temp table and insert the result into the temp table first, then you can use the result to insert into the final table.