dbTalk Databases Forums  

Disable SQL/99 enforcement in ASA 9

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Disable SQL/99 enforcement in ASA 9 in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
juanv@sybase.com
 
Posts: n/a

Default Disable SQL/99 enforcement in ASA 9 - 04-11-2006 , 04:19 AM






Hi,

is there a way to disable the new SQL/99 enforcement in ASA
9 ?
My customer has to migrate from ASA 8 to ASA 9 but the
application has issues with the behavior change in the area
:

'References to table expressions preceding in the FROM
clause may now be used in ON clauses of nested outer joins.
In previous releases, outer references in the ON phrase were
permitted. Such outer references must now be indicated by
use of the LATERAL keyword. The restriction enforces clarity
and conforms to the SQL/99 standard.
'

They have many queries to revisit.
Is there a way to revert temporarily to SQL/92 syntax in ASA
9 until queries can be fixed ?

Many thanks in advance.

Best regards.

J Vega

Reply With Quote
  #2  
Old   
Chris Keating(iAnywhere Solutions)
 
Posts: n/a

Default Re: Disable SQL/99 enforcement in ASA 9 - 04-11-2006 , 09:05 AM






There is no method to disable this.
--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8

************************************************** ***************************
Sign up today for your copy of the SQL Anywhere Studio 9 Developer
Edition =and try out the market-leading database for mobile, embedded
and small to medium sized business environments for free!

http://www.ianywhere.com/promos/deved/index.html

************************************************** ***************************

iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use Case Express to report bugs http://case-express.sybase.com

************************************************** ***************************

Reply With Quote
  #3  
Old   
Greg Fenton
 
Posts: n/a

Default Re: Disable SQL/99 enforcement in ASA 9 - 04-11-2006 , 04:39 PM



juanv (AT) sybase (DOT) com wrote:
Quote:
is there a way to disable the new SQL/99 enforcement in ASA
9 ?
Recognize that the reason for this standard is that previous queries are
often ambiguous. Without the LATERAL keyword, there is more than one
way to interpret the query.

Quite often when customers have hit this problem, they recognize that a
rewrite of the query eliminates the need for the LATERAL keyword and
cleans up their query in the process.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.