Click here to Skip to main content
15,891,184 members
Home / Discussions / Database
   

Database

 
QuestionAlter table query issue Pin
Saira Tanwir14-Feb-07 5:59
Saira Tanwir14-Feb-07 5:59 
AnswerRe: Alter table query issue Pin
Elina Blank14-Feb-07 8:22
sitebuilderElina Blank14-Feb-07 8:22 
QuestionConnect VB.net 2005 with Sql Server 2000 "connection string" [modified] Pin
kindman_nb14-Feb-07 5:07
kindman_nb14-Feb-07 5:07 
AnswerRe: Connect VB.net 2005 with Sql Server 2000 "connection string" Pin
kubben16-Feb-07 6:13
kubben16-Feb-07 6:13 
Questionsearching using gridview Pin
Kunal P14-Feb-07 3:47
Kunal P14-Feb-07 3:47 
AnswerRe: searching using gridview Pin
John.L.Ponratnam14-Feb-07 20:11
John.L.Ponratnam14-Feb-07 20:11 
GeneralRe: searching using gridview Pin
Kunal P15-Feb-07 2:36
Kunal P15-Feb-07 2:36 
QuestionSQL DATETIME ..... Help!!!!! Pin
BooleanTrue14-Feb-07 1:39
professionalBooleanTrue14-Feb-07 1:39 
Hello!
I have tested this code in SQL Query Analyser:
--/////////////////////////////////////////////
CREATE TABLE TESTDATE(
T_ID INT NOT NULL PRIMARY KEY,
TDATE DATETIME
)
-- ///////////////////////////////////////////////////
INSERT INTO TESTDATE(T_ID,TDATE) VALUES(1,'12/07/2003')
INSERT INTO TESTDATE(T_ID,TDATE) VALUES(2,'13/07/2003')

First row is inserted correctly (with date '12/07/2003') but while inserting
second row with date '13/07/2003' it gives following error:
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
The statement has been terminated


My date is of formate DD/MM/YYYY but SQL Server is reading it as MM/DD/YY.
and not accepting 13 as a valid month.....

How can i resolve this problem?

colgateas900197

AnswerRe: SQL DATETIME ..... Help!!!!! Pin
Colin Angus Mackay14-Feb-07 1:43
Colin Angus Mackay14-Feb-07 1:43 
GeneralRe: SQL DATETIME ..... Help!!!!! Pin
BooleanTrue14-Feb-07 2:18
professionalBooleanTrue14-Feb-07 2:18 
AnswerRe: SQL DATETIME ..... Help!!!!! Pin
andyharman14-Feb-07 2:05
professionalandyharman14-Feb-07 2:05 
GeneralRe: SQL DATETIME ..... Help!!!!! Pin
BooleanTrue14-Feb-07 2:54
professionalBooleanTrue14-Feb-07 2:54 
AnswerRe: SQL DATETIME ..... Help!!!!! Pin
Harini N K21-Feb-07 22:13
Harini N K21-Feb-07 22:13 
QuestionPlease review and suggest Pin
logicon14-Feb-07 0:52
logicon14-Feb-07 0:52 
AnswerRe: Please review and suggest Pin
Pete O'Hanlon14-Feb-07 1:35
mvePete O'Hanlon14-Feb-07 1:35 
GeneralRe: Please review and suggest Pin
logicon14-Feb-07 1:40
logicon14-Feb-07 1:40 
GeneralRe: Please review and suggest Pin
Pete O'Hanlon14-Feb-07 1:49
mvePete O'Hanlon14-Feb-07 1:49 
GeneralRe: Please review and suggest Pin
logicon14-Feb-07 2:24
logicon14-Feb-07 2:24 
GeneralRe: Please review and suggest Pin
andyharman14-Feb-07 2:39
professionalandyharman14-Feb-07 2:39 
GeneralRe: Please review and suggest Pin
logicon14-Feb-07 2:58
logicon14-Feb-07 2:58 
Questioncase sensitive search Pin
Rocky#14-Feb-07 0:02
Rocky#14-Feb-07 0:02 
AnswerRe: case sensitive search Pin
andyharman14-Feb-07 0:09
professionalandyharman14-Feb-07 0:09 
GeneralRe: case sensitive search Pin
Rocky#14-Feb-07 17:40
Rocky#14-Feb-07 17:40 
AnswerRe: case sensitive search Pin
Pete O'Hanlon14-Feb-07 1:25
mvePete O'Hanlon14-Feb-07 1:25 
QuestionDatabase SqlServer2000 on Server Pin
sanaziuse13-Feb-07 22:34
sanaziuse13-Feb-07 22:34 

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.