ctaustin has asked for the wisdom of the Perl Monks concerning the following question:
The result I am looking for is a string like:select the_date as "date", round(months_between(first_date,second_date),0) months_old ,product,extract(year from the_date) year ,case when a=b then 'c' else 'd' end tough_one from ... where...
Surely you must be chuckling out loud at such foley.$sql=/(*,*)/(*)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parse a query string
by castaway (Parson) on Jul 06, 2005 at 05:15 UTC | |
by ctaustin (Sexton) on Jul 06, 2005 at 13:00 UTC | |
|
Re: parse a query string
by runrig (Abbot) on Jul 06, 2005 at 05:18 UTC | |
|
Re: parse a query string
by Ovid (Cardinal) on Jul 06, 2005 at 05:59 UTC | |
|
Re: parse a query string
by virtualsue (Vicar) on Jul 06, 2005 at 06:47 UTC |