![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/ACCESS Interface to SYSTEM 2000 Data Management Software: Reference, Version 7-1 |
| View Where-Clause | SAS WHERE Clause | Connected Conditions |
|---|---|---|
| C1 = A | C110 > 27 | (C1 = A) & (C110 > 27) |
| *SAS* & C1 = A | C110 > 27 | (C110 > 27) & C1 = A |
| C1 = 'A' *ANDSAS* | C110 > 27 | C1 = 'A' AND (C110 > 27) |
Note:
Remember that the interface view
engine translates only those
SAS WHERE conditions it understands. ![[cautend]](../common/images/cautend.gif)
| Available Connecting Strings |
| Syntax Limitations |
C1 = A AND *SAS*
is acceptable, but the following syntax is not:
C1 = A *ANDSAS*
To use the previous syntax, you can include a delimiter (special character), as shown below:
C1 = 'A' *ANDSAS*
| Optional Omission of a SAS WHERE Clause |
C1 = A AND *SAS*
C110 > 27
C1 = A AND
C1 = 'A' *ANDSAS*
Then, even if you did not specify a SAS WHERE clause, there would not be a problem.
C1 = 'A'
| Using OR |
C1 = A OR *SAS*
C1 = C OR (C1 = A OR C1 = B) *ANDSAS*
However, you can use OR in the following example:
(C1 = A OR C1 = B) AND *SAS*
| Using HAS, AT, and NON-KEY |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.