How to declare a cursor with "declare ... Cursor" in ms sql server?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL Server Interview Questions

What are the grouping functions?

0 Answers  


Explain transaction server isolation?

0 Answers  


How to delete duplicate rows in sql server?

0 Answers  


Is it possible for a stored procedure to call itself or recursive stored procedure?

0 Answers  


Is trigger fired implicitely?

2 Answers  






Hi SQL gurus, i am working for an MNC... My team is having a problem in sql server. when user slects date prompts from jan 1st to april 30, it should display all months data like : jan aa feb bb mar cc but when it comes to april its taking data like : jan aa feb bb mar cc apr dd...and so on means its taking data again from jan to april which we dont want. we want the data only april month as we are getting jan, feb and mar... can any one write the code to relsove the issue please would be greatful if you can send to shiva_sans@yahoo.co.in and also please send your email also ...so that we will be in touch for any kind of queries ... Thanks a lot in Advance !!!

1 Answers  


Why do we partition data?

0 Answers  


What is the query optimization statistics?

1 Answers  


What are the risks of storing a hibernate-managed object in a cache? How do you overcome the problems?

0 Answers  


Explain datetimeoffset data type in sal server 2008?

0 Answers  


one table has four field id,name,design,salary. i have to find maximum salary .

6 Answers  


How to use old values to define new values in update statements in ms sql server?

0 Answers  


Categories