Teradata Interview Questions
1. What Is Basic Teradata Query Language?
Answer :
1. It allows us to write SQL statements along with BTEQ commands. We can use BTEQ for importing, exporting and reporting purposes.
2. The commands start with a (.) dot and can be terminated by using (;), it is not mandatory to use (;).
3. BTEQ will assume any thing written with out a dot as a SQL statement and requires a (;) to terminate it. know more at Teradata online trainingQuestion 2. What Is The Difference Between Fastload And Multiload?
Answer :
FastLoad uses multiple sessions to quickly load large amount of data on empty table. MultiLoad is used for high-volume maintenance on tables and views. It works with non-empty tables also. Maximum 5 tables can be used in MultiLoad.
4. Difference Between Inner Join And Outer Join?
Answer :
An inner join gets data from both tables where the specified data exists in both tables. An outer join gets data from the source table at all times, and returns data from the outer joined table ONLY if it matches the criteria.
Question 5. What Is Multi Insert?
Answer :
Inserting data records into the table using multiple insert statements. Putting a semi colon in front of the key word INSERT in the next statement rather than terminating the first statement with a semi colon achieves it. know more at Teradata training
6. Is Multi Insert Ansi Standard?
Answer :
No.
Answer :
Create table Customerdummy as Customer with data / with no data;
Question 8. What Is The Opening Step In Basic Teradata Query Script?
Answer :
.Logon tdipid/username, password.
Question 9. Can You Fastexport A Field, Which Is Primary Key By Putting Equality On That Key?
Answer :
No.
Question 10. Did You Write Stored Procedures In Teradata?
Answer :
No, because they become a single amp operation and my company didn’t encourage that.
11. What Is The Use Of Having Index's On Table?
Answer :
For faster record search.
Answer :
Not necessary but it is good to add a QUIT statement after a query.
Answer :
Sub string is used with char fields. So it cannot be used. To extract month from a date column, ex select extract (month from <column name>). Same thing for year or day. Or hour or minutes if it’s a time stamp (select extract (minute from column name). know more at Teradata online training from India
14. What's The Syntax Of Sub String?
Answer :
SUBSTRING (string_expression, n1 [n2]).
15. While Creating Table My Dba Has Fallback Or No Fallback In His Ddl. What Is That?
Answer :
FALLBACK requests that a second copy of each row inserted into a table be stored on another AMP in the same cluster. This is done when AMP goes down or disk fails.
Answer :
Using RELEASE MLOAD. It removes access locks from the target tables in Teradata. It must be entered from BTEQ and not from MultiLoad. To proceed, you can do RELEASE MLOAD <table name>.
17. How To Find Duplicates In A Table?
Answer :
Group by those fields and select id, count(*) from table group by id having count (*) > 1.
18. How Do You Verify A Complicated Sql?
Answer :
I use explain statement to check if the query is doing what I wanted it to do.
Question 19. How Many Tables Can You Join In V2r5?
Answer :
Up to 64 tables.
Question 20. How Do You See A Ddl For An Existing Table?
Answer :
By using show table command. know more at Teradata online course
Comments
Post a Comment