Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2006, 02:05 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to load the scripts into sqlserver



     I have the protal-sql-server.sql script . this script will be loaded into sqlserver..

            Any one help me how to load this script into sqlserver.. its urgent .If anyone knows pls mail me immediately to this id

 [email protected]

 
Old April 6th, 2006, 10:55 AM
Authorized User
 
Join Date: Mar 2006
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Praveen!

You can use it two ways -
[1] Command Line
[2] Query Analyser


[1] Command Line :
osql -Usa -Ppassword -Sserver -iprotal-sql-server.sql
OR
isqlw -Usa -Ppassword -Sserver -iprotal-sql-server.sql

I assume -
password : Your Password
server : Name of Server
sa : User Name (system admin here)

[2] Query Analyser :
Use Menu : File > Open
Then open the file would be open in a window. Use F5 to execute it.

I hope you must have got the point how to load a .SQL file in SQL Server.

Bye!










Similar Threads
Thread Thread Starter Forum Replies Last Post
Sql Scripts webnathan ASP.NET 1.0 and 1.1 Basics 2 November 16th, 2007 05:50 AM
SQLserver 2000 vs SQLserver 2005 Express cJeffreywang BOOK: Beginning ASP.NET 2.0 and Databases 0 April 22nd, 2007 09:52 AM
generating scripts g_vamsi_krish SQL Server 2000 2 March 8th, 2006 12:14 AM
Testing Scripts Daniel Acuff Javascript 0 September 7th, 2005 05:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.