@tables_2_drop = ("Grab_Addr2", "Grab_MCC1", "Grab_MCC2"); for ($i = 0; $i < @tables_2_drop; $i++) { # # Query to Find cal_dim_i for Sundays date $drop = "Drop table $tables_2_drop[$i]"; 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; }
janitored by ybiC: Close unbalanced <code> tag
In reply to Re: SQL with DBI
by Anonymous Monk
in thread SQL with DBI
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |