sqlExports is a powerful way for self-hosted customers to get data out of PowerSchool. It works with sqlReports, so if you have a report built in sqlReports and want to automate exports of it, you can do so with sqlExports. If you answer Yes to the following, then sqlExports may be the answer to making your job easier:
- Are you self-hosted and would like to save data to local servers?
- Do you use sqlReports and wish you could automate the saving of the results?
- Are you saving data to local drives and wish the process was as easy as using sqlReports?
sqlExports is an easy way to save data to local drives. All you have to do is create a sqlReport to get the data you want, and then use sqlExports to save the data to the location you specify. For example, you can take a report that outputs this (the screenshots below are based on fictional data):
and save it to either a local drive on your SIS server or to a drive mapped to the server:
It's simple to do. When you run sqlExports, you'll see a list of reports that have been set to work with sqlExports:
You choose the report and if there are parameters, data for the last time the report will run will appear for them or you can change them. The parameters are saved with the export, so if the export runs on a schedule, the same parameters will be used each time the export runs. You can also create several exports of the same report and use different parameters each time.
You can run the exports on a schedule or just run them in the background:
You can choose if you want to include column headers, if you want to create tab or comma delimited files, or if you want to wrap the data in quotes:
Finally, you can specify where to save the data. In the screenshot below, the C drive represents a drive on the SIS server itself. Files can be saved to local drives on the server or any drive mapped to the SIS server:
The file will end up in the location specified:
Advantages to Using sqlExports
- Integration with sqlReports - create the report in sqlReports and make sure it's returning the data you want. Then check the box to use with sqlExports and it's ready to use with sqlExports!
- Use sqlReports Parameters - if your sqlReport has any user parameters, such as Term and Grade in the screenshots above, they will appear as options in sqlExports too.
- No Need to Create PowerQueries - pulling data via SQL is a lot easier to do in sqlReports vs a PowerQuery, especially if you've never created a PowerQuery. No need for PowerQueries with sqlExports!
- Access to Data - with sqlExports you can export any data you can use in sqlReports, which includes several tables not available in AutoSend, PowerQueries, or Data Export Manager.
Frequently Asked Questions
Do I need to be on a specific version of the SIS to use it?
Yes - you must be on SIS version 12 or higher.
Can sqlExports do SFTP or FTPS?
No - sqlExports is based on the reporting engine feature of PowerSchool, however, PowerSchool has never added SFTP to it like it did with AutoSend and Date Export Manger. Plus, PowerSchool itself does not do FTPS, so sqlExports can not do FTPS either. You could use sqlExports to save the export on the server or ftp it to another local server, and then use Window's task scheduler or a 3rd party program to run a SFTP client that takes the file and securely FTP's it.
Will all of my sqlReports reports work with sqlExports?
99% of them should. Reports with "square bracket" coding in the sql will not work with sqlExports. That includes ~[if] commands and the ~[temp.table.current.selection:students] current selection command. The if commands though you should be able to replace with CASE commands. There's no work around for the current selection command.
Is there a free version of sqlExports available?
Yes - there's a version known as sqlExports Classic in the Downloads area of the site. Below is a breakdown of how it compares to the other versions of sqlExports:
|sqlExports Classic||sqlExports Premium||sqlExports Pro|
|Availability||Free for those with an account on this site||Part of the sqlReports Subscription||Part of the sqlExports Subscription*|
|Output||Report Queue||Report Queue||Report Queue or Server|
|File Extensions||Tab||Tab or Comma||Tab or Comma|
|Field Delimiters||Tab||Tab or Comma||Tab or Comma|
|Wrap Output in Quotes||No||Yes||Yes|
|User Parameters||Not Available||Available||Available|
|Report Location||sqlExports Report Group||Any Report in sqlReports||Any Report in sqlReports|
|Run Access Security||Not Available||Available||Available|
*New sqlExports Subscriptions will only be accepted through December 31, 2021. As of January 1, 2022, only renewals to existing sqlExports Subscriptions or expired sqlExports Subscriptions will be accepted. Click here for an article from May 11, 2021, with more information.