Hi Dear,
I am trying to connect to Sql server , the coding and log are below. According to the below log, should I have to installed ODBC driver for SQL server. It seems, I am not able to connect to the server. Password and Userid works when I connect from sql server to sqlserver. For securty reason, I have replace them.If I have to install, can any one please let me know where I can get the odbc driver and how to do it. Thanks so much in advance.
1 proc sql noprint;
2 connect to oledb as idr
3 (init="Provider=SQLOLEDB.1;
4 Password=password;
5 Persist Security Info=True;
6 User ID=userid;
7 Initial Catalog=Anguilla;
8 Data Source=xxxxxx"
9 );
ERROR: The OLEDB engine cannot be found.
ERROR: A Connection to the oledb DBMS is not currently supported, or is not installed at your site.
10
11 create table work.sample as
12 select
13 *
14 from connection to idr
15 (
16 select *
17 from mytabel
18 where period = '2009-10-31'
19 )
20 ;
ERROR: The IDR engine cannot be found.
ERROR: A Connection to the idr DBMS is not currently supported, or is not installed at your site.
21 %PUT &SQLXMSG;
ERROR: A Connection to the idr DBMS is not currently supported, or is not installed at your site.
22
23 disconnect from idr;
ERROR: Connection to the idr DBMS does not exist.
24 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.25 seconds
cpu time 0.01 seconds
25 run;
... View more