BookmarkSubscribeRSS Feed
Datino
Obsidian | Level 7

Hello,

 

I have code that looks like this:

 

PROC SQL;
	CONNECT TO ORACLE
		(PATH=ORCL user="user" password="password123");

How do I change it to use a SQL Server data base instead of Oracle?

3 REPLIES 3
argerapor
Calcite | Level 5
Right click on Explorer screen and select new.
Select odbc in engine section. Enter username and password. Did it happen this way?
this is the library but I don't know what to do next
SASKiwi
Opal | Level 21

What SAS/ACCESS product are you using for SQL Server? ACCESS to SQL Server or ACCESS to ODBC? What OS does your SAS software run on?

argerapor
Calcite | Level 5

ı problem solved: 

 

LIBNAME Newlib ODBC NoPrompt="Driver={SQL Server}; Server=xservernamex; Database=xdbnamex; user=; pwd=";

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 290 views
  • 0 likes
  • 3 in conversation