Seagate ST43401N/ND Technical Information Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 172
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
Migrating to Sybase Adaptive Server Enterprise 11.5 5-13
Adaptive Server Enterprise 11.5 If Your Current Version is 4.x
In release 4.x, this query returns 18 items, including 15 duplicates; in
release 10.x and 11.x, this query returns 3 items.
select distinct
Prior to release 10.x, correlated
in subqueries using distinct would
cause the outer query to return no rows. These subqueries now
return the correct results.
This example compares releases:
select pub_name
from publishers
where pub_id in
(select distinct pub_id from titles
where titles.pub_id = publishers.pub_id)
Additional ANSI-Related Transact-SQL Changes
Other changes to Transact-SQL to bring it into ANSI compliance
include:
between 5-13
ANSI Comments 5-14
Correlation Names 5-14
select into and NULL Column Headings 5-15
between
In statements with
between, ANSI standards require that the values
used be given in the normal order. Therefore:
expr1 between expr2 and expr3
must mean this:
expr2 <= expr1 <= expr3
Release 4.x
Results
Release 10.x and 11.x
Results
NULL New Age Books
Binnet & Hardley
Algodata Infosystems
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 171 172

Comments to this Manuals

No comments