Exit Codes used in Command Line for /formatsql

Last modified: February 16, 2024

If code formatting is run through the command-line interface, the following exit codes are returned depending on the execution result:

Error Code Description Additional Information
0 Success The operation has been completed without errors.
1 UnhandledException See the log for more details.
10 Command line usage error The command line was used incorrectly. For example, an incorrect flag, or incorrect syntax may have been used.
11 Illegal argument duplication Some arguments must not appear more that once.
20 Trial expired The trial period has expired, or dbForge Studio has not been activated.
40 Server connection fail Server connection failed.
104 ParserError dbForge Studio encountered high-level errors when parsing a scripts folder. Use /IgnoreParserErrors to force dbForge Studio continue without exiting. The Error Parsing Scripts dialog box in the dbForge Studio user interface provides additional information to help you resolve script parser errors.
105 Resource unavailable A file is missing.