How to handle nulls in Teradata???
How many columns can be there in a table???
How to find average sal with out using avg function????

Answer Posted / tdguy

1. use coalesce(column1,column2) or case when column1 is
nul...end or zeroifnull(column1) to handle nulls.
2. in TD 14.0 there can be 2048 columns per table.
3. sum/count gives you the average of the field.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is collect statistics?

774


What is meant by a Parsing Engine?

928


Which is more efficient group by or distinct to find duplicates?

864


What is inner join and outer join?

820


Explain vproc in teradata?

767


What are the frequently used data types in teradata?

795


Differentiate primary key and partition key?

756


What are the string manipulation operators and functions associated with teradata?

840


What is spool space? Why do you get spool space errors?

703


What are the steps to create a data model?

794


What is a three-tier data warehouse?

811


What is upsert statement in teradata?

823


Explain the term 'columns' related to relational database management system?

768


Explain teradata architecture?

853


What is dimensional modeling?

819