![]() |
VOOZH | about |
The CData JDBC Driver for SAS Data Sets seamlessly integrates SAS Data Sets data into database management tools like DBArtisan by enabling you to access SAS Data Sets data as a database. This article shows how to create a JDBC source for SAS Data Sets in DBArtisan. You can then edit data visually and execute standard SQL.
Follow the steps below to register SAS Data Sets data as a database instance in your project:
Set the following connection properties to connect to your SAS DataSet files:
While the driver is capable of pulling data from SAS DataSet files hosted on a variety of cloud data stores, INSERT, UPDATE, and DELETE are not supported outside of local files in this driver.
Set the Connection Type to the service hosting your SAS DataSet files. A unique prefix at the beginning of the URI connection property is used to identify the cloud data store and the remainder of the path is a relative path to the desired folder (one table per file) or single file (a single table). For more information, refer to the Getting Started section of the Help documentation.
For assistance in constructing the JDBC URL, use the connection string designer built into the SAS Data Sets JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.sasdatasets.jar
Fill in the connection properties and copy the connection string to the clipboard.
👁 Required JDBC connection properties in the Register Datasource wizard. (Salesforce is shown.)Below is a typical connection string:
jdbc:sasdatasets:URI=C:/myfolder;
You can now work with SAS Data Sets data as you work with any other database. See the driver help documentation for more information on the queries supported by the SAS Data Sets API.
👁 The results of a query. (Salesforce is shown.)Download a free trial of the SAS Data Sets Driver to get started:
Download NowLearn more:
👁 SAS Data Sets IconRapidly create and deploy powerful Java applications that integrate with SAS Data Sets.