Can this be done through COPY OTHER > BOOKMARKED LINES ?
Posted: Tue Sep 28, 2010 6:33 pm
Version 5.3.1
I need to find all lines with the string
and copy 3 lines prior to this line
As you can see below in an SQL script execution log, i have no use with bookmarking and copying the error line itself. I actually need the commands which errored out which appears in the 3rd line prior to the error message.
Is there a way to do this?
I need to find all lines with the string
Code: Select all
ERROR at line 1:As you can see below in an SQL script execution log, i have no use with bookmarking and copying the error line itself. I actually need the commands which errored out which appears in the 3rd line prior to the error message.
Code: Select all
SQL > alter table FIN_RT1.ITEM_MASTER_UPLOAD modify (DIVISION_CODE_C_C varchar2(30));
Table altered.
SQL > alter table FIN_RT1.ITEM_MASTER_UPLOAD_INT modify (DIVISION_CODE_C_C varchar2(30));
Table altered.
SQL > alter table FIN_RT1.SKU_COM_EMPCATEGORY modify (CATEGORY_TYPE_C varchar2(30));
alter table FIN_RT1.SKU_COM_EMPCATEGORY modify (CATEGORY_TYPE_C varchar2(30))
*
ERROR at line 1:
ORA-01439: column to be modified must be empty to change datatype
SQL > alter table WM_2006.SKU_COM_EMPCATEGORY modify (CATEGORY_TYPE_C varchar2(30));
alter table WM_2009.SKU_COM_EMPCATEGORY modify (CATEGORY_TYPE_C varchar2(30))
*
ERROR at line 1:
ORA-01439: column to be modified must be empty to change datatype
SQL > alter table FIN_RT1.ITEM_MASTER_STP modify (DIVISION_CODE_C_C varchar2(30));
Table altered.