Lists Downloading Sample with Sys-Info (SQL-file technology)

This sample demonstrates how to use "$SqlToCsvExp"-command (SqlToCsvExport.exe subprogram).
Two lists are downloaded from the SQL Server: (1) List of SQL-databases; (2) List of SQL-processes.
It is made by two different ways: via SQL-scripts and via SQL stored procedures.
See folowing subfolders: "Downloading via scripts", "Downloading via SP", "Procedures".
To use the second way (with SP) you have initially to translate stored procedures into the database:
"Download_DB_list" and "Download_process_list" (same named SQL-files are in "Procedures" subfolder).
In the both cases the data is saved into corresponding CSV files in UTF-8 with signature (BOM-prefix).

Also in "TXT" subfolder the lists are downloaded via SP, but without help of "$SqlToCsvExp"-command.
It is made by usual $SQLTRANS-command, in form of plane textual report (in UTF-16 with BOM).

Downloading commands are saved in corresponding CMD:
– in "Downloading via scripts"-subfolder: "lists_downloading.cmd";
– in "Downloading via SP"-subfolder: "lists_downloading.cmd";
– in "TXT"-subfolder: "database_list.cmd", "process_list.cmd".

To perform downloading(s) via SP you have initially to translate corresponding stored procedures
(from "Procedures" subfolder).

— — —