Robert martin wrote:
Hi

If you never use dates as strings in your queries (i.e. always use asDate or AsDateTime) you should never get locale issues. Its one of the biggest reasons to always use ParamByName instead of building SQL strings IMO.

That and SQL injection attacks.

--
Richard Vowles, Product Evangelist
Developers Inc Ltd (for Delphi, C++ Builder, JBuilder, InterBase)
web. http://www.developers-inc.co.nz
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384, skype. <callto:rvowles/>, LinkedIn, http://twitter.com/RichardVowles
currently working on: Delphi2007, Rails, PHP, Air

begin:vcard
fn:Richard Vowles
n:Vowles;Richard
org:Developers Inc Ltd
email;internet:[EMAIL PROTECTED]
title:Product Evangelist
tel;work:+64-9-3600231
tel;fax:+64-9-3600384
tel;cell:+64-275-467747
note:skype: rvowles
x-mozilla-html:TRUE
version:2.1
end:vcard

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe

Reply via email to