Kris Jones wrote:
> select case left(right(path,4),1) when '.' then right(path,3) else '' end
> 

This will work on SQL Server (assuming all of your extensions are three 
characters), and possibly on Oracle(I think it now supports CASE).  In 
your message you wanted a T-SQL solution, but said your database was 
Oracle.  Did you mean to say a PL/SQL or possible just SQL solution? 
T-SQL is the proprietary version of SQL specific to Sybase and SQL Server.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269416
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to