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
- asked 2 years ago
- asked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago