Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I have similar code as below, in a procedure. The code works fine in the older versions of Sybase, but in the newer versions, I get the error message 'Transact-SQL outer joins are currently disabled.'

SELECT  table1.a,
        table1.b,

        table2.x,
        table2.y,

FROM    table1,
        table2

WHERE ( table1.a *= table2.a )

asked 15 Dec '11, 08:08

sam's gravatar image

sam
315141624
accept rate: 0%

2

In case you have to time to alter those procedures, I would strongly recommend to get rid of those T-SQL outer joins and use standard OUTER JOINs instead.

(15 Dec '11, 12:40) Volker Barth

You can re-enable T-SQL outer join support by changing the TSQL_OUTER_JOINS option to ON. See the help. You may also want to read this white paper on the Semantics and Compatibility of TSQL Outer Joins.

permanent link

answered 15 Dec '11, 08:23

Glenn%20Paulley's gravatar image

Glenn Paulley
10.8k577106
accept rate: 43%

edited 15 Dec '11, 09:08

Mark%20Culp's gravatar image

Mark Culp
25.0k10142298

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×69
×25

question asked: 15 Dec '11, 08:08

question was seen: 5,822 times

last updated: 15 Dec '11, 12:40