Nice easy one for this morning.
Ok, here's my little sql statement
SELECT SUBSTR(quote,1,20) FROM b_quotes WHERE id='74'
This is returning an empty result which is confusing because if I call upon any other part of that record (the customers email address for example) it returns it perfectly. I've tried variations and it always seems to be the SUBSTR part that is failing.
could anyone shed some light on this?
Thanks Shane
SELECT quote, SUBSTR(quote,1,20) FROM b_quotes WHERE id='74'?SELECT SUBSTR(quote,1,20) AS q FROM b_quotes WHERE id='74'