java.sql.SQLException: String or binary data would be truncated.


Solutions on the web58

Solution icon of web
String or binary data would be truncated.

Solution icon of web
Argument data type text is invalid for argument 1 of upper function.

Solution icon of stackoverflow
via Stack Overflow by Pureé Ad
, 7 months ago
String or binary data would be truncated.

Solution icon of sourceforge
via jtds by admadic
, 1 year ago
Column, parameter, or variable #2: Cannot find data type date.

Solution icon of sourceforge
The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x26 has an invalid data length or metadata length.

Solution icon of liferay
via Liferay Issues by Neil Griffin, 1 year ago
The ntext data type cannot be selected as DISTINCT because it is not comparable.

Solution icon of web
The ntext data type cannot be selected as DISTINCT because it is not comparable.

Solution icon of liferay
via Liferay Issues by Neil Griffin, 1 year ago
The ntext data type cannot be selected as DISTINCT because it is not comparable.

Solution icon of web
The ntext data type cannot be selected as DISTINCT because it is not comparable.

Solution icon of web
via liferay.com by Unknown author, 1 year ago
The ntext data type cannot be selected as DISTINCT because it is not comparable.

Stack trace

java.sql.SQLException: String or binary data would be truncated.
	at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)
	at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)
	at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

72 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
3 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
22 more bugmates