Subject Re: [firebird-support] Stored Proc to act like the string.Copy method in Delphi
Author Martijn Tonies
Martin,

> Can anyone help me with the following, I have a real problem at site
> where a udf is leaking memory, and I would like to replace the functions
> of it by using a stored procedure instead, this basically involves
> passing in a string, a start index and an end index, I want to return a
> string with the characters found from startindex to the endindex

It might be me, but why not fix the UDF?? :-)

With regards,

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com