depending on your business rules, it could be as simple as a concatenation and replace function.
select '0'+REPLACE(code,'.','.0') from
This concatenates a '0' on the front and replaces every '.' with '.0' which i think gets you what you want.
If you have more complicated requirements, I bet a nifty splitter and tally table would do wonders!
______________________________________________________________________________________________
Forum posting etiquette.[/url] Get your answers faster.