Return to the Java Tips
Java code shortens strings in a SQL table
When writing data to a SQL table, you may run into problems with field size limits. This Java code takes the value passed to the SQL Server table and tests to see if the string is greater than its maximum required length.
http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1322399,00.html
The above link may require a free, or paid, registration to view the article.
[report a broken link by clicking here]