Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB mysql_escape_string Equivalent

Status
Not open for further replies.

aogail

Programmer
Sep 9, 2002
8
US
Hello,

Does a VisualBasic equivalent to the PHP function mysql_escape_string() exist? Preferably one that takes care of characters special according to MS SQL Server 2K.

Through my searching I found one function that takes care of single quotes, but nothing else.

Thanks!
 
what does that function do ??

Rgds, Geoff
[blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
 
From
[tt]mysql_real_escape_string -- Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection.[/tt]

It's written with MySQL in mind. I'm specifically looking for a VB version written with SQL Server in mind.
 
VB or VBA - this is a VBA forum and I'm afraid I still don't understand what it does

Rgds, Geoff
[blue]Si hoc signum legere potes, operis boni in rebus Latinus alacribus et fructuosis potiri potes![/blue]
Want the [red]best[/red] answers to your questions ? faq222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top