Home » RDBMS Server » Server Administration » Cursor
Cursor [message #372447] Wed, 14 February 2001 02:44 Go to next message
syslam
Messages: 1
Registered: February 2001
Junior Member
Within the cursor declaration, if I put some function inside, will it be any performance impact on the process if there will be over 2000 times of cursor loop ?
Re: Cursor [message #372455 is a reply to message #372447] Wed, 14 February 2001 03:53 Go to previous message
John R
Messages: 156
Registered: March 2000
Senior Member
Well, it will execute the function 2000 times.

If the function accesses the database, there could well be performance implications.

If you are using 8.1.6 or higher, and the function does not access the database, you can declare it as 'DETERMINISTIC', which will improve the performance some.
Previous Topic: help required in a sql query (URGENT)
Next Topic: Disabling primary Key
Goto Forum:
  


Current Time: Sun Jun 30 18:27:39 CDT 2024