When we last left thread328-281471 , we had decided you had the wrong TUF release. I am glad to see we are beyond that.
Ok...you take your stored procedure....
Replace Procedure GetCount(Parent Integer)
Begin
Declare x Integer;
Select count() into :x from mytable;
print x;
End
and put it in a file mysp.spl then you execute.....
.compile file = mysp.spl
If you are getting this error from the .compile I wonder if you have a DROP TABLE statement in your SPL and the PARSER is detecting you are trying to drop a Global Temp Table instead of a REAL table.
thanks for your reply.... from bteq i'm getting a different error...
BTEQ -- Enter your DBC/SQL request or BTEQ command:
.compile file='proc1.spl'
.compile file='proc1.spl'
*** Error: No TDSP support in the current RDBMS
i'm not getting that Expected GLOBAL TEMPORARY TABLE error..... how do i resolve this....
i tried to find the teradata version using the below sql
select
*
from
dbc.dbcinfo
and got
RELEASE V2R.03.00.01.00
VERSION
is that right?????????
how do i find the version no from the server.... from supvr in Database window i typed
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.