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

How to store a field value of a table column into variables in Stored Procedure - topic by darnost

$
0
0
Hi all, I would like to put a value from a column field int a variable and I cannot find a way how to do it in Stored procedures. What I would need: to count number of rows of a table and compare it with a count of a specific value from a specific column of the table. Therefore would be fine to find a way how to enter output of 'Select count(*) from TeradataTable' to a variable  'TableRowsCount'. Is that possible at all? many thanks for help. Dan  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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