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

Passing parameter in macro/procedure - topic by Kalidasrajendran

$
0
0
Hi,   Is there any option available in Teradata to set a default value, while initializing a parameterised variable?   Example: In Oracle, we have like Create or replace procedure sample (firstname varchar(20) DEFAULT NULL, lastname varchar(20) DEFAULT NULL) as  BEGIN --- statement block END sample;   If we does not pass value to variable lastname, it will automatically consider NULL as Default value and pass it into procedure. So, there is NO compulsory to pass value.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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