Tutorials
Resources
Forum
Communities
Interview
Jobs
Projects
Offshore Development
Silverlight Tutorials
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Revenue Sharing
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
sabeer masthan
(58)
Abraham Kuriak...
(18)
Deepika Harida...
(13)
Last 7 Days
Deepika Harida...
(1202)
Pradeep Y
(1093)
Arun Jacob
(939)
more...
New Feature:
Community Sites
:
Create your own .NET community website and start earning from Google AdSense !
It's Free !
Check for existence of DB using SQL
Posted Date: 17 May 2008 Resource Type:
Code Snippets
Category:
SQL
Posted By:
mani kumar.k.m
Member Level:
Gold
Rating:
Points
: 10
--Check for existence of DB.sql
DECLARE @dbname varchar( 128 )
SELECT @dbname = 'tempdb' -- test db name
IF DB_ID( @dbname ) IS NOT NULL
PRINT 'DB Exists...'
ELSE
PRINT 'DB does not exist...'
Responses
No responses found. Be the first to respond and make money from
revenue sharing program
.
Feedbacks
Popular Tags
What are tags ?
Search Tags
Sign In
(No tags found.)
Post Feedback
This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must
Sign In
to post a response.
Next Resource:
How to find First Day Of The Current Month
Previous Resource:
How to get the name of the local server in SQL.
Return to Discussion Resource Index
Post New Resource
Category:
SQL
Post resources and
earn money
!
Related Resources
How to find second largest value from table
To retriev the first 10 records from table in sql server with out using top key word
Different ways of deleting duplicate records in a table.
Store & Retrieve images from SQL
How to Enable CLR integration in SQL Server 2005
dotNet Slackers
BizTalk Adaptors
Web Design
Help Desk
Contact Us
Privacy Policy
Terms Of Use