I am new to SQL 2005
I want to know how to run a .sql file someone gave me to create a new
database. Where is the command or gui to do this.
Thanks
NEBIE
Hi,
From SQL Server 2005 program groups; open SQL Server Management Studio..
Connect to SQL Server..Open a Query window...
Oprn the .SQL file and press execute or press F5 to execute the SQL File.
Otherwise from command prompt using SQLCMD you could use -ic:\file.SQL to
execute the SQL file
Thanks
Hari
"frogman7" <frogman7@.googlemail.com> wrote in message
news:1160363466.452205.98690@.b28g2000cwb.googlegro ups.com...
>I am new to SQL 2005
> I want to know how to run a .sql file someone gave me to create a new
> database. Where is the command or gui to do this.
>
> Thanks
> NEBIE
>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment