Access Live SAS xpt Data in Google Sheets

Ready to get started?

Learn more or sign up for a free trial:

CData Connect Server


Use CData Connect Server to create a virtual MySQL Database for SAS xpt data and gain access to live SAS xpt data from your Google Sheets.

Google Sheets is a free, web-based spreadsheet program. When paired with CData Connect Server, you can instantly access SAS xpt data from within Google Sheets for data analysis, collaborations, calculations, and more. This article shows how to connect to SAS xpt in your Connect Server instance and access live SAS xpt data in Google Sheets.

CData Connect Server provides a pure MySQL interface for SAS xpt, allowing you to easily access live SAS xpt data in Google Sheets. Simply use the partner Connect Server Connector to generate a query (or write your own). Using optimized data processing out of the box, CData Connect Server pushes all supported query operations (filters, JOINs, etc) directly to SAS xpt, leveraging server-side processing to quickly return SAS xpt data.

This setup requires a CData Connect Server instance and the CData Connect Server Connector for Google Sheets. To get started, get a free trial of Connect Server and download the free Connect Server Google Sheets Connector.


Create a Virtual MySQL Database for SAS xpt Data

CData Connect Server uses a straightforward, point-and-click interface to connect to data sources and generate APIs.

  1. Log into Connect Server and click Connections.
  2. Select "SAS xpt" from Available Data Sources.
  3. Enter the necessary authentication properties to connect to SAS xpt.

    Connecting to Local SASXpt Files

    You can connect to local SASXpt file by setting the URI to a folder containing SASXpt files.

    Connecting to S3 data source

    You can connect to Amazon S3 source to read SASXpt files. Set the following properties to connect:

    • URI: Set this to the folder within your bucket that you would like to connect to.
    • AWSAccessKey: Set this to your AWS account access key.
    • AWSSecretKey: Set this to your AWS account secret key.
    • TemporaryLocalFolder: Set this to the path, or URI, to the folder that is used to temporarily download SASXpt file(s).

    Connecting to Azure Data Lake Storage Gen2

    You can connect to ADLS Gen2 to read SASXpt files. Set the following properties to connect:

    • URI: Set this to the name of the file system and the name of the folder which contacts your SASXpt files.
    • AzureAccount: Set this to the name of the Azure Data Lake storage account.
    • AzureAccessKey: Set this to our Azure DataLakeStore Gen 2 storage account access key.
    • TemporaryLocalFolder: Set this to the path, or URI, to the folder that is used to temporarily download SASXpt file(s).

  4. Click Save Changes
  5. Click Privileges -> Add and add the new user (or an existing user) with the appropriate permissions.

With the virtual database created, you are ready to connect to SAS xpt data from Google Sheets.

Access Live SAS xpt Data in Google Sheets

The steps below outline connecting to CData Connect Server from Google Sheets to access live SAS xpt data.

  1. Log into Google Sheets, create a new sheet (or open an existing one).
  2. Click Add-ons and click Get Add-ons (if you have already installed the Add-on, jump to step 5).
  3. Search for CData Connect Server Connector and select the Add-on.
  4. Authorize the Connector.
  5. Back in Google Sheets, click Add-ons and open the CData Connect Server Connector.
  6. Use your instance name (myinstance in CONNECT_SERVER_URL), username, and password to connect to your Connect Server instance.
  7. Click CREATE to access SAS xpt data through your Connect Server instance.
  8. Select a Database (e.g. SASXpt1) and click Next.
  9. Select a Table (e.g. SampleTable_1) and Fields (columns), add any sorting, filtering, and limits and click Execute.

SQL Access to SAS xpt Data from Applications

Now, you have a direct connection to live SAS xpt data from your Google Sheets workbook. You can add more data to your workbook for calculations, aggregations, collaboration, and more.

Try CData Connect Server and get SQL data access to 200+ SaaS, Big Data, and NoSQL sources directly from your applications.