Click here to Skip to main content
15,897,187 members
Home / Discussions / Database
   

Database

 
GeneralRe: Convert SQL datetime to just date Pin
Shahil Shah31-May-07 6:38
Shahil Shah31-May-07 6:38 
AnswerRe: Convert SQL datetime to just date Pin
Michael Potter31-May-07 9:45
Michael Potter31-May-07 9:45 
QuestionPlease Heeelp - connection error driving me crazy Pin
ComCoderCsharp31-May-07 4:11
ComCoderCsharp31-May-07 4:11 
AnswerRe: Please Heeelp - connection error driving me crazy Pin
Colin Angus Mackay31-May-07 4:17
Colin Angus Mackay31-May-07 4:17 
GeneralRe: Please Heeelp - connection error driving me crazy Pin
ComCoderCsharp31-May-07 5:07
ComCoderCsharp31-May-07 5:07 
GeneralRe: Please Heeelp - connection error driving me crazy Pin
Colin Angus Mackay31-May-07 8:13
Colin Angus Mackay31-May-07 8:13 
QuestionHow to check if a field already exists in a table Pin
SWDevil31-May-07 3:13
SWDevil31-May-07 3:13 
AnswerRe: How to check if a field already exists in a table Pin
Colin Angus Mackay31-May-07 4:14
Colin Angus Mackay31-May-07 4:14 
SWDevil wrote:
Is there an SQL statement to check if a field exists?


IF NOT EXISTS(SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'MyTableName' AND COLUMN_NAME = 'MyColumnName')
BEGIN
ALTER TABLE ....
END


Upcoming events:
* Glasgow: SQL Server 2005 - XML and XML Query Plans, Mock Objects, SQL Server Reporting Services...
* Reading: Developer Day 5

Never write for other people. Write for yourself, because you have a passion for it. -- Marc Clifton


My website

GeneralRe: How to check if a field already exists in a table Pin
SWDevil31-May-07 5:12
SWDevil31-May-07 5:12 
GeneralRe: How to check if a field already exists in a table Pin
Colin Angus Mackay31-May-07 8:14
Colin Angus Mackay31-May-07 8:14 
GeneralNormalising Single Table to Two Pin
Brady Kelly31-May-07 2:06
Brady Kelly31-May-07 2:06 
GeneralRe: Normalising Single Table to Two Pin
kubben31-May-07 2:34
kubben31-May-07 2:34 
GeneralRe: Normalising Single Table to Two Pin
Brady Kelly31-May-07 3:17
Brady Kelly31-May-07 3:17 
GeneralRe: Normalising Single Table to Two Pin
kubben31-May-07 3:23
kubben31-May-07 3:23 
GeneralRe: Normalising Single Table to Two Pin
Brady Kelly31-May-07 3:51
Brady Kelly31-May-07 3:51 
QuestionHow to Transfer SQl Database to a Cd and be Opened with SQl on the other side Pin
Vimalsoft(Pty) Ltd31-May-07 0:18
professionalVimalsoft(Pty) Ltd31-May-07 0:18 
AnswerRe: How to Transfer SQl Database to a Cd and be Opened with SQl on the other side Pin
Colin Angus Mackay31-May-07 1:40
Colin Angus Mackay31-May-07 1:40 
GeneralRe: How to Transfer SQl Database to a Cd and be Opened with SQl on the other side Pin
Vimalsoft(Pty) Ltd31-May-07 2:38
professionalVimalsoft(Pty) Ltd31-May-07 2:38 
GeneralRe: How to Transfer SQl Database to a Cd and be Opened with SQl on the other side Pin
Colin Angus Mackay31-May-07 4:15
Colin Angus Mackay31-May-07 4:15 
GeneralRe: How to Transfer SQl Database to a Cd and be Opened with SQl on the other side Pin
Vimalsoft(Pty) Ltd31-May-07 4:25
professionalVimalsoft(Pty) Ltd31-May-07 4:25 
QuestionSplit it Pin
The_Server31-May-07 0:10
The_Server31-May-07 0:10 
AnswerRe: Split it Pin
Tirthadip31-May-07 1:28
Tirthadip31-May-07 1:28 
AnswerRe: Split it Pin
Kirtan Gor31-May-07 1:40
Kirtan Gor31-May-07 1:40 
QuestionRe: Split it [modified] Pin
The_Server31-May-07 2:25
The_Server31-May-07 2:25 
AnswerRe: Split it Pin
Harini N K4-Jun-07 0:56
Harini N K4-Jun-07 0:56 

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.