Hi, I am new to SAS programming, trying to create new SQL Server table and then insert data from SAS dataset. Here are the steps I have used, 1. Create a ODBC data source (Microsoft SQL Server Native Client Version 11.0), as 'XXX_DSN'. 2. Below is the SAS program I have used. LIBNAME FA ODBC DSN='XXX_DSN' schema=dbo datasrc="XXX" user=uid password=pwd; PROC SQL; CREATE TABLE FA.SM_TEST1 ( ID varchar(12) ); quit; I end up getting error as below. NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables. ERROR: Error attempting to CREATE a DBMS table. ERROR: CLI execute error: [Microsoft][SQL Server Native Client 11.0][SQL Server]CREATE TABLE permission denied in database 'YYYYDataMart'.. Please help. Thanks, Shirish
... View more