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 is a DBMS, query, SQL?

771


What are cursors? Explain the different types of cursors Enlist a few disadvantages of cursors.

810


How connect excel to sql server?

685


How many columns can we include on clustered index ?

677


Define tool Manage Statistics in SQL Server 2000 query ?

729






How do I determine how many instances of sql server are installed on a computer?

714


What are the system database in sql server 2008?

731


Describe triggers features and limitations?

679


What is primary key and example?

700


How do I view a stored procedure in sql server?

727


What are different types of subquery?

908


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

806


Define a cross join?

757


Explain different types of lock modes in sql server 2000?

687


What does truncate do?

698