1 回答
- 最新
- 投票最多
- 评论最多
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,
相关内容
- AWS 官方已更新 2 年前
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,