in reply to Re^2: replace string from Command Line (updated)
in thread replace string from Command Line
This is what I tried but did not work
perl -p -i.bak -e "s/\QCAST(CAST(hs_date AS DATE FORMAT 'YYYYMMDD') AS CHAR(08)) as hs_date\E/FORMAT_DATE(hs_date, 'YYYYMMDD') as hs_date/g;" HealthList
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: replace string from Command Line (updated)
by AnomalousMonk (Archbishop) on Oct 13, 2020 at 20:03 UTC |