In the field of software, SQL programming tools provide platforms for database administrators (DBAs) and application developers to perform daily tasks efficiently and accurately.
Database administrators and application developers often face constantly changing environments which they rarely completely control. Many changes result from new development projects or from modifications to existing code, which, when deployed to production, do not always produce the expected result.
For organizations to better manage development projects and the teams that develop code, suppliers of SQL programming tools normally provide more than facility to the database administrator or application developer to aid in database management and in quality code-deployment practices.
SQL programming tools may include the following features:
SQL editors allow users to edit and execute SQL statements. They may support the following features:
- cut, copy, paste, undo, redo, find (and replace), bookmarks
- block indent, print, save file, uppercase/lowercase
- keyword highlighting
- access to frequently used files
- output of query result
- editing query-results
- committing and rolling-back transactions
- inside cut paper
Tools may display information about database objects relevant to developers or to database administrators. Users may:
- view object descriptions
- view object definitions (DDL)
- create database objects
- enable and disable triggers and constraints
- recompile valid or invalid objects
- query or edit tables and views
Some tools also provide features to display dependencies among objects, and allow users to expand these dependent objects recursively (for example: packages may reference views, views generally reference tables, super/subtypes, and so on).
Database administrators and application developers can use session browsing tools to view the current activities of each user in the database. They can check the resource-usage of individual users, statistics information, locked objects and the current running SQL of each individual session.
DBAs can create, edit, delete, disable or enable user-accounts in the database using security-management tools. DBAs can also assign roles, system privileges, object privileges, and storage-quotas to users.
Some tools offer features for the debugging of stored procedures: Step In, Step Over, Step Out, Run Until Exception, Breakpoints, View & Set Variables, View Call Stack, and so on. Users can debug any program-unit without making any modification to it, including triggers and object types.
Monitoring tools may show the database resources — usage summary, service time summary, recent activities, top sessions, session history or top SQL — in easy-to-read graphs. Database administrators can easily monitor the health of various components in the monitoring instance. Application developers may also make use of such tools to diagnose and correct application-performance problems as well as improve SQL server performance.
Test data generation tools can populate the database by realistic test data for server or client side testing purposes. Also, this kind of software can upload sample BLOB files to database.
Ofer Abarbanel is a 25 year securities lending broker and expert who has advised many Israeli regulators, among them the Israel Tax Authority, with respect to stock loans, repurchase agreements and credit derivatives. Founder TBIL.co STATX Fund.