Write the Syntax for Cursors.
Answer Posted / ranjith kumar
declare cursor_name cursor for
select * from table_name
open cursor_name
fetch next from cursor_name
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to enter date and time literals in ms sql server?
What is difference between cte and view?
What is a non clustered primary key?
How do you troubleshoot errors in a SQL Server Agent Job?
What is the difference between delete and truncate statements?
What is an example of a foreign key?
What is a matrix in ssrs?
How to drop an existing schema in ms sql server?
What is self contained multi valued query?
Define left outer join in sql server joins?
Which language rdl files made of?
Is natural join and equi join same?
What are scalar functions?
What are different types of subquery?
What is the new security features added in sql server 2014? : sql server security