Bypass limit of 239 characters of sqlplus

妖精的绣舞 提交于 2020-01-06 03:47:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!