Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: DBI - retrieving a specific row

by Biker (Priest)
on Feb 04, 2002 at 06:21 UTC ( [id://143210]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to DBI - retrieving a specific row

This is not really a Perl problem. It's more a DB question.

You need to have a unique identifier (often: a primary key) and then formulate your query to select only the row with this unique identifier.

Never select everything from your DB to search for the data in your application.
Select only what you need from the DB and use it in your application.

"Livet är hårt" sa bonden.
"Grymt" sa grisen...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143210]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.