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
↧
How to store a field value of a table column into variables in Stored Procedure - topic by darnost
↧