SELECT statement is the most used keyword in any SQL language. Using it intelligently saves a lot of time and memory usage. The basic full syntax for the SELECT statement in Teradata SQL goes like this; SELECT [ALL][TOP {integer | decimal} [PERCENT][WITH TIES]] {*[.ALL]} FROM [joined_table [RIGHT] JOIN joined_table ON search condition] [FULL] [CROSS JOIN] [...]
Archive for July, 2007
Some Frequently used BTEQ commands
To run a very long SQL query put it in a file and run the file from the BTEQ command prompt as follows .run file=filename path (i.e. c:\mypath\mysubpath\myfirstBTEQ.txt; To set/change default database for the session; Database <database name>; To display all the default BTEQ settings show control; To show object (table, view etc) definition or [...]
More From Choose a category
Recently in Choose a category
Latest in Choose a category
Tags Cloud
Recent Comments
- admin on Arithmetic Functions and Operators in Teradata SQL.
- jampa on Arithmetic Functions and Operators in Teradata SQL.
- Rahul Kale on Transaction Management
- Ravi prakash on Usage of Macro in Teradata
- bhanwar on How To Choose A Good Online Traffic School
Archives
- March 2011 (1)
- March 2010 (1)
- December 2009 (1)
- December 2007 (1)
- November 2007 (1)
- October 2007 (16)
- September 2007 (3)
- August 2007 (21)
- July 2007 (17)
- June 2007 (15)
- May 2007 (8)
- April 2007 (4)



