---
title: "D_FILE.PUT&FND_FILE.PUT_LINE  "
author: "wiseboyloves"
date: "2013-05-07T15:48:54Z"
tags: []
categories: ["数据库"]
slug: "d-file-put-fnd-file-put-line"
draft: false
lastmod: "2013-05-07T15:48:54Z"
id: 1861127
url: "https://wiseboyloves.iteye.com/blog/1861127"
---

FND\_FILE可用于写 

**FND\_FILE.PUT**

procedure FND\_FILE.PUT

    (which               IN          NUMBER,

     buff                IN          VARCHAR2);

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.

**Arguments (input)**

 

which

 

Log file or output file. Use either FND\_FILE.LOG or FND\_FILE.OUTPUT.

 

buff

 

Text to write.

**FND\_FILE.PUT\_LINE**

procedure FND\_FILE.PUT\_LINE

    (which               IN          NUMBER,

     buff                IN          VARCHAR2);

Use this procedure to write a line of text to a file (followed by a new line character). You will use this utility

most often.

**Arguments (input)**

 

which

 

Log file or output file. Use either **FND\_FILE.LOG** or **FND\_FILE.OUTPUT**.

 

buff

 

Text to write.