Archives of the TeradataForum
Message Posted: Fri, 28 Feb 2014 @ 17:14:34 GMT
Subj: | | Re: DBQL queryband column population for individual stored procedure DML statements |
|
From: | | Frydryszak, Marek |
Queryband for session is not supported in SPL.
Set query_band statement in Teradata mode is transaction itself, so you should use:
BT;
Set query_band ... for transaction;
< some other SQLs>
ET;
You can also enforce multistatement:
begin request
Set query_band ... for transaction;
< some other SQLs >
end request;
|