I\'ve got a table field membername which contains both the last name and the first name of users. Is it possible to split those into 2 fields memberfirst<
membername
memberfirst<
In MySQL this is working this option:
SELECT Substring(nameandsurname, 1, Locate(' ', nameandsurname) - 1) AS firstname, Substring(nameandsurname, Locate(' ', nameandsurname) + 1) AS lastname FROM emp