A question for all you SQL gurus.

I have a table full of referral URL's.  A lot of them are similar with the
only the url parameters being different.  What I want to be able to do is
retrieve the distinct values, and a count of each distinct value, of the URL
only ie http://www.search.com/index.cfm instead of returning
http://www.search.com/index.cfm?fish. 

Is it possible for SQL (SQL 2000 Server) to do a find ( to find the ?) and
then use what is to the left of the ? as the distinct URL.

Am I making sense.

Brian Knott




-----------------------------------------------------------------------------------

The contents of this message are the views of the Author and do not necessarily 
reflect the views of SUNCORP METWAY LTD  ABN 66 010 831 722. 

The content of this e-mail, including attachments is a confidential communication 
between the Suncorp Metway Group and the intended addressee. Any unauthorised use of 
the contents is expressly prohibited. If you have received this e-mail in error please 
contact the sender immediately and then delete the message and any attachment(s).

http://www.suncorp.com.au


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to