在某项目中看到如下脚本,不懂什么意思rem BRIEF RE: %[ \t]@ID?+$
rem Replace with: select 'insert into TestTable values (' || to_char(ID) || ', ' ||rem BRIEF RE: %[ \t]@{[a-zA-Z0-9_]+}[ \t]+NUMBER?@$
rem Replace with: \tNVL(to_char(\0), 'NULL') || ', ' ||rem BRIEF RE: %[ \t]@{[a-zA-Z0-9_]+}[ \t]+DATE?@$
rem Replace with: \tDECODE(\0, NULL, 'NULL', '"' || \0 || '"') || ', ' ||rem BRIEF RE: %[ \t]@{[a-zA-Z0-9_]+}[ \t]+VARCHAR2?@$
rem Replace with: \tDECODE(\0, NULL, 'NULL', '"' || REPLACE(\0, '"', '""') || '"') || ', ' ||rem Last line: || ')' from TestTable;select 'insert into TestTable values (' || to_char(ID) || ', ' ||
NVL(to_char(CONTROL_ID), 'NULL') || ', ' ||
DECODE(DATA, NULL, 'NULL', '"' || REPLACE(DATA, '"', '""') || '"')
|| ')' from TestTable;请大侠指教