|
最初由 willing_star 发布
[B]請問用fnd_file.put怎樣做啊? [/B]
FND_FILE: PL/SQL File I/O
The FND_FILE package contains procedures to write text to log and
output files. In Release 11i, these procedures are supported in all types
of concurrent programs.
For testing and debugging, you can use the procedures
FND_FILE.PUT_NAMES and FND_FILE.CLOSE. Note that these two
procedures should not be called from a concurrent program.
FND_FILE supports a maximum buffer line size of 32K for both log
and output files.
Attention: This package is not designed for generic PL/SQL text I/O, but rather only for writing to request log and output files.
FND_FILE.PUT
SUMMARY: procedure FND_FILE.PUT
(which IN NUMBER,
buff IN VARCHAR2);
DESCRIPTION: Use this procedure to write text to a file (without a new line character).
Multiple calls to FND_FILE.PUT will produce concatenated text.
Typically used with FND_FILE.NEW_LINE.
which: Log file or output file. Use either FND_FILE.LOG
or FND_FILE.OUTPUT.
buff: Text to write. |
|