USE [AdventureWorks]
GO
CREATE SCHEMA [HumanResources] AUTHORIZATION [dbo]
GOI want to create a schema using above script, executing it from C# code but I am not able to place GO in the next line because in string of C# code it comes with \n and give a syntax error , when GO continue with the same line the its again a syntax error for sql . Without Go satatement its again giving an error that
'CREATE SCHEMA' must be the first statement in a query batch.How can I solve this problem.Waiting for the reply .Thanks in advance.