User Defined Input
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


User Defined Input Expand / Collapse
Author
Message
Posted 8/10/2006 10:49:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/8/2006 1:25:00 PM
Posts: 2, Visits: 1
Oracle has a command that allows a user to input a variable and then that variable gets used in the SQL.

-----------
Example:
Select data
From table1
Where
TO_NUMBER(TO_CHAR(db1.table1.effective_dt,'YYYY')) in @variable('Enter Years (separated by a comma)') AND....
-----------------

When the query is run, a pop-up window appears asking the user which years he/she wants to look at.

Does Teradata have a similar function that reads input information and then uses that within the SQL?

Ultimately, I want to create an Excel model that is reading from a Teradata database and I want the users to input info into message boxes and have that input used in the SQL.


-Rob
Post #4871
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 1 ( 1 guest, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 6:31am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 9 queries. Compression Disabled.