All database components use the following executable return codes. The header file SQLDEF.H has constants defined for these codes.
Code | Explanation |
---|---|
0 | Success |
1 | General failure |
2 | Invalid file format, and so on |
3 | File not found, unable to open, and so on |
4 | Out of memory |
5 | Terminated by user |
6 | Failed communications |
7 | Missing required database name |
8 | Client/server protocol mismatch |
9 | Unable to connect to database engine |
10 | Database engine not running |
11 | Database server not found |
254 | Reached stop time |
255 | Invalid parameters on command line |