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

Joining tables on fields with varying lengths - response (1) by Raja_KT

$
0
0

Hi,
You can use a combination of TRIM and cast: Try this:
 
 TRIM (BOTH '0' FROM CAST(A.ACCT_NB AS CHAR(50)))  or varchar.
 
Cheers,
Raja


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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