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

AxioWorks Newsletter September 2023: An exhilarating month.

30 Sep 2023

Hello Reader, September has been a bustling and exhilarating month for us at AxioWorks, filled with advancements, collaborations, and a whole lot of […]
[read article]

The Collaborative Pathway: Bridging Minds in the AI Ecosystem

19 Sep 2023

In recent days, I found myself immersed in an enlightening conversation with a friend, a fellow entrepreneur steering his ship in the vast sea of […]
[read article]

AxioWorks Newsletter August 2023: A month of milestones and innovation.

28 Aug 2023

Hello Reader, September seems to be a month of unexpected milestones and continued innovations at AxioWorks. As the summer wanes and the autumn […]
[read article]

Use Graph API in Power Automate to read large Excel files from SharePoint

28 Aug 2023

Power Automate, a part of Microsoft’s suite of tools, is increasingly becoming a preferred choice for automating workflows and business […]
[read article]

From Punch Cards to Python: Still Hitting the Keys in my 50s

16 Aug 2023

I spent the entire weekend writing code, not because of deadlines to meet or million-pound dreams, but for the kick that I still get from doing it. […]
[read article]

AxioWorks Newsletter July 2023: Unveiling AxioWorks’s latest successes and exciting innovations

27 Jul 2023

Hello Reader, We hope this monthly update finds you in good spirits. As always, we are eager to share the latest developments and exciting ventures […]
[read article]

AI and Data: The Symbiosis of Interaction and Accuracy

13 Jul 2023

Artificial Intelligence (AI) has rapidly emerged as a revolutionary technology that fundamentally alters the nature of human-machine interactions. […]
[read article]

AxioWorks Newsletter June 2023: SQList v8 Release, Webinars, and New Product Development

30 Jun 2023

Hello Reader, Greetings to all our valued customers and subscribers! We are thrilled to share some exciting updates and developments with you in this […]
[read article]

Safeguarding Secrets with Secure Strings and Environment Variables in the Power Platform

26 Jun 2023

In today’s interconnected digital landscape, safeguarding sensitive information and maintaining robust security measures is of paramount […]
[read article]

Case study: Streamlining Medical Trial Data Analysis in the Pharmaceutical industry

15 Jun 2023

In the ever-evolving landscape of the pharmaceutical industry, conducting medical trials and analysing the resulting data are critical for the […]
[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

*