how to set a DEFAULT value !!

2006-04-22 Thread T. H. Lin
for example, a table, 2 column Table | lang_code | CHAR(2)| default: 'en' | | time | DATETIME | |

Re: last insert id

2006-04-22 Thread Dr.Ruud
Ron Savage schreef: Dr.Ruud: So we're back at: /\A(?:mysql|pg)\z/i /\A(?i:mysql|pg)\z/ [db_vendor()] In the case of 'DBI DSN' = 'dbi:Pg:dbname=staff', I store 'Pg'. In the case of 'DBI DSN' = 'dbi:ODBC:pg-staff', I store 'Pg'. [...] if ($self - db_vendor() =~ /(?:mysql|Pg)/) [...]

DBI Development Fund (was: Re: last insert id)

2006-04-22 Thread Dr.Ruud
Ron Savage schreef: o Fell free to donate large quantities of money to the Perl DBI Development Fund, at (watch wrap): https://donate.perlfoundation.org/index.pl?node=Fund%20Drive%20Statusselfund=10 2 That is really a nasty wrap: the 10 in stead of 102 hides the DBI Development Fund. This

DBD module loading problem

2006-04-22 Thread Kevin Moore
Objective - execute perl modules from apache that access an oracle database Oracle database - 10gr2, SUSE SLES9 linux Apache server - RHAS 4.0, oracle 10gr2 instant client Perl Version perl -v This is perl, v5.8.5 built for i386-linux-thread-multi Apache Version apachectl -v Server version:

Re: DBD module loading problem

2006-04-22 Thread Kevin Moore
One more thing - all perl makefile.pl, make, make test, make install, were successful for mod_perl, DBI, DBD Kevin Moore wrote: Objective - execute perl modules from apache that access an oracle database Oracle database - 10gr2, SUSE SLES9 linux Apache server - RHAS 4.0, oracle 10gr2