How do you execute a .sql file in MS SQL Query Analyzer
I have a file called "test.sql" that is located on my C: Drive. I opened up MS SQL and opened Query Analyzer. How do I tell the Query Analyzer to execute the file "test.sql"? I tried entering "C:\test.sql" in the analyzer but I got the error message: Syntax error at \.