X006: String constant too long.
String constants selected in a query may be up to 4056 characters long. Varchar and long varchar columns can be longer, so you could store a longer value in a table and retrieve it.
Parent topic:
X000 - X049