Execute the ctchkbin utility to scan an entire server or a single database for tables that may be affected by the binary/varbinary issue. The syntax of ctchkbin is as follows:
Operational Model:
Usage:
ctchkbin.exe [-f] [-s server] [-u username] [-a password] [-d database]
Where:
Example
ctchkbin.exe –s FAIRCOMS –u ADMIN –a ADMIN –d ctreeSQL
The ctchkbin utility output to the screen the result of the check scan, printing one table per line, with the following columns:
database table status comments
Where:
Example output
ctreeSQL admin_tb1 0
ctreeSQL admin_tb11 0
ctreeSQL admin_tb12 0
ctreeSQL admin_tb13 3 User may choose CTDB_BINARY_WITH_LENGTH or CTDB_BINARY_WITHOUT_LENGTH
ctreeSQL admin_tb14 3 User may choose CTDB_BINARY_WITH_LENGTH or CTDB_BINARY_WITHOUT_LENGTH
ctreeSQL admin_tb2 0
ctreeSQL admin_tb3 0
ctreeSQL admin_tb4 0