Re: ListLast equivalent in MS SQL

2009-08-12 Thread Richard Dillman
SELECT substring(email, charindex('@', email)+1, 255) as Domain FROM users Should get you there. On Fri, May 29, 2009 at 3:47 PM, Barney Boisvert wrote: > > check the reverse, locate, and left functions. reverse it, find the > delimiter, and then use left to strip off the prefix. > > cheers

Re: ListLast equivalent in MS SQL

2009-05-29 Thread Barney Boisvert
check the reverse, locate, and left functions. reverse it, find the delimiter, and then use left to strip off the prefix. cheers, barneyb On Fri, May 29, 2009 at 12:44 PM, Paul Ihrig wrote: > > how can i do > ListLast(your_email,"@") > > in a sql statement > > ~~~

ListLast equivalent in MS SQL

2009-05-29 Thread Paul Ihrig
how can i do ListLast(your_email,"@") in a sql statement ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-ta