Click here to Skip to main content
15,886,794 members
Home / Discussions / Database
   

Database

 
AnswerRe: SSIS OleDB or ADO.NET Pin
PIEBALDconsult8-Jun-12 3:44
mvePIEBALDconsult8-Jun-12 3:44 
Questionsql Date conversion not working in sql 2000 Pin
Robymon7-Jun-12 22:12
Robymon7-Jun-12 22:12 
AnswerRe: sql Date conversion not working in sql 2000 Pin
Bernhard Hiller7-Jun-12 22:41
Bernhard Hiller7-Jun-12 22:41 
AnswerRe: sql Date conversion not working in sql 2000 Pin
Corporal Agarn8-Jun-12 1:30
professionalCorporal Agarn8-Jun-12 1:30 
AnswerRe: sql Date conversion not working in sql 2000 Pin
Simon_Whale8-Jun-12 4:43
Simon_Whale8-Jun-12 4:43 
GeneralRe: sql Date conversion not working in sql 2000 Pin
Corporal Agarn8-Jun-12 4:44
professionalCorporal Agarn8-Jun-12 4:44 
AnswerRe: sql Date conversion not working in sql 2000 Pin
Eddy Vluggen8-Jun-12 1:51
professionalEddy Vluggen8-Jun-12 1:51 
AnswerRe: sql Date conversion not working in sql 2000 Pin
Luc Pattyn8-Jun-12 2:47
sitebuilderLuc Pattyn8-Jun-12 2:47 
the purpose of a database is to store information, not to format it. Store dates and datetimes in fields with the appropriate type, and let your applications take care of formatting when presenting results to the user. Do not try and have the database format stuff, you will get lots of trouble and never get satisfactory results.

And as others have said, use SQL parameters rather than SQL string concatenation, to feed dates and datetimes to the database; thus avoiding all conflicts with regional settings and the like.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: sql Date conversion not working in sql 2000 Pin
PIEBALDconsult8-Jun-12 4:11
mvePIEBALDconsult8-Jun-12 4:11 
AnswerRe: sql Date conversion not working in sql 2000 Pin
vvashishta10-Jun-12 19:09
vvashishta10-Jun-12 19:09 
Questionfunction Pin
Rafat Ali Khan7-Jun-12 21:39
Rafat Ali Khan7-Jun-12 21:39 
AnswerRe: function Pin
Simon_Whale7-Jun-12 21:42
Simon_Whale7-Jun-12 21:42 
AnswerRe: function Pin
vvashishta10-Jun-12 19:10
vvashishta10-Jun-12 19:10 
AnswerRe: function Pin
kmoorevs14-Jun-12 5:08
kmoorevs14-Jun-12 5:08 
QuestionHow to send an invitation mail in c# to a client Pin
rp7867-Jun-12 18:43
rp7867-Jun-12 18:43 
AnswerRe: How to send an invitation mail in c# to a client Pin
Paul Conrad7-Jun-12 18:49
professionalPaul Conrad7-Jun-12 18:49 
AnswerRe: How to send an invitation mail in c# to a client Pin
Sandeep Mewara7-Jun-12 20:04
mveSandeep Mewara7-Jun-12 20:04 
AnswerRe: How to send an invitation mail in c# to a client Pin
vvashishta10-Jun-12 19:11
vvashishta10-Jun-12 19:11 
QuestionSQL Server CLR Parameter Types Pin
cjb1106-Jun-12 4:32
cjb1106-Jun-12 4:32 
AnswerRe: SQL Server CLR Parameter Types Pin
PIEBALDconsult6-Jun-12 4:58
mvePIEBALDconsult6-Jun-12 4:58 
QuestionOR in a JOIN Pin
PIEBALDconsult5-Jun-12 13:51
mvePIEBALDconsult5-Jun-12 13:51 
AnswerRe: OR in a JOIN Pin
Paul Conrad5-Jun-12 14:03
professionalPaul Conrad5-Jun-12 14:03 
GeneralRe: OR in a JOIN Pin
PIEBALDconsult5-Jun-12 14:26
mvePIEBALDconsult5-Jun-12 14:26 
AnswerRe: OR in a JOIN Pin
Luc Pattyn5-Jun-12 16:27
sitebuilderLuc Pattyn5-Jun-12 16:27 
GeneralRe: OR in a JOIN Pin
Paul Conrad5-Jun-12 17:00
professionalPaul Conrad5-Jun-12 17:00 

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.