There a couple of ways you can do this, one by using the function ‘COALESCE’ and the other one is using CASE expression. COALESCE is a simple function which takes one or more column names and a replacement (default) value which can be displayed in case of the missing data. For example, in an employee [...]
Archive for June, 2007
Why do Asterisk/star sign appear in your output/result set in Teradata.
This is a very common problem while displaying some numbers (numeric values) using the format function in Teradata. Instead of the numbers, you would see a bunch of wild char characters (‘*’); If you run the following SQL in Teradata SQL Assistant Version 7.1 SELECT cast ((545458874489 (format ’999-999-9999′)) as char (15)) as Format_Cast_PhoneNum Output [...]
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)



