Junk Character Check Script
Junk Character Check Script
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
REM
+=======================================================================+
|
Copyright (c) 1992 Oracle Corporation, Redwood Shores, CA, USA
|
|
All rights reserved.
|
+=======================================================================+
| FILENAME
| afshrchk.sql
| USAGE
| sqlplus applsys/pwd @afchrchk <table> <column>
|
where <table> and <column> are optional 'like'-style clauses
| DESCRIPTION
| Check requested table.columns for invalid trailing spaces and
| and control characters.
| These characters cause 'FRM-40654: Record has been updated.'
| errors when column is queried in a form.
+=======================================================================+
$Header: afchrchk.sql 120.3.12010000.1 2009/03/16 10:17:54 absandhw noship $
prompt
prompt
prompt
prompt
prompt
define
prompt
prompt
prompt
prompt
prompt
prompt
prompt
prompt
define
declare
badchars varchar2(80);
-- Selecvt all columns to check
cursor colcurs is
-----
Cursor
Sql stmt
Retcode
Value with bad chars selected from table