Oracle

SQL*Plus File Commands

Figo Kim 2006. 11. 30. 00:29
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
  • SAV[E] filename [.ext] [REP[LACE] APP[END]] : Saves current contents of SQL buffer to a file. User APPEND to add an existing file; use REPLACE to overwrite an existing file. The default extension is .sql.

  • GET filename [.ext] : Writes the contents of a previously saved file to the SQL buffer. The default extension for the file name is .sql

  • STA[RT] filename [.ext] : Runs a previously saved command file

  • @filename : Runs a previously saved command file (same as start)

  • ED[IT] :  Invokes the editor and saved the buffer contents to a file named afiedt.buf

  • SPO[OL] [filename[.ext] | OFF|OUT] : Stores query result in a file. OFF closes the spool file. OUT closes the spool file and sends the file results to the printer.

  • EXIT : Quits SQL*Plus

'Oracle' 카테고리의 다른 글

Previleges  (0) 2006.11.30
SQL*Plus File Commands  (0) 2006.11.30
SQL* Plus commands  (0) 2006.11.30
SQL* Plus commands  (0) 2006.11.30
SQL 1999 Syntax  (0) 2006.11.28