Subject | Substring and negative numbers |
---|---|
Author | Jeremy Poppleton |
Post date | 2016-09-05T15:55:52Z |
This simple query:
SELECT left(c.addr_5, CHAR_LENGTH(c.addr_5)-3) as trimmed
FROM vecusts c
Produces this error
Pressing OK I then get correct values in the trimmed column.
Can anyone assist or tell me what I am doing wrong?
Many thanks
[Non-text portions of this message have been removed]
SELECT left(c.addr_5, CHAR_LENGTH(c.addr_5)-3) as trimmed
FROM vecusts c
Produces this error
Pressing OK I then get correct values in the trimmed column.
Can anyone assist or tell me what I am doing wrong?
Many thanks
[Non-text portions of this message have been removed]