News

This example covers the fundamentals of initiating transactions, and applying COMMIT and REVERT to control changes. This script illustrates the creation and use of temporary tables in SQL. Temporary ...
This project is an open-source (Apache License 2.0) collection of data models and SQL scripts for creating sample database schemas. This project was started after a bit of searching for an existing ...
For example, you can use a TRY-CATCH block to insert data into a table, and if the insertion ... Another way to handle errors and exceptions in SQL scripts is to use RAISERROR or THROW statements.
A simple example of an ftp script that fetches a single ... #dataTMP You’ll need to change the table schema to match your data of course, but this SQL script will do the job for many flat ...
After the SQL trace is collected it should be saved into the SQL table. Bellow I have an example of an SQL script that finds the most expensive AL statements. The trace was saved into the NAV7_Trace ...