Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Retrive column name from the table instead of column value which is having leading space. - forum topic by Kiruthi

$
0
0

 
I need column names from the table which is having leading space. To find out this, created stored procedure. The procedure first selecting the columns from the table whch is of char datatype then using cursor we are passing the column names and checking whether it have any leading space, if it has leading space, it should insert the column name in another temp table but the procedure inserting the column value(data) instead of column name.
Can anyone pls help me to get the column name instead of the column value which is having leading space.
 
Thanks in advance!

Forums: 

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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