1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
The first input parameter for the substr function should be a varchar/char. Have you tried CASTing it? For example:
select substr(cast(column_name as varchar(column_length)), 1,10) ...
Thanks,
Relevant content
- AWS OFFICIALUpdated 8 months ago
