[thelist] Escaping SQL VB

Ken Schaefer Ken at adOpenStatic.com
Tue Aug 9 08:40:11 CDT 2005

Don't bother trying to escape things - use ADO Command object with ADO
Parameter objects (assuming ADO is the library you are using to communicate
with the DB)


: -----Original Message-----
: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Burhan Khalid
: Sent: Tuesday, 9 August 2005 8:21 PM
: To: thelist at lists.evolt.org
: Subject: [thelist] Escaping SQL VB
: Hello Everyone:
:    Relaying this for a friend:
:    Is there a command in VB 6 to escape SQL queries before sending them
: to the database server?  I'm looking for the VB equivalent of PHP's
: mysql_real_escape_string()
: Thanks for any help,
: Burhan

More information about the thelist mailing list