SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 enforce a constraint on a database level
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ConnieXujuan
Starting Member

48 Posts

Posted - 03/25/2012 :  19:31:07  Show Profile  Reply with Quote
Hi folks,

I was just wonder what contraints to use if I want add a contraint on a database level to make sure that there are no any other databases having the same name as an existing database?

Thanks a lot!

COnnie

ConnieXujuan
Starting Member

48 Posts

Posted - 03/25/2012 :  19:33:17  Show Profile  Reply with Quote
I meant on different servers....

Connie
Go to Top of Page

webfred
Flowing Fount of Yak Knowledge

Germany
8760 Posts

Posted - 03/26/2012 :  05:17:54  Show Profile  Visit webfred's Homepage  Reply with Quote
That's not possible...


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52309 Posts

Posted - 03/26/2012 :  13:12:00  Show Profile  Reply with Quote
wow...whats the need for this?
whats the issue of having same db in different servers?
we're having same copy of db in diferent servers like prod,qa etc

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/


Edited by - visakh16 on 03/26/2012 13:12:47
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000