1. What are the grouping function in SQL ?

2. If base table of a view deleted means, what will happen
while we querying on view ? will give any error ?

3. Difference between DROP, DELETE, TRUNCATE table ?

4. What is constraints and types ?

5. What is max size of nchar & nvarchar ?

6. Define ROLLBACK, COMMIT, SAVE POINT

7. How non-clustered better ? or rank the Clustered,
Non-Clustered and Table scan in performance wise

8. Select 10 rows from a table ?

9. Define DML, DDL, DCL, DTL commands ?

10. What is mean by NULL value ? NULL means "" or 0 or
undefined ?

11. Default constraints ?

12. Can we have more then primary Key in table ?

13. Type of integrity ? Entity, Referential, Domain ?

Answer Posted / apparao akki

For 10 records..


SQL> Select * from Emp where rownum<=10;

/

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the restrictions applicable while creating views? : SQL Server Architecture

582


What is the difference between system objects and user objects?

699


What is the xml datatype?

619


How to access the deleted record of an event?

571


What is self contained sub query?

553






How to test a dml trigger in ms sql server?

572


What are the steps to insert a table?

537


What is a Join and explain its types?

578


What to check if a User database is locked?

584


Why should we go for stored procedures? Why not direct queries?

568


Is resultset an interface?

550


What is difference between primary key and foreign key?

478


How to enable/disable indexes?

582


What is bookmark link in ssrs?

108


How important do you consider cursors or while loops for a transactional database?

525