![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 12 Aug 2011 @ 11:39:38 GMT
<-- Anonymously Posted: Friday, August 12, 2011 07:25 --> Hi Avinash, If you have declared a variable inside the procedure, you can assign the value as follows:
declare variable_num decimal(20,0);
select num_value
into variable_num
from dbname.tablename
Please let know whether this is what you were looking for.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||