Changes between Version 5 and Version 6 of INTEGRATING operation


Ignore:
Timestamp:
Dec 6, 2010 1:13:50 PM (14 years ago)
Author:
cedric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • INTEGRATING operation

    v5 v6  
    7070select * from wrbd.operation_op where extract('year' from op_date) !=op_year; 
    7171-- modification des dates concernées 
    72 update wrbd.operation_op set op_date=to_date(cast(op_year AS text)||' '|| 
    73         cast(extract('month' from op_date) AS text)||' '|| 
    74         cast(extract('day' from op_date) AS text),'YYYY MM DD') 
    75         where extract('year' from op_date) !=op_year; 
     72update wrbd.operation_op set op_date=to_date( 
     73                cast(op_year AS text)||' '|| 
     74                cast(extract('month' from op_date) AS text)||' '|| 
     75                cast(extract('day' from op_date) AS text),'YYYY MM DD' 
     76        ) where extract('year' from op_date) !=op_year; 
    7677}}} 
    7778