An interactive SQL statement consists of a structured set of English-like elements:
Basic SQL statement:
select distinct city from employee where emp_id > 5555;
│ │ │ └───────────┘ └─────────────────┘ │ │ │ │ │ │ │ │ │ Verb Options Named Clause Clause specifying Delimiter entity identifying selection criteria table
A delimiter is required for interactive SQL commands. If you enter SQL commands in an application program, you may need to use a different delimiter or none at all.
Statement Length
A statement can span several lines. It will not be executed until the delimiter is encountered.
|
Copyright © 2014 CA.
All rights reserved.
|
|