Stored procedure in teradata

Database
Enthusiast

Stored procedure in teradata

Hi,
I need to create stored procedure in teradata.I am using demo version 7.1
I am executing following procedure

Replace Procedure defdb(Out db varchar(30))
Begin
sel Database Into :db;
End;

while running it is giving error

5862: C/C++ compiler is not installed.
Output directed to Answerset window.

And my question is that

How to install the C/C++ compiler.

or is there any option.

Thanks in Advance.
1 REPLY
Teradata Employee

Re: Stored procedure in teradata

Teradata SPs and UDFs require C/C++ compiler to compile. It will best work with Visual C ++ 6.

Regards,

Adeel