![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unable Insert data from .dat file to .xls can anybody help me | kreddy2003 | Shell Programming and Scripting | 1 | 05-28-2008 06:33 AM |
| help me to to insert data | babu@shell | UNIX for Dummies Questions & Answers | 10 | 10-24-2006 03:25 AM |
| How to insert new line in the data file using the script | Sona | UNIX for Dummies Questions & Answers | 2 | 08-22-2006 02:17 AM |
| find the position in a file and insert the data there | isingh786 | HP-UX | 5 | 04-11-2006 10:31 PM |
| sed, insert data from a file to another? | ctcuser | Shell Programming and Scripting | 4 | 05-03-2005 02:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Not able to insert data
Hi All,
I enhanced a perl script that creates a table with xyz_yyyymm and insert data from xyz table before truncate xyz.I have tested it successfully in dev but when i ran it on production new table xyz_yyyymm created but did not insert any records from xyz.(No errors were thrown)The perl ran successfully. Can any one suggest what to do $sql="select sys_value from syscntrl where sys_typ in ('EOM')"; exec_sql(); $eom=$sth->fetchrow_array(); $sql="create table acct_dnb_$eom unrecoverable as select * from acct_dnb"; exec_sql() ; $sql="select count(*) from acct_dnb_$eom"; exec_sql(); $rows_returned=$sth->fetchrow_array(); sub exec_sql{ $sth=$dbh->prepare($sql) or mail_abort("dnb_portfolio.pl","cant prepare:\n$sql\n"); $sth->execute or mail_abort("dnb_portfolio.pl","\n$DBI::errstr\n$sql"); } Regards Megh Last edited by megh; 12-05-2008 at 02:02 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|