Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: DBD::Pg INSERT enlightenment

by repson (Chaplain)
on Feb 06, 2001 at 13:47 UTC ( #56650=note: print w/ replies, xml ) Need Help??


in reply to Re: DBD::Pg INSERT enlightenment
in thread DBD::Pg INSERT enlightenment

Another alternative is using a relational database system.

create table products ( prod_id int primary key, model_num int ); create table prod_desc ( prod_id int foreign key, desc text ); SELECT desc FROM products p, prod_desc d WHERE p.prod_id = d.prod_id A +ND p.prod_id = ?;
However that may be overkill for your purposes, and being no database and sql expert my syntax may not work (I only know mySQL and Access, and neither perfectly).


Comment on Re: Re: DBD::Pg INSERT enlightenment
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-11-27 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (185 votes), past polls