Link to home
Start Free TrialLog in
Avatar of fsouza
fsouza

asked on

Performance Procedure

I can win performance on sql server stored procedure. I need use cursor with fast_forward or while @@rowcount>0 i improve most performance?
Avatar of Aaron Tomosky
Aaron Tomosky
Flag of United States of America image

A cursor is usually the slowest way to do anything. Can you please post what you are trying to do?
It depends on the situation ... I mostly try to avoid both ... If you explain what you want maybe we can help

P.S. Performance matters if you dealing with large amounts of data
ASKER CERTIFIED SOLUTION
Avatar of esolve
esolve
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fsouza
fsouza

ASKER

The correct use is CURSOR LOCAL FAST_FORWARD or CURSOR FAST_FORWARD ???
correct use is to avoid both ... atleast read those articles before asking same question again...
it all depends on your scenario which you havent told us yet :-)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial