aman deep

aman deep

  • NA
  • 57
  • 19.5k

"Incorrect Syntex Near GO"

Jul 1 2017 5:53 AM
Why i am Getting Errror  Near Go. Below Is my Query 
-----------
string Qry = "USE master\n"+
"GO\n"+
"ALTER DATABASE STDMGMT\n"+
"SET SINGLE_USER\n"+
"WITH ROLLBACK IMMEDIATE\n"+
"GO\n"+
"RESTORE DATABASE STDMGMT FROM DISK = '"+Bak+"'\n"+
"GO";
--------------------------------------- 

Answers (1)