Archives of the TeradataForum
Message Posted: Thu, 13 Oct 2005 @ 09:06:19 GMT
Subj: | | Re: BTEQ - Macros inside transactions |
|
From: | | Michael Larkins |
If you want both statements to be part of the same transaction in BTEQ, change your code to this:
exec macrotest ( 43213)
; insert into test values ('10',10);
In BTEQ, any time an SQL statement is on the same line as the semi-colon it is automatically part of the transaction. This has no
impact in SQL Assistant.
Regards,
Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor
|