Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: retrieve info

by huck (Parson)
on Sep 11, 2018 at 23:32 UTC ( #1222165=note: print w/replies, xml ) Need Help??


in reply to retrieve info

what does $input look like? does it contain a %?

possibly you might want something like $search->execute('%'.$input.'%'); SQL LIKE Operator

Replies are listed 'Best First'.
Re^2: retrieve info
by bigup401 (Pilgrim) on Sep 12, 2018 at 13:48 UTC

    thanks

      As part of basic testing/debugging you should always run your the SQL you have in your code against your database using your test data using one of the standard interfaces. For anything complex I develop my SQL code in SQL Developer (oracle specific) to ensure it all works as expected, before embedding it in my perl code.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2019-10-18 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?