dbTalk Databases Forums  

SQL 2005 New Instance

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss SQL 2005 New Instance in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TomDefenderHopeful
 
Posts: n/a

Default SQL 2005 New Instance - 02-01-2010 , 09:09 PM






I have windows 2003 SR2 Standard Server running My SQL 2005 SP3

I have a production database lets call it prod I also have a test database
which has the same data and prod1 I would like to have the same database name
on the same sql server this will make my web dev which accesses this database
easier.
Can I have two datebases on the same sql server with the same name? Can I do
this if I create a second instaance? If so I never used a second instance
does any one have the procedure to do so.

Thanks

Tom

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL 2005 New Instance - 02-02-2010 , 02:20 AM






TomDefenderHopeful (TomDefenderHopeful (AT) discussions (DOT) microsoft.com) writes:
Quote:
I have windows 2003 SR2 Standard Server running My SQL 2005 SP3

I have a production database lets call it prod I also have a test
database which has the same data and prod1 I would like to have the same
database name on the same sql server this will make my web dev which
accesses this database easier.
Can I have two datebases on the same sql server with the same name?
Within the same instance, the database name must be unique.

Quote:
Can I do this if I create a second instaance?
Two instances are completely unrelated, so, yes, you have have a database
called Fritz on both instances.

However, I'm not sure that I see the point. Somewhere in the web
application you will need to have a configuration that decides whether you
are working against production or test. If you have two instances, you
will need to change the server name in the connection string. To wit, if
you have a second instance on the same box, it is a named instance and is
addressed as SERVER\INSTANCE.

Quote:
If so I never used a second instance does any one have the procedure to
do so.
You simply run SQL Server Setup. It will ask you whether to upgrade an
existing instance or install a new. Don't forget to apply service pack 3
on the new instance.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.