问题
I loop on each line of a file, and each line has more than 3000 characters length. But when I execute my .bat, and after the SQLPlus connection, the console window contains the message: http://puu.sh/l6vOI/6bba21982b.png
Traduction : the beginning of the string " " SO100ACa4 ... " is too long - the maximal size is 239 characters.
I tested using Set VERIFY OFF
and SET LINESIZE 4000
, but nothing worked.
Here is a part of my batch script:
for /f "delims=" %%f IN ('dir /b "%NomFichierU%*.txt"') DO (
for /f tokens^=*^ delims^=^ eol^= %%l IN ('type "%%f"') DO (
echo %%l
sqlplus -L %user%/%pwd%@%db% @C:\Hardis\NDL\SQL\MHUHMS.sql "%%l"
)
move "%%f" "SLD_SLDHI\SAVE\%%f.%HHMMSS%"
)
How to work around this character limit?
来源:https://stackoverflow.com/questions/33474013/bypass-limit-of-239-characters-of-sqlplus