Usage Note 4197: When using SAS/ACCESS Interface to OLE/DB to update Microsoft SQL
Server, V7 data through WHERE clause processing might be unreliable
When you use SAS/ACCESS Interface to OLE/DB to update Microsoft SQL
Server, Version 7 data through WHERE clause processing might result in
unreliable updates. The problem only occurs when using Microsoft SQL
Server with Service Pack 1.
The following code demonstrates how the problem could occur.
The code will not update consistently, it will not update where X=5 or
X=4, but will update for other X values:
libname test oledb provider=sqloledb properties=("user id"=xxxxx
password=xxxxxx "data source"=xxxx "inital catalog"=oledb);
data test.up;
x=1; y='new table1';z=1;output;
x=2; y='new table2';z=2;output;
x=4; y='new table4';z=4;output;
x=5; y='new table5';z=5;output;
run;
proc sql;
update test.up set y='updated' where x=4;
quit;
These update problems were introduced with Microsoft SQL Server 7
with Service Pack 1 (Version 7.00.699).
Be advised that basic WHERE clause processing for updates might be
unreliable when using this version of Microsoft SQL Server.
To circumvent the problem, upgrade to Microsoft SQL Server 7, with
Service Pack 2. This version does not show the problem. Details on
Service packs can be found from the Microsoft website, located at the
following url: http://www.microsoft.com/sql/support
Operating System and Release Information
| SAS System | SAS/ACCESS Interface to OLE DB | Microsoft Windows 95/98 | 8 TS M0 | |
| Microsoft Windows NT Workstation | 8 TS M0 | |
| Microsoft Windows 2000 Server | 8 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 8 TS M0 | |
| Microsoft Windows 2000 Datacenter Server | 8 TS M0 | |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | alert |
| Topic: | Data Management ==> Data Sources ==> External Databases ==> OLEDB Third Party ==> Information Exchange ==> OLE DB (Object Linking and Embedding Database) SAS Reference ==> LIBNAME Engines
|
| Date Modified: | 2001-06-25 13:32:04 |
| Date Created: | 2001-01-26 09:20:16 |