Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

How to cast a clob to varchar - forum topic by pmehrotr

$
0
0

I have  a clob cloumn called mytext
select substr(mytext, 1, 500) from my table
Still substr is returned as clob because it is taking me to store this reuslt in some file in Tredata Studio. How can I get a substr as varchar. Have not been succesful in finding the answer googling.
Thanks.

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>