DATA Step, Macro, Functions and more

DataDirect popup for SAS/ACCESS to SQL Server on Windows 10 will not close using schema='dbo'

Reply
New Contributor
Posts: 4

DataDirect popup for SAS/ACCESS to SQL Server on Windows 10 will not close using schema='dbo'

I successfully allocated a libname to my SQL Server 2014 instance from SAS 9.4M3 on 64-bit Windows 10 using

 

libname sql odbc dsn='SQLServer' user=sas_readonly pw=MyPassword;

 

No joy however as there were no tables upon opening the library.

 

So...I added the SCHEMA='DBO' option.

 

Opening the library again the DataDirect warning displays continuously. Selecting 'OK' does not close it.

 

 


dd.jpg
New Contributor
Posts: 4

Re: DataDirect popup for SAS/ACCESS to SQL Server on Windows 10 will not close using schema='dbo'

Posted in reply to wjmetcalfiii

OK. Joy. I changed the libname statement to

 

libname sql sqlsvr dsn='SQLServer' user=sas_readonly pw=MyPassword schema='dbo';

 

and no more popup...and I can see my tables. Case closed.

 

Ask a Question
Discussion stats
  • 1 reply
  • 161 views
  • 0 likes
  • 1 in conversation