the correct way to use substring is
select substring( field from 1 for 3) from table
some of the native SQL commands are TRIM UPPER
the UDF's (see the ib_udf.sql file in your server installation directory) are:
LTRIM RTRIM SRIGHT STRLEN SUBSTR SUBSTRLEN
there are lots of others you can download and install
http://www.google.co.za/se
Main Topics
Browse All Topics





by: NickUpsonPosted on 2006-03-08 at 02:20:32ID: 16131558
substring depends upon the version you are using, left is not installed 'out of the box' but available in several udf libraries