![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 07 Oct 2010 @ 12:42:43 GMT
Hi, I created a macro
//Similar to SQL Server procedure as we doing a migration//
Create macro testmacro
(
P_id int default null,
P_name varchar(100) default null,
P_dept varchar(100) default null
)
As
Select :p_id,:P_name,P_dept;
)
;
Exec testmacro();
I am getting the following error; [3816] The positional parameter list has few values. If executing with Exec testmacro(P_id = 1); // now it is working but I need similar functionality as of sql server Anyone please help me on this.. Regards Asish
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||