![]() |
VOOZH | about |
You can use the CData ODBC Driver for MongoDB to integrate live data into your statistical analysis with SAS JMP. The driver proxies your queries directly to the MongoDB API, ensuring that your analysis reflects any changes to the data. The CData ODBC Driver supports the standard SQL used by JMP in the background as you design reports.
The MongoDB API supports bidirectional access. This article shows how to access MongoDB data into a report and create data visualization. It also shows how to use SQL to query and manipulate MongoDB data from the JMP Query Builder.
Accessing and integrating live data from MongoDB has never been easier with CData. Customers rely on CData connectivity to:
MongoDB's flexibility means that it can be used as a transactional, operational, or analytical database. That means CData customers use our solutions to integrate their business data with MongoDB or integrate their MongoDB data with their data warehouse (or both). Customers also leverage our live connectivity options to analyze and report on MongoDB directly from their preferred tools, like Power BI and Tableau.
For more details on MongoDB use case and how CData enhances your MongoDB experience, check out our blog post: The Top 10 Real-World MongoDB Use Cases You Should Know in 2024.
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
Set the Server, Database, User, and Password connection properties to connect to MongoDB. To access MongoDB collections as tables you can use automatic schema discovery or write your own schema definitions. Schemas are defined in .rsd files, which have a simple format. You can also execute free-form queries that are not tied to the schema.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
After you have created the MongoDB DSN, you can use SQL to invoke the capabilities of the MongoDB API. Follow the steps below to execute some supported queries in the Query Builder:
You can execute data manipulation queries from JSL scripts such as the one below. To execute a script, click New Script in the toolbar. To connect, specify the DSN. You can then use the standard SQL syntax:
Open Database( "DSN=CData MongoDB Source;",
"INSERT INTO restaurants
(Name)
VALUES ('Morris Park Bake Shop');");
After importing, you can use the Graph Builder to create graphs visually. To open the Graph Builder, click the Graph Builder button in the toolbar.
Download a free trial of the MongoDB ODBC Driver to get started:
Download NowLearn more:
๐ MongoDB IconThe MongoDB ODBC Driver is a powerful tool that allows you to connect with live MongoDB document databases, directly from any applications that support ODBC connectivity.
Access MongoDB like you would a database - read, write, and update through a standard ODBC Driver interface.