Archives of the TeradataForum
Message Posted: Wed, 15 Sep 2004 @ 16:08:46 GMT
I'm trying to automate the creation of some stored procedures and I would like to do it via a BTEQ script. Is this possible or is there another way? Forgive me is this is obvious, but a fairly new to Teradata.
for example if this is my script below, I'm getting this error "*** Failure 3706 Syntax error: Invalid SQL statement. Statement# 1, Info=33"
.RUN file = C:\NCR\Logon\DBC.txt; REPLACE PROCEDURE SLAKE.Proc01() BEGIN DECLARE BusinessCloseDate DATE; DECLARE BusinessCloseDateMonthEnd DATE; DECLARE RecCount INTEGER; END; .QUIT ERRORCODE;
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|