Click here to Skip to main content
15,892,965 members
Home / Discussions / Database
   

Database

 
AnswerRe: writing a query to find table entries that have no records in related table Pin
CitrusTech13-May-10 20:44
CitrusTech13-May-10 20:44 
QuestionProblem with SET and SELECT (to assign a local variable) Pin
dlarkin7713-May-10 4:52
dlarkin7713-May-10 4:52 
AnswerRe: Problem with SET and SELECT (to assign a local variable) Pin
Corporal Agarn13-May-10 6:20
professionalCorporal Agarn13-May-10 6:20 
GeneralRe: Problem with SET and SELECT (to assign a local variable) Pin
dlarkin7713-May-10 6:22
dlarkin7713-May-10 6:22 
Questioncreate database, which parameter Pin
luccingolo13-May-10 2:52
luccingolo13-May-10 2:52 
AnswerRe: create database, which parameter Pin
Corporal Agarn13-May-10 4:09
professionalCorporal Agarn13-May-10 4:09 
GeneralRe: create database, which parameter Pin
luccingolo13-May-10 5:57
luccingolo13-May-10 5:57 
GeneralRe: create database, which parameter Pin
Corporal Agarn13-May-10 6:17
professionalCorporal Agarn13-May-10 6:17 
Okay, by right clicking on a database in SSMS you can select "Script Database as" then select "DROP to" you can then find that you are looking for sys.databases

As this looks like .NET code you may not have access to SSMS so here is an T-SQL example:
IF  EXISTS (SELECT name FROM sys.databases WHERE name = N'MyDatabase')
DROP DATABASE [MyDatabase]

GeneralRe: create database, which parameter Pin
luccingolo13-May-10 6:53
luccingolo13-May-10 6:53 
GeneralRe: create database, which parameter Pin
Corporal Agarn13-May-10 7:01
professionalCorporal Agarn13-May-10 7:01 
GeneralRe: create database, which parameter Pin
luccingolo13-May-10 7:14
luccingolo13-May-10 7:14 
QuestionWPF cascaded combo Pin
bindum3112-May-10 20:08
bindum3112-May-10 20:08 
AnswerRe: WPF cascaded combo Pin
Michael J. Eber13-May-10 10:39
Michael J. Eber13-May-10 10:39 
AnswerRe: WPF cascaded combo Pin
Michael J. Eber13-May-10 12:07
Michael J. Eber13-May-10 12:07 
Questionhow to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit12-May-10 20:04
developerit12-May-10 20:04 
AnswerRe: how to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit14-May-10 22:28
developerit14-May-10 22:28 
QuestionOS dependency with Interbase database 6.0 driver? Pin
navneet.professional12-May-10 19:57
navneet.professional12-May-10 19:57 
AnswerRe: OS dependency with Interbase database 6.0 driver? Pin
Henry Minute13-May-10 1:48
Henry Minute13-May-10 1:48 
QuestionHow to use CLongBinary to store image of size > 64 KB with Interbase Database 6.0 driver Pin
navneet.professional12-May-10 19:50
navneet.professional12-May-10 19:50 
QuestionNot Equal to Question/Problem Pin
djhankypark12-May-10 6:09
djhankypark12-May-10 6:09 
AnswerRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 6:23
J4amieC12-May-10 6:23 
AnswerRe: Not Equal to Question/Problem Pin
David Skelly12-May-10 6:24
David Skelly12-May-10 6:24 
GeneralRe: Not Equal to Question/Problem Pin
PIEBALDconsult12-May-10 18:21
mvePIEBALDconsult12-May-10 18:21 
AnswerRe: Not Equal to Question/Problem Pin
Chris Meech12-May-10 6:38
Chris Meech12-May-10 6:38 
GeneralRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 21:49
J4amieC12-May-10 21:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.