Afshar Mohebbi (afshar.mohebbi@gmail.com) writes:
[quoted text, click to view] > my question may be asked repeatedly before, but i couldn't find a
> straight answer for it.
>
> I simply want to run some scripts that creates tables and stored
> procedures through some command line tool so I can run them
> automatically.
>
> I am using SQL Server 2005 and SQL Server EXPRESS.
As an addition to Tibor's post, be sure to SQLCMD with the -I option
to turn on the QUOTED_IDENTIFIER setting which is required for some
functionality in SQL Server.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx Books Online for SQL Server 2000 at