Our use of cookies

We use cookies to tailor your experience, gather analytics, and provide you with live assitance. By clicking "Accept" or continuing to browse our site you agree to the use of cookies. For more details please read our Cookie Policy.

Set up a scheduled export of SharePoint lists and libraries to SQL Server Tables

Set up a scheduled export of SharePoint lists and libraries to SQL Server Tables

In this article we will see how to:

  • Schedule exports of SharePoint lists and libraries to normalised SQL Server database tables without any development effort
  • Use the windows task scheduler and SQList to provide automated replications of complicated SharePoint data structures
  • Get around SharePoint list threshold and lookup threshold issues
  • Make SharePoint data available to SSRS, PowerBI, Tableau, SAP HANA and other BI applications as part of a scheduled job.

AxioWorks SQList allows reporting and BI professionals to expose SharePoint lists and libraries as normalised SQL Server database tables without the need for any development. All SQL tables and column mappings and created and managed by the SQList executable or service.

As of SQList 5.2 Professional Plus, it is now possible to run SQList synchronisations on demand, rather than as a service that continually checks for changes. This is useful when you do not need to have changes in SharePoint immediately replicated to SQL server, but rather at scheduled intervals (e.g. once a day).

SQList can now run as a console application so that it can be executed in a command prompt window, a batch file, or as a scheduled job (e.g. using Windows task scheduler). Once you have used the SQList manager to configure your replication, do not start the windows service and instead open a command prompt and execute SQList as follows:

AxioWorks.SPDBService.exe singleCycle
 [logToConsole]
The parameter singleCycle instructs SQList to stop running after one synchronisation cycle, rather than keep checking for changes indefinitely. The optional parameter logToConsole redirects the log messages to the console, rather than the Windows event log (the default).This is an example of an execution from command prompt:
A few notes:

  • The executable AxioWorks.SPDBService.exe is located in the SQList installation folder, by default: C:\Program Files (x86)\AxioWorks\AxioWorks SQList;
  • SQList must be run with administrator privileges;
  • If there are errors, SQList will not retry the replication but proceed to the end of the cycle.

Download a 14 day fully working trial

Fill in the form below to receive a fully working evaluation 14 day license.

[avia_codeblock_placeholder uid="0"]

Latest articles

What went down at MS Ignite 2021: Power Automate and Power Virtual Agent Edition

14 Jan 2022

When we talk about the biggest annual tech conferences of the year, Microsoft Ignite comes to mind where not only do we get a view of all their […]
[read article]

What went down in MS Ignite 2021 : Power Apps Edition

30 Dec 2021

When we talk about the biggest annual tech conferences of the year, Microsoft Ignite comes to mind where not only do we get a view of all their […]
[read article]

AxioWorks Newsletter December 2021: How has 2021 been for you?

28 Dec 2021

Hello Reader, Welcome to another exciting issue of our monthly Newsletter! Each month, we try our best to bring to you content that is relevant and […]
[read article]

AxioWorks Newsletter November 2021: What has AxioWorks been up to?

03 Dec 2021

Hello Reader, Welcome to another exciting issue of our monthly Newsletter! Each month, we try our best to bring to you content that is relevant and […]
[read article]

What went down in MS Ignite 2021 : Power BI Edition

30 Nov 2021

When we talk about the biggest annual tech conferences of the year, Microsoft Ignite comes to mind where not only we get a view of all their product […]
[read article]

AxioWorks Newsletter October 2021: Focus on customer service and a webinar on its way

01 Nov 2021

Hello Reader, Welcome to another exciting issue of our monthly Newsletter! Each month, we try our best to bring to you content that is relevant and […]
[read article]

Gain valueable Insights into your PowerApps using Application Insights

25 Oct 2021

Power Platform provides a great way for citizen developers to develop Apps using low-code /no-code tools like PowerApps, PowerAutomate, and PowerBI. […]
[read article]

AxioWorks Newsletter September 2021: Focus on our sales effort

18 Oct 2021

Hello Reader, Welcome to another exciting issue of our monthly Newsletter! Each month, we try our best to bring to you content that is relevant and […]
[read article]

Why use SQList to generate Power BI reports from SharePoint lists, rather than using the Power BI native connector to SharePoint?

18 Oct 2021

The main reason is that in practical terms using the native connector only works for small amount of data and simple queries. When you start using it […]
[read article]

SharePoint Online List vs SQL Server as Data Source in Power-BI

15 Sep 2021

Lists are primarily used as a source of data storage in the world of SharePoint and in most scenarios these lists can grow really fast especially if […]
[read article]

Get SharePoint and SQL news to your inbox

Stay up-to-date with industry news and trends, SQL and SharePoint innovations and all the latest from AxioWorks by subscribing to our monthly newsletter.

Subscribe to the AxioWorks newsletter

*