You can use MERGE to implement your query for what your need.
Check some examples from MSDN:
http://msdn.microsoft.com/en-us/library/bb510625.aspx
No comments:
Post a Comment