Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can i put where clause in INSERT query if yes how
Posted
Comments
Shanalal Kasim 18-Nov-12 5:14am    
Provide more details
Nelek 18-Nov-12 5:24am    
It is possible, but if it makes sense or not, and how to use it... it depends on what you want/need to do. So please use the widget "improve question" and give a bit more information

1 solution

No: Insert is about adding records, so you can't insert based on existing records.
See: http://www.w3schools.com/sql/sql_insert.asp[^]
And: http://msdn.microsoft.com/en-us/library/ms174335.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900