I'd like to connect SAS to a Microsoft SQL Server database but I didn't succeed.
I already have a database connection using a NT authentication.
For instance, when I want to connect R (the statistical sofware) to the db, I do that
ch_db <- odbcConnect("sql_nt")
But when I do that in SAS, it doesn't work :
LIBNAME sql ODBC DSN=’sql_nt’;
I have this error message :
ERROR: Libname SQL is not assigned. ERROR: Error in the LIBNAME statement. ERROR 22-7: Invalid option name SQL_NT.
I probably do a stupid mistake, but I don't see it.
;