473,839 Members | 1,352 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looking for authoritative reference on PL/SQL grammar

Hi. We are working on tools to process PL/SQL code.
What we need are precise details on the full PL/SQL syntax.

We have the Oracle 9/10 documentation, but it seems
a little fuzzy on the details. As an example, we're unclear
on whether ANSI 99 JOIN syntax is allowed or not.
(Any direct answers on this topic would be appreciated).

Is there a document which precisely defines the PL/SQL
syntax?
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Jul 19 '05 #1
3 6846
On Fri, 31 Dec 2004 09:51:32 -0600, Ira Baxter wrote:
Hi. We are working on tools to process PL/SQL code.
What we need are precise details on the full PL/SQL syntax.

We have the Oracle 9/10 documentation, but it seems
a little fuzzy on the details. As an example, we're unclear
on whether ANSI 99 JOIN syntax is allowed or not.
(Any direct answers on this topic would be appreciated).

Is there a document which precisely defines the PL/SQL
syntax?


With all due respect,

One could get the impression you are unclear about PL/SQL in general.
Your comment about the ANSI 99 Join syntax indicates that you do not
separate PL/SQL from SQL and therefore may not realize that PL/SQL does
perform any joins at all. Instead, it passes such requests to the SQL
processor, the syntax for which is documented in the SQL Reference
Manual.

I also hope you realize that the combination of SQL and PL/SQL allows a
developer to 'extend' SQL by adding new functions that can be used in
various places, extending the the SELECT clause, the inline view,
the WITH clause, the WHERE clause, etc. You may find this a challenge in
creating your tools as it implies you may need to catalog all stored
functions as well.

The actual PL/SQL language is documented fairly well in the "PL/SQL User's
Guide and Reference", which includes use, discussion of the above
concept, syntax and examples. Please indicate what is 'fuzzy' about
details such as the following syntax definition (from the manual) for the
CASE statement:
searched_case_s tatement ::=

[ <<label_name> > ]
CASE { WHEN boolean_express ion THEN {statement;} ... }...
[ ELSE {statement;}... ]
END CASE [ label_name ];
And yes, ANSI 99 Join syntax is allowed - in the SQL language.

BTW - if your tool is intended to generate PL/SQL, I strongly encourage
reading and understanding "Effective Oracle By Design" as well as anything
else identified at http://www.oaktable.org

/Hans
Just a lowly BScEE

<rant>
By the way, cross-posting is not necessary. comp.databases. oracle is an
obsolete newsgroup, comp.databases. oracle.marketpl ace is for
advertising, comp.databases. oracle.tools is for Oracle tools. Pick one
and stick with it.

I cross-posted the reply so you get the response, but on behalf of [many
in] the community, I would appreciate you restricting the rest to
comp.databases. oracle.tools)
</rant>
Jul 19 '05 #2
Ira Baxter wrote:
Hi. We are working on tools to process PL/SQL code.
What we need are precise details on the full PL/SQL syntax.

We have the Oracle 9/10 documentation, but it seems
a little fuzzy on the details. As an example, we're unclear
on whether ANSI 99 JOIN syntax is allowed or not.
(Any direct answers on this topic would be appreciated).

Is there a document which precisely defines the PL/SQL
syntax?


http://tahiti.oracle.com

Both ANSI and ISO join syntaxes are supported.

--
Daniel A. Morgan
University of Washington
da******@x.wash ington.edu
(replace 'x' with 'u' to respond)
Jul 19 '05 #3
See this site:

http://www.unix.org.ua/orelly/oracle/prog2/index.htm
"Ira Baxter" <id******@semde signs.com> a écrit dans le message news:
cr*********@ene ws1.newsguy.com...
Hi. We are working on tools to process PL/SQL code.
What we need are precise details on the full PL/SQL syntax.

We have the Oracle 9/10 documentation, but it seems
a little fuzzy on the details. As an example, we're unclear
on whether ANSI 99 JOIN syntax is allowed or not.
(Any direct answers on this topic would be appreciated).

Is there a document which precisely defines the PL/SQL
syntax?
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3426
by: Peri | last post by:
I'm trying to create Python parser/interpreter using ANTLR. Reading grammar from language refference I found: or_expr::= xor_expr | or_expr "|" xor_expr For me it looks like infinite recursion. And so it says ANTLR. Maybe I don't understand EBNF notation. For me it should look like this. or_expr::= xor_expr | xor_expr "|" xor_expr and in ANTLR grammar file like this:
3
1277
by: bill | last post by:
I have to learn Python in a hurry. I learn fastest by reading the specs/reference manual, or something like it (e.g. "C: A Reference Manual", by Harbison and Steel). Is there a Python book that fits this description? Many thanks in advance, bill
3
8146
by: junky_fellow | last post by:
I got one link to the ANSI C Grammar http://www.lysator.liu.se/c/ANSI-C-grammar-y.html However, I don't know how to understand this grammar. I am not a Computer Science Guy. Can anybody please help me about how to understand this grammar. Is there any good book on this ? Or anybody knows about some link from where a beginner like me start of ? Thanx for any help in advance ...
46
12564
by: vvk4 | last post by:
I have an excel spreadsheet that I need to parse. I was thinking of saving this as a CSV file. And then reading the file using C. The actual in EXCEL looks like: a,b a"b a","b a,",b In CSV format looks like: "a,b","a""b","a"",""b","a,"",b" Does anybody have suggestions or have C program based code to parse CSV. Please reply to the message board itself. I do not wish to get spam.
14
2047
by: Magius | last post by:
Hello, I have a question about the correctness of the language grammar for the C# 2.0 specification. I am working with the grammar specified in the June 2005 ECMA-334 standard. Basically, a using-namespace-directive is defined as follows: using-namespace-directive: using namespace-name ;
3
1260
by: Paul | last post by:
Looking for recommendations on a programming language for a web application. I am soliciting recommendations on a programming language for a web application described below. Actually, it is not real, just an example of what the real application would do. I do not want to stimulate any debates between respondents. Everyone is entitled to their opinion. Let me be the one to privately decide on the validity of the comments. All options...
41
3703
by: Summercool | last post by:
Can we confirm the following? also someone said, Java also has "reference" like in C++, which is an "implicit pointer": Pointer and Reference --------------------- I am starting to see what pointer and reference are and how they relate to each other.
3
507
by: Ira Baxter | last post by:
Hi. We are working on tools to process PL/SQL code. What we need are precise details on the full PL/SQL syntax. We have the Oracle 9/10 documentation, but it seems a little fuzzy on the details. As an example, we're unclear on whether ANSI 99 JOIN syntax is allowed or not. (Any direct answers on this topic would be appreciated). Is there a document which precisely defines the PL/SQL syntax?
275
12492
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
10587
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10649
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10295
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9426
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7018
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4487
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.