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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: create table issue

Re: create table issue

From: Carel-Jan Engel <cjpengel.dbalert_at_xs4all.nl>
Date: Wed, 29 Jun 2005 10:44:02 +0200 (CEST)
Message-ID: <4377.145.61.28.21.1120034642.squirrel@145.61.28.21>


My apologies, the second example is not correct.

Errata:

In the example below, I assumed that TEST is a reserved word. It is not. I omitted to check that. Please substitute TEST in the second example with an existing reserved word, eg. INSERT. That will make the example correct.

Best regards, Carel-Jan

===
If you think education is expensive, try ignorance. (Derek Bok) ===

> Now your example
>
> CREATE TABLE "TEST"(SR INTEGER);
>
> The tokens are:
> CREATE
> TABLE
> STRING "TEST"
> BRACE_OPEN
> STRING "SR"
> INTEGER
> BRACE_CLOSE
> SEMICOLON
>
> Normally, if "TEST" wouldn't have been enclosed the lexical analyzer
> will hand over the representation for the token TEST to the parser. The
> effect of enclosing TEST in quotes will be that the lexical analyzer
> sees the token STRING, with a value of "TEST". This is OK for the
> parser, and it will enter that string as a table name in the data
> dictionary.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jun 29 2005 - 04:49:25 CDT

Original text of this message

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