Archives of the TeradataForum
Message Posted: Wed, 25 Jan 2006 @ 12:08:05 GMT
Subj: | | Re: Procedures in Terradata.. |
|
From: | | cbarrineau |
Have you compiled the Stored Procedure? This is required in BTEQ (but not Queryman...you can simply execute the Create Procedure statement in
Queryman.)
Here is the content of a file which needs to be executed to compile your Stored Procedure in BTEQ:
..............
.logon ????;
.Errorout Stdout;
BT;
SELECT date, time;
.COMPILE FILE /location of file/SP_FileName.txt
ET;
.If Errorlevel <> 0 Then .Exit Errorcode
.Quit
.................
Hope this helps,
Clay
|