I’ve a table with entries like this.
MachineName
-----------------------
Ab bb zecos
a zeng
zeng
empty
4 rows in a table.
How can i seperate those 4 rows to get output like.
M1 M2 M3
-----------------------------------
Ab bb zecos
a zeng NULL
zeng NULL NULL
NULL NULL NULL
Instead of using split function there is a function called ParseName which returns the specified part of the object which spilts the string delimated by .
Please go through the ParseName link which helped me in writing this query