victory_in
asked on
INSERT Statement by using SELECT
Hello gentlemen,
I've emp table. By using "SELECT statement, I need to create a INSERT statement for this. How do I do that?In other words I've 10 records in EMP table.I need to create INSERT statement using those values.
I need 10 insert statement becuase there is 10 records in the table. Make sense....
Thank you so much
Victor
I've emp table. By using "SELECT statement, I need to create a INSERT statement for this. How do I do that?In other words I've 10 records in EMP table.I need to create INSERT statement using those values.
I need 10 insert statement becuase there is 10 records in the table. Make sense....
Thank you so much
Victor
>I need 10 insert statement becuase there is 10 records in the table
as you see from above suggestion, you will need 1 INSERT statement to copy all 10 records at 1 time...
as you see from above suggestion, you will need 1 INSERT statement to copy all 10 records at 1 time...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sujith and Nav you both are right. thanks for your help. Will share the ponits.
Thanks
--Victor
Thanks
--Victor
SELECT field1, field2...
FROM emp;