Ok... it works like this:

insert
  into hmls_commercial
       ( mls_number, listing_office )
select mls_number, 'hmls' as listing_office
  from hmls_commercial_temp
 where mls_number
not in ( select substring_index(mls_number, '_', 1 )
         as mls_num
         from hmls_commercial )



> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 05, 2008 2:42 PM
> To: CF-Talk
> Subject: RE: Anything wrong with this code?
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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

Reply via email to