Try:
SELECT LEFT( [name], PATINDEX( '% %', [name] ) - 1 ) AS FirstName,
SUBSTRING( [name], PATINDEX( '% %', [name] ) + 1, LEN( [name] ) ) AS LastName
FROM your_table
You can also use CHARINDEX() for short strings
SELECT LEFT( [name], CHARINDEX( ' ', [name] ) - 1 ) AS FirstName,
SUBSTRING( [name], CHARINDEX( ' ', [name] ) + 1, LEN( [name] ) ) AS LastName
FROM your_table
Zhavic
---------------------------------------------------------------
In the 1960s you needed the power of two Comodore64s to get a rocket to the moon. Now you need a machine which is a vast number of times more powerful just to run the most popular GUI.