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 / lekhrajdeshmukh

Cursor:- Cursor is special data type of mssql server.
Cursor is mainly used for extracting the row by row data
from tables.
cursor is the only data type that can not be used in table.
Cursor is mainly used in stored procedure and when we have
to use cursor in SP need to perform the following steps:-
1)declaring a cursor.
2)Open a Cursor
4)close the cursor.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by tablesample?

741


Do you know what is fill factor and pad index?

662


Explain the difference between control flow and data flow?

616


What command must you use to include the not null constraint after a table has already been created?

651


What are two difference between sql azure and azure tables?

147






How to make a column nullable?

681


Explain about unique identifier data type in sql server?

601


Do you know exporting and importing utility?

608


Explain how many types of relationship?

668


Explain what are page splits? : SQL Server Architecture

754


How to retrieve error messages using mssql_get_last_message()?

627


What is trace flag in sql server?

622


what is memory-optimized nonclustered indexes

653


What is key set driven?

617


How does a profiler work?

611