Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Calling SQL with embedded quotes

by virtualsue (Vicar)
on May 21, 2002 at 08:40 UTC ( [id://168065]=note: print w/replies, xml ) Need Help??


in reply to Calling SQL with embedded quotes

If you were using the DBI module to access the database, you could take advantage of the quote method, which takes care of database-specific quoting automagically.
$test = $dbh->quote($test);
I have never done any sybase work, but the syntax of your delete statement looks incorrect. Maybe that is what is causing the problem?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://168065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 07:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found