Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: Class::DBI Oracle Dates

by set_uk (Pilgrim)
on Oct 28, 2003 at 22:56 UTC ( [id://302851]=note: print w/replies, xml ) Need Help??


in reply to Re: Class::DBI Oracle Dates
in thread Class::DBI Oracle Dates

Got it working with Class DBI - had to revert to Ima::DBI set_sql in the dbi subclass against the table. Code in the subclass
SDU::DBI_AJ->set_sql('InsertInfoAJ', 'INSERT into sdu_active_jobs(jobid,job_name,target_device,customer, + start_date,status) VALUES (?,?,?,?,SYSDATE,?)','Main');
Code in the calling class:-
$create_job = SDU::DBI_AJ->sql_InsertInfoAJ; $rv = $create_job->execute($cr{jobid}, $cr{job_name}, $cr{target_device}, $cr{customer}, $cr{status});
This seems too complex - for just wanting to use sysdate.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-24 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found