Hi all I was just curious if I could do something like –
insert into Employee ( Select * from Employee where EmployeeId=1)
I just felt the need to do this a lot of times…so just was curious if there was any way to achieve it..
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 do something like that, but you cannot
Select *if you want to change a column value:This would insert
2as your newemployeeId.