Oracle的start命令
Jun 07, 2016 pm 04:08 PMstart命令可以读取文件中的内容到缓冲区中,然后再SQL*PLUS中运行这些内容,start命令的语法如下:start {url|file_name}其中url用
start命令可以读取文件中的内容到缓冲区中,然后再SQL*PLUS中运行这些内容,start命令的语法如下:
start {url|file_name}
其中url用来指定一个url地址,,例如http:\\host.silence/demo.sql.
file_name用来指定一个文件,该命令将file_name文件的内容读入到sql*plus缓冲区中,然后运行缓冲区中的内容。
SQL> start e:\query.sql;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
也可以直接用@命令
SQL> @ e:\query.sql;
DEPTNO DNAME LOC
---------- -------------- -------------
10 ACCOUNTING NEW YORK
20 RESEARCH DALLAS
30 SALES CHICAGO
40 OPERATIONS BOSTON
本文永久更新链接地址:

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Use ddrescue to recover data on Linux

Open source! Beyond ZoeDepth! DepthFM: Fast and accurate monocular depth estimation!

How to use Excel filter function with multiple conditions

The vitality of super intelligence awakens! But with the arrival of self-updating AI, mothers no longer have to worry about data bottlenecks

Google is ecstatic: JAX performance surpasses Pytorch and TensorFlow! It may become the fastest choice for GPU inference training

Slow Cellular Data Internet Speeds on iPhone: Fixes

The U.S. Air Force showcases its first AI fighter jet with high profile! The minister personally conducted the test drive without interfering during the whole process, and 100,000 lines of code were tested for 21 times.

The first robot to autonomously complete human tasks appears, with five fingers that are flexible and fast, and large models support virtual space training
