Click here to Skip to main content
15,881,882 members
Home / Discussions / Database
   

Database

 
QuestionJoining Tables Pin
Greeky23-Oct-05 21:53
Greeky23-Oct-05 21:53 
AnswerRe: Joining Tables Pin
miah alom24-Oct-05 4:54
miah alom24-Oct-05 4:54 
QuestionUsing where clause with .CSV files Pin
Adeel68823-Oct-05 19:15
Adeel68823-Oct-05 19:15 
QuestionADO SECURITY WARNING! Pin
delnaz23-Oct-05 6:52
delnaz23-Oct-05 6:52 
QuestionADO WARNING SECURITY Pin
delnaz23-Oct-05 0:10
delnaz23-Oct-05 0:10 
AnswerRe: ADO WARNING SECURITY Pin
S Douglas7-Nov-05 23:03
professionalS Douglas7-Nov-05 23:03 
Questionmysql query browser (newbie) - running multiple queries Pin
tjawed22-Oct-05 8:50
tjawed22-Oct-05 8:50 
AnswerRe: mysql query browser (newbie) - running multiple queries Pin
dabuskol23-Oct-05 19:52
dabuskol23-Oct-05 19:52 
-- =============================================
-- Create table basic template
-- =============================================
IF EXISTS(SELECT name <br />
	  FROM 	 sysobjects <br />
	  WHERE  name = N'<table_name, sysname, test_table>' <br />
	  AND 	 type = 'U')<br />
    DROP TABLE <table_name, sysname, test_table><br />
GO<br />
<br />
CREATE TABLE <table_name, sysname, test_table> (<br />
<column_1, sysname, c1> <datatype_for_column_1, , int> NULL, <br />
<column_2, sysname, c2> <datatype_for_column_2, , int> NOT NULL)<br />
GO


I beleive you cannot drop or create two table in 1 statement.
Try the template above.
QuestionTutotial Link[modified] Pin
ddmcr22-Oct-05 3:39
ddmcr22-Oct-05 3:39 
AnswerRe: Tutotial Link Pin
Stanciu Vlad22-Oct-05 7:51
Stanciu Vlad22-Oct-05 7:51 
GeneralRe: Tutotial Link Pin
ddmcr22-Oct-05 10:31
ddmcr22-Oct-05 10:31 
QuestionDeleting duplicate rows based on timestamps ? Pin
Aditi48422-Oct-05 2:23
Aditi48422-Oct-05 2:23 
AnswerRe: Deleting duplicate rows based on timestamps ? Pin
dabuskol23-Oct-05 19:39
dabuskol23-Oct-05 19:39 
GeneralRe: Deleting duplicate rows based on timestamps ? Pin
Aditi48423-Oct-05 21:29
Aditi48423-Oct-05 21:29 
QuestionSQL datediff Pin
dabuskol22-Oct-05 0:14
dabuskol22-Oct-05 0:14 
AnswerRe: SQL datediff Pin
Colin Angus Mackay23-Oct-05 5:55
Colin Angus Mackay23-Oct-05 5:55 
GeneralRe: SQL datediff Pin
dabuskol23-Oct-05 19:36
dabuskol23-Oct-05 19:36 
GeneralRe: SQL datediff Pin
Colin Angus Mackay23-Oct-05 20:34
Colin Angus Mackay23-Oct-05 20:34 
QuestionNeed a bit of an advice... Pin
Stanciu Vlad21-Oct-05 23:16
Stanciu Vlad21-Oct-05 23:16 
AnswerRe: Need a bit of an advice... Pin
André Ziegler22-Oct-05 4:51
André Ziegler22-Oct-05 4:51 
QuestionRe: Need a bit of an advice... Pin
Stanciu Vlad22-Oct-05 7:31
Stanciu Vlad22-Oct-05 7:31 
AnswerRe: Need a bit of an advice... Pin
Colin Angus Mackay23-Oct-05 6:02
Colin Angus Mackay23-Oct-05 6:02 
QuestionRe: Need a bit of an advice... Pin
Stanciu Vlad24-Oct-05 6:11
Stanciu Vlad24-Oct-05 6:11 
QuestionUnicode with Sql server 2000 Pin
TheOnlyFalcon21-Oct-05 15:13
TheOnlyFalcon21-Oct-05 15:13 
AnswerRe: Unicode with Sql server 2000 Pin
Anonymous21-Oct-05 22:04
Anonymous21-Oct-05 22:04 

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.