Re: DBI/SQL question

2006-03-15 Thread Robert Hicks
Robert Hicks wrote: I have a large array of numbers that I need to use in an update SQL statement using a "like" clause. my @nums = ( 123 456 789 ); foreach my $num (@nums) { $dbh->do(q{update table_name set item_desc1 = item_desc2 where equip like # I draw a blank here } I am not sure

DBI/SQL question

2006-03-15 Thread Robert Hicks
I have a large array of numbers that I need to use in an update SQL statement using a "like" clause. my @nums = ( 123 456 789 ); foreach my $num (@nums) { $dbh->do(q{update table_name set item_desc1 = item_desc2 where equip like # I draw a blank here } I am not sure how to use the $num i

RE: SQL question

2002-08-20 Thread shawn_milochik
GODIVA/CSC PM Subject: RE: SQ

RE: SQL question

2002-08-20 Thread Felix Geerinckx
on Tue, 20 Aug 2002 19:16:16 GMT, Learn Perl wrote: > Yes I want to have the columns come out in a sorted order without > specifying them like "select col1, col2, col3 from database" because > I have too many columns (close to 80). Is there ways to select a > table w/o specifically telling the S

RE: SQL question

2002-08-20 Thread learn perl
ue, 20 Aug 2002, Bob Showalter wrote: > > -Original Message- > > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 20, 2002 2:24 PM > > To: 'learn perl'; [EMAIL PROTECTED] > > Subject: RE: SQL question > > > > &

RE: SQL question

2002-08-20 Thread Bob Showalter
> -Original Message- > From: learn perl [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 3:16 PM > To: Bob Showalter > Cc: [EMAIL PROTECTED] > Subject: RE: SQL question > > > Yes I want to have the columns come out in a sorted order without > spe

RE: SQL question

2002-08-20 Thread Bob Showalter
> -Original Message- > From: learn perl [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 20, 2002 3:51 PM > To: Bob Showalter > Cc: [EMAIL PROTECTED] > Subject: RE: SQL question > > > For example, my column names are [1], [3], [5], [2] in the > table.

RE: SQL question

2002-08-20 Thread learn perl
much! Eric On Tue, 20 Aug 2002, Bob Showalter wrote: > > -Original Message- > > From: learn perl [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, August 20, 2002 3:16 PM > > To: Bob Showalter > > Cc: [EMAIL PROTECTED] > > Subject: RE: SQL question > > &

SQL question

2002-08-20 Thread learn perl
Hi guys, just wondering how to sort the columns in order using SQL. Does anybody have any clue? for instance, my column headings are [1] [3] [2] [4] [2], is there a way to SELECT the table with the columns sorted in order? thanks! Eric -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit