Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: When DO You Use a Semicolon?

Re: When DO You Use a Semicolon?

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 6 Aug 2003 02:31:13 -0700
Message-ID: <1a75df45.0308060131.79299d36@posting.google.com>


Tim, the semicolon is not part of the SQL standard. There is no SQL statement terminator defined in the standards.

Thus, when you talk to Oracle, no semicolon.

However, many client tools (like SQL*Plus) needs to have a statement terminator so that you can tell it when you have done typing and the statement can be transmitted.

This terminator can also be changed in SQL*Plus using the SET command.

In MS-Access, you construct a SQL statement that will be passed directly to Oracle (hopefully without too much intereference from ODBC/ADO/whatever). No semicolon required as you are talking "clean SQL". Ditto for all other programming languages.

--
Billy
Received on Wed Aug 06 2003 - 04:31:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US