1.what is the purpose of using alias name in sql server?
with certain example?

2.what is cursor?will u plz explain me in detail with
certain example?

Answer Posted / sujit sarkar

The main purpose of alias is we can define one object (like
table,column..) from another object which is used in sql
statement.
Suppose you need average salary and salary

then you can write

Select salary/12 as 'average salary' from salary

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can windows applications connect to sql servers via odbc?

788


What is difference between count (*) and count column?

661


What is database replication?

757


What are the advantages of using stored procedures?

686


Does index speed up select statements?

754






What are exact numeric data types in ms sql server?

685


What is meant by indexing files?

778


What is the purpose of update statistics and scope_identity() function?

816


Explain how would you store your query in an SSRS report or a Database server?

102


What are the five major components of a dbms?

668


What is the importance of concurrency control?

961


What is the Difference Between Primary and Foreign Key?

751


What is outer join in sql server joins?

748


What is cursors? And what are the different types of cursor?

742


what is normalization? Explain different levels of normalization? : Sql server database administration

893