One simple way using Sql's built-in function PARSENAME. but that assumes your values have are no more than 4 parts. If your values can contain more that 4 parts then I sugggest you search this site for "parsing". There are a lot of topicsselect parsename(nm,1) ,parsename(nm,2) ,parsename(nm,3) ,parsename(nm,4)from (select '102.130.456.868' nm union select '178') aoutput:868 456 130 102178 NULL NULL NULL
Be One with the OptimizerTG