In SQL Server, we can omit ";" for SELECT, UPDATE, INSERT or DELETE statement, but it looks we cannot omit ";" in MERGE statement. SQL Server MERGE statement needs an explicit ";"(semi-colon) at the ...
insert into tblStudentSource values(1,'Michelle ORama','Freshman'); -- to be updated insert into tblStudentSource values(2,'Mike Ng','Freshman'); -- to be updated ...
BANGALORE, INDIA: In SQL Server 2008, you can perform insert, update, or delete operations in a single statement using the MERGE statement. MERGE statement allows you to join a data source with a ...