View Single Post
  #2 (permalink)  
Old 2006-03-13, 09:36 PM
Xnuiem's Avatar
Xnuiem Xnuiem is offline
Senior Member
 
Join Date: May 2004
Location: DFW, Texas
Posts: 1,104
Xnuiem will become famous soon enough
Send a message via Yahoo to Xnuiem
Default

use the substring() function.

select zip, substring(zip, 3) as f from ziptable group by f

I dont remember the exact syntax but you get the idea.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Reply With Quote