![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 16 Feb 2005 @ 20:19:37 GMT
Hi Teradata does not support declaring Local Variables in normal BTET mode Of course you can declare local variable inside a procedure You can over come this difficulty using OS Commands If Teradata is installed on UNIX you can Write a UNIX shell script and invoke Bteq from your shell script Hope you can use this sample script and convert your oracle code to Teradata Sudha Here is a sample shell script to Declare variable
xstrategy_number=0928
tablename=ud1.sample
bteq< | ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||