ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Databases  >>  SQL Server
 
 


 

 
 Oracle interview questions  Oracle Interview Questions
 SQL Server interview questions  SQL Server Interview Questions
 MS Access interview questions  MS Access Interview Questions
 MySQL interview questions  MySQL Interview Questions
 Postgre interview questions  Postgre Interview Questions
 Sybase interview questions  Sybase Interview Questions
 DB Architecture interview questions  DB Architecture Interview Questions
 DB Administration interview questions  DB Administration Interview Questions
 DB Development interview questions  DB Development Interview Questions
 SQL PLSQL interview questions  SQL PLSQL Interview Questions
 Databases AllOther interview questions  Databases AllOther Interview Questions
Question
what is curser.
 Question Submitted By :: Rahul Sharma
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is curser.
Answer
# 1
Cursor is a database object used by applications to 
manipulate data in a set on a row-by-row basis.
 
Is This Answer Correct ?    6 Yes 0 No
Ramesh L.v.
 
  Re: what is curser.
Answer
# 2
Cursor helps to update, add, select, remove on a row by row
basis on a table
 
Is This Answer Correct ?    2 Yes 1 No
Guest
 
 
 
  Re: what is curser.
Answer
# 3
Cursor plays there row quite nicely but although there are 
some disadvantage of Cursor .
Because we know cursor doing roundtrip it will make network 
line busy and also make time consuming methods. First of 
all select query gernate output and after that cursor goes 
one by one so roundtrip happen.Another disadvange of cursor 
are ther are too costly because they require lot of 
resources and temporary storage so network is quite busy.
Site of Dot net and sql server
("http://www.dotnetquestion.info")
<a href="http://www.dotnetquestion.info">link</a>
 
Is This Answer Correct ?    1 Yes 0 No
Pervej Munjal
 
  Re: what is curser.
Answer
# 4
Work Area used by the SQL statement
 
Is This Answer Correct ?    1 Yes 0 No
Namz
 
  Re: what is curser.
Answer
# 5
The set of rows is returned by SELECT statementb by using 
WHERE clause or not. In our application can not work 
EFFICIENTLY to this result set. If we want to 
access/process the entire block or row or fields or it 
different kind of property, we need the mechanism. This 
mechanism is called CURSOR.
 
Is This Answer Correct ?    1 Yes 0 No
Vijay
 
  Re: what is curser.
Answer
# 6
SQL SERVER 2000,

Cursor is a database object used by applications to 
manipulate data in a set on a row-by-row basis.

Cursor helps to update, add, select, remove on a row by row
basis on a table.

A cursor is a mechanism by which you can assign a name to 
a "select statement" and manipulate the information within 
that SQL statement.

We've categorized cursors into the following topics:

1.Declare a Cursor
2.OPEN Statement
3.FETCH Statement
4.CLOSE Statement
5.Cursor Attributes (%FOUND, %NOTFOUND, etc)
6.SELECT FOR UPDATE Statement
7.WHERE CURRENT OF Statement
 
Is This Answer Correct ?    1 Yes 0 No
Selvaraj.v
 
  Re: what is curser.
Answer
# 7
Cursor is a entity in database which is used to fetch data 
from database by application by row by row.

Cursor is mainly used for calculation on data on basis of 
row by row and you can do transection on another table with 
this data row by row basis.

You can use cursor by :-

1.Declare a Cursor
2.OPEN Cursor
3.FETCH and FETCH NEXT Statement
4.CLOSE Cursor
5. Deallocate Cursor

You can take help for .Net, C#, Sql Server, VB.Net Articles 
and Interview Questions
("http://www.developerchoice.com")
<a href="http://www.developerchoice.com">DeveloperChoice</a>
 
Is This Answer Correct ?    0 Yes 0 No
Pawan Mothsra
 
  Re: what is curser.
Answer
# 8
Cursor is a programming device that allows the SELECT to
find a set of rows but return them one at a time. Cursor
should be used because the host language can deal with only
one row at a time.

you can get unlimited interview questions on:
http://www.interviewhelper.org
 
Is This Answer Correct ?    0 Yes 0 No
Nisha
 

 
 
 
Other SQL Server Interview Questions
 
  Question Asked @ Answers
 
The Difference between 'Count' and 'Count(*)'  12
Let us say master db itself has no backup. Now you have to rebuild the db so what kind of action do you take?  1
select empid empname from employee What is the result for the about query?  4
What is the difference between a stored procedure and a user defined function in sql server? Millennium2
hi, i have a table called names and field name select * from names name a b c d i want to display like this name a,b,c,d how it is possible Regards Baiju  3
How do you fine the performance tunning? Accenture2
why cluster and non clusterindex are used in sqlserver 2000? explain with example  1
How to list all tables having unique constraints in any of the columns in a database.  1
i want to join two queries....and i want to run them as one after another that is want output of first query then second , then again output of first query then second and so on...  2
What's the purpose of Stored Procedure? Wipro4
what is web server? Satyam3
What is the use of MOVE keyword in restore command IBM2
What is the system function to get the current user's user id? TCS3
Lets say due to N/W or Security issues client is not able to connect to server or vice versa. How do you troubleshoot?  1
I have a table EMP in which the values will be like this EmpId Ename Sal DeptId 11 Ram 10000 10 11 Ram 10000 10 22 Raj 20000 20 22 Raj 20000 20 33 Anil 15000 30 33 Anil 15000 30 I want to delete only duplicate Rows. After Delete I want the output like this EmpId Ename Sal DeptId 11 Ram 10000 10 22 Raj 20000 20 33 Anil 15000 30 DELL10
What is the purpose of using COLLATE in a query?  1
What is MSDE?  2
What is the difference between a Application Server and a Database Oracle2
How to Get the last identity value used  4
Delete duplicate rows from a table without primary key by using a single query Table Employee empname salary A 200 B 300 A 200 C 400 D 500 D 500 Output should be A 200 B 300 C 400 D 500  2
 
For more SQL Server Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com