adspace


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 is standby servers? Explain types of standby servers.

1081


How can you append an identity column to a temporary table?

1071


What are the different SQL Server Versions you have worked on?

1080


How to convert character strings into numeric values?

1192


Is it possible to have clustered index on separate drive from original table location?

1041


What is the primary use of the model database?

1151


List out the different types of locks available in sql server?

1051


What is clustered index

1087


Why we use the openxml clause?

1080


What is temporary table in sql server? Why we use temp table?

1023


What is the difference between upgrade and migration in sql server?

1185


Why use identity in sql server?

1203


What is the difference between for xml raw and for xml auto?

1119


If you're given a raw data table, how would perform etl (extract, transform, load) with sql to obtain the data in a desired format?

1048


How to enter binary string literals in ms sql server?

1246