Click here to Skip to main content
15,889,867 members
Home / Discussions / Database
   

Database

 
Questionconverting nvarchar to smalldatetime Pin
Lalit singh19-Oct-09 1:08
Lalit singh19-Oct-09 1:08 
AnswerRe: converting nvarchar to smalldatetime Pin
Ashfield19-Oct-09 1:18
Ashfield19-Oct-09 1:18 
GeneralRe: converting nvarchar to smalldatetime Pin
Lalit singh19-Oct-09 1:52
Lalit singh19-Oct-09 1:52 
GeneralRe: converting nvarchar to smalldatetime Pin
Ashfield19-Oct-09 8:45
Ashfield19-Oct-09 8:45 
GeneralRe: converting nvarchar to smalldatetime Pin
Lalit singh19-Oct-09 18:40
Lalit singh19-Oct-09 18:40 
GeneralRe: converting nvarchar to smalldatetime Pin
_Damian S_19-Oct-09 19:04
professional_Damian S_19-Oct-09 19:04 
GeneralRe: converting nvarchar to smalldatetime Pin
Ashfield19-Oct-09 20:56
Ashfield19-Oct-09 20:56 
GeneralRe: converting nvarchar to smalldatetime Pin
Lalit singh19-Oct-09 23:08
Lalit singh19-Oct-09 23:08 
You were correct there were dates in dd/mm/yyyy which were incorrect format according to ISDATE() function . So i converted it into mm/dd/yyyy format and it worked.

Now thing is that i just saved in date format only like '11/30/2009' but in table having column date (datatype smalldatetime) it stored like '11/30/2009 00:00:00.000'

I want to store only date (datatype=smalldatetime). Is there any way to store into sql server 2005 date column with date only excluding time.
GeneralRe: converting nvarchar to smalldatetime Pin
Ashfield20-Oct-09 1:54
Ashfield20-Oct-09 1:54 
GeneralRe: converting nvarchar to smalldatetime Pin
Lalit singh20-Oct-09 2:04
Lalit singh20-Oct-09 2:04 
AnswerRe: converting nvarchar to smalldatetime Pin
Luc Pattyn19-Oct-09 3:29
sitebuilderLuc Pattyn19-Oct-09 3:29 
GeneralRe: converting nvarchar to smalldatetime Pin
Richard MacCutchan19-Oct-09 4:47
mveRichard MacCutchan19-Oct-09 4:47 
AnswerRe: converting nvarchar to smalldatetime Pin
Mycroft Holmes19-Oct-09 14:31
professionalMycroft Holmes19-Oct-09 14:31 
Questionserver down Pin
baala.m18-Oct-09 17:24
baala.m18-Oct-09 17:24 
AnswerRe: server down Pin
Mycroft Holmes18-Oct-09 19:31
professionalMycroft Holmes18-Oct-09 19:31 
AnswerRe: server down Pin
scottgp19-Oct-09 3:06
professionalscottgp19-Oct-09 3:06 
QuestionOrder of evaluation for sub-queries Pin
Steve Holdorf18-Oct-09 9:52
Steve Holdorf18-Oct-09 9:52 
AnswerRe: Order of evaluation for sub-queries Pin
Not Active18-Oct-09 10:45
mentorNot Active18-Oct-09 10:45 
AnswerRe: Order of evaluation for sub-queries Pin
i.j.russell18-Oct-09 11:27
i.j.russell18-Oct-09 11:27 
GeneralRe: Order of evaluation for sub-queries Pin
Steve Holdorf18-Oct-09 13:03
Steve Holdorf18-Oct-09 13:03 
GeneralRe: Order of evaluation for sub-queries Pin
Mycroft Holmes18-Oct-09 15:00
professionalMycroft Holmes18-Oct-09 15:00 
GeneralRe: Order of evaluation for sub-queries Pin
i.j.russell18-Oct-09 22:31
i.j.russell18-Oct-09 22:31 
QuestionUnderstanding what an inner join query produces Pin
Steve Holdorf17-Oct-09 19:02
Steve Holdorf17-Oct-09 19:02 
AnswerRe: Understanding what an inner join query produces Pin
Mycroft Holmes17-Oct-09 20:50
professionalMycroft Holmes17-Oct-09 20:50 
AnswerRe: Understanding what an inner join query produces Pin
Eddy Vluggen18-Oct-09 0:52
professionalEddy Vluggen18-Oct-09 0:52 

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.