PARSENAME 関数は次のように使用できます:
with address as( select '192.168.1.1' as IpAddress Union select '192.168.1.2' as IpAddress Union select '192.168.1.3' as IpAddress ) SELECT PARSENAME(IpAddress,4) as first, PARSENAME(IpAddress,3) as second, PARSENAME(IpAddress,2) as third, PARSENAME(IpAddress,1) as fourth, FROM address
プレ>PARSENAME 関数は、オブジェクト名の指定された部分を返します。