I just want to to this very simple command:
select count(*) from MyTable where length(LastName) = 7 ?
Thank You in advance.
There isn't a built-in function, but you can use the UDF "strlen"
function in the ib_udf UDF library, which comes with each
InterBase installation. Check out the documentation how to
declare and use UDFs.
HTH,
Thomas Steinmaurer
The IB LogManager Product Family
Logging/Auditing Suite for InterBase and Firebird
http://www.iblogmanager.com
(That is 7 underscores.)
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
MSSQL has tought us to be so lazy I guess :) :) :)
Thanks
"Bill Todd" <n...@no.com> wrote in message
news:2s2rnvgmlobtpg7sb...@4ax.com...
DECLARE EXTERNAL FUNCTION strlen
CSTRING(32767)
RETURNS INTEGER BY VALUE
ENTRY_POINT 'IB_UDF_strlen' MODULE_NAME 'ib_udf';
ib_udf -> "c:\program files\borland\interbase\udf\ib_udf.dll"
scripts -> "c:\program files\borland\interbase\examples\udf\ib_udf.sql"
What's problem?