Want to copy data from SQL Server query results to MongoDB collection?
Using DBToMongo, a SQL Server to MongoDB converter for Windows, MacOS, and Linux, you can transfer data from SQL Server query to MongoDB collection easily and fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support all MongoDB deployment types: standalone, replica set, sharded cluster, and MongoDB Atlas.
Copy data from SQL Server query results To MongoDB collection
Login to SQL Server.
Login to MongoDB.
Click “Convert From Query” at task dialog.
then show the wizard.
1. Enter source SQL Server query.
2. Choose destination MongoDB collection and config fields.
3. Summary.
4. Export SQL Server query results to MongoDB collection.
Click “View”, See MongoDB collection data.
Copy data from SQL Server query results to MongoDB in command line
Save “SQL Server query to MongoDB” session, then you can:
- Copy data from SQL Server query results to MongoDB in Windows command line.
- Copy data from SQL Server query results to MongoDB in Linux command line.
- Copy data from SQL Server query results to MongoDB in macOS command line.
Set scheduled tasks for coping data from SQL Server query results to MongoDB
You can schedule and automate this converting task by:
1) Save session and create .bat file.
2) Set scheduled task for Windows.