Archives of the TeradataForum
Message Posted: Mon, 18 Apr 2005 @ 14:12:59 GMT
<-- Anonymously Posted: Monday, April 18, 2005 09:38 -->
I am using TeraData version v2R5.
I have certain SQL-Queries which I need to execute quite frequently (using diffrent data-values in the 'WHERE' predicate, each time), through the BTEQ GUI interface.
Without using a Macro or a StoredProcedure (I am a user who doesnot have macro or strored procedure creation privileges) ...
HOW CAN I PASS DIFFERENT DATA VALUES FOR EACH PARAMETER in the SQL-Query?
(I don't want to hardcode the data values each time the query is executed, cause that way I have to modfy the query everytime it is to be executed).
HOW TO USE HOST VARIABLES or CLIENT SYSTEM VARIABLES through the 'BTEQ' GUI?
Can anyone provide a workable example of how to use host-variable or client-system-variable in a SQL-Query while using BTEQ, so that my SQL- Query can be parameterised?
Need express help in this regard,
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|