![]() |
|
Archives of the TeradataForumMessage Posted: Fri, 09 May 2008 @ 15:52:05 GMT
Hi Pete: Have you considered using a macro instead of a view?
create macro acct_access (acct_no int) as
(sel * from account_table
where acct_number = :acct_no;);
exec acct_access (1234567)
Plus, you can put more than one SQL statement into a macro and build a transaction. Hope this helps, Michael Larkins
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||