📄 dbmanagerlimits.out
字号:
Test - maximum length of character constant is 32672 and that of hex constant is 16336First testing less than maximum constant lengths through insert statementNext testing less than maximum constant lengths through valuesNext testing maximum constant lengths through insert statementNext testing maximum constant lengths through valuesNext testing maximum constant lengths + 1 through insert statementexpected exception A string constant starting with ''aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.expected exception A string constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.Next testing maximum constant lengths + 1 through valuesexpected exception A string constant starting with ''aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.expected exception A string constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.Next testing maximum constant lengths + n through insert statementexpected exception A string constant starting with ''aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.expected exception A string constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.Next testing maximum constant lengths + n through valuesexpected exception A string constant starting with ''aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.expected exception A string constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' is too long.Next testing odd number of hex digits in a hex constant through insert statementexpected exception An invalid hexadecimal constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' has been detected.And finally testing odd number of hex digits in a hex constant through values statementexpected exception An invalid hexadecimal constant starting with 'X'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&' has been detected.Test - most columns allowed in a tableFirst create a table with one column less than maximum allowed number of columns Try alter table on it to have table with maximum allowed number of columns Try another alter table to have table with one column more than maximum allowed number of columnsexpected exception Too many columns (1013) were specified for table or view T1. The limit is 1012.Next create a table with maximum allowed number of columns Try alter table to have table with more columns than maximum allowed number of columnsexpected exception Too many columns (1013) were specified for table or view T1. The limit is 1012.Found 1012 columns/parameters through meta dataNext create a table with one column more than maximum allowed number of columnsexpected exception Too many columns (1013) were specified for table or view T1. The limit is 1012.Finally, create a table with 2 columns more than maximum allowed number of columnsexpected exception Too many columns (1014) were specified for table or view T1. The limit is 1012.Test - most columns allowed in a viewFirst create a view with one column less than maximum allowed number of columnsNext create a view with maximum allowed number of columnsFound 5000 columns/parameters through meta dataNext create a view with one column more than that maximum allowed number of columnsexpected exception Too many columns (5001) were specified for table or view V1. The limit is 5000.And finally create a view with 2 columns that maximum allowed number of columnsexpected exception Too many columns (5002) were specified for table or view V1. The limit is 5000.Test - most elements allowed in a select listFirst try a select with one column less than maximum allowed number of columnsNext try a select with maximum allowed number of columnsNext try a select with one column more than maximum allowed number of columnsexpected exception SELECT statement has too many items in GROUP BY, ORDER BY or select list.Next try a select with 2 more columns than maximum allowed number of columnsexpected exception SELECT statement has too many items in GROUP BY, ORDER BY or select list.Test - most columns allowed in a ORDER BY clauseFirst try order by with one column less than maximum allowed number of columnsNext try an order by with maximum allowed number of columnsNext try an order by with one column more than maximum allowed number of columnsexpected exception SELECT statement has too many items in GROUP BY, ORDER BY or select list.And finally try an order by with 2 more columns than maximum allowed number of columnsexpected exception SELECT statement has too many items in GROUP BY, ORDER BY or select list.Test - most parameters allowed for a stored procedureFirst create a procedure with one parameter less than maximum allowed number of parametersNext create a procedure with maximum allowed number of parametersFound 90 columns/parameters through meta dataAnd finally create a procedure with more parameters that maximum allowed number of parametersexpected exception The limit for the number of parameters for a procedure has been exceeded. Limit is 90 and number of parameters for procedure P3 are 91.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -