Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Running a script

0 views
Skip to first unread message

Jill

unread,
Nov 16, 2009, 4:39:40 AM11/16/09
to
How do I run a script that will make tables in sql server? Do I run it from
my browser? Or maybe go into Sql Server Management and go to query, and
paste it in there and run it?

Sign me - Clueless

Pre-thanks!

Balaji

unread,
Nov 16, 2009, 4:49:33 AM11/16/09
to
Hi,

Run the script from SQL Server Management Studio.

Regards, Balaji
"Jill" <jills...@kc.rr.com> wrote in message
news:DED86573-0D04-4E3E...@microsoft.com...

Jill

unread,
Nov 16, 2009, 4:59:23 AM11/16/09
to
Thanks, Balaji,

How do I do that? Do I just click on "new query" and then paste it in there
and then "execute"? It's for SS 2008.

"Balaji" <tbalaj...@gmail.com> wrote in message
news:ej2VYIqZ...@TK2MSFTNGP02.phx.gbl...

Balaji

unread,
Nov 16, 2009, 6:49:11 AM11/16/09
to
Start Management Studio
--> Connect to the SQL Server using a Windows Authenication
--> Open the script and execute it.

Regards, Balaji
"Jill" <jills...@kc.rr.com> wrote in message

news:Oc3mKOq...@TK2MSFTNGP04.phx.gbl...

Rick Byham, MSFT

unread,
Nov 16, 2009, 12:00:42 PM11/16/09
to
You may also be interested in running scripts from sqlcmd (or the older
osql). You can look those up in Books Online.
--
Rick Byham, MSFT
(Implies no warranty or rights)


"Balaji" <tbalaj...@gmail.com> wrote in message

news:OGHBPLr...@TK2MSFTNGP04.phx.gbl...

Lucas D

unread,
Nov 16, 2009, 6:31:45 PM11/16/09
to
Indeed, but be sure
1) to be connected to the right server (you can right click in the query
and chose "change connection"
2) to run the script on the right database (begin your script with
USE <nameDb>
GO


Lucas

0 new messages