Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
@tables_2_drop = ("Grab_Addr2", "Grab_MCC1", "Grab_MCC2"); # "Grab_Addr1", for ($i = 0; $i < @tables_2_drop; $i++) { # # Query to Find cal_dim_i for Sundays date $drop = "Drop table $tables_2_drop[$i] NOWAIT"; print "Finding Cal_dim_i for Current Date.\n"; ### Prepare a SQL statement for execution $drop_table = $dbv->prepare( "$drop"); ### Execute the statement in the database $drop_table->execute; $drop_table->finish; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SQL with DBI
by neniro (Priest) on Jun 26, 2005 at 19:05 UTC | |
by sk (Curate) on Jun 26, 2005 at 20:45 UTC | |
by VSarkiss (Monsignor) on Jun 27, 2005 at 15:30 UTC | |
by Anonymous Monk on Jun 26, 2005 at 19:15 UTC | |
|
Re: SQL with DBI
by CountZero (Bishop) on Jun 26, 2005 at 18:50 UTC | |
|
Re: SQL with DBI
by Anonymous Monk on Jun 26, 2005 at 18:27 UTC |