logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: Overly conservative on reserved words?: msg#00343

apache.db.derby.devel

Subject: Re: Overly conservative on reserved words?

Daniel John Debrunner wrote:
Jeremy Boynes wrote:


Reserving additional words from the second group poses a bigger issue as
users' may have databases out there already using these words as
identifiers. The smoothest path is probably to give people an indication
of which words will need to be reserved at some point and hence should
be avoided; it is better for us to do this earlier than later.


Actually having even keywords defined as reserved by the SQL Standard
reserved in Derby has caused problems. I recently changed LOCAL not to
be a reserved word as other databases do not enforce it. We probably
need some set rules, but reserving because the SQL standard says so it
not the approach taken by other products.


'The nice thing about standards is there are so many to choose from' :-)
Especially true with 4 versions of ISO SQL and N vendor-specific dialects. One of the issues users face is that the spec evolves and products implement newer versions, words that were not reserved before now need to be.

Ideally we would not need to reserve anything, giving users complete freedom on how they name their things; however, that would make the parser, lets say, challenging. Short of this ideal, I think we should compormise and only reserve words needed to resolve ambiguity in the parser; that lets users decide how much portability they need. To help them do that I think it's useful for us to indicate direction and what is likely to be reserved (SAVEPOINT) vs. what isn't (PERCENTILE_DISC).

Is it worth raising a warning on DDL operations that define objects that conflict with SQL's reservation list?

--
Jeremy



<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo