Uzyskaj imię i nazwisko z pełnego imienia ciąg w SQL
DECLARE @FullName VARCHAR(50) = 'Mark Zuckerberg'
SELECT SUBSTRING(@FullName, 1, CHARINDEX(' ', @FullName) - 1) AS [First Name],
SUBSTRING(@FullName, CHARINDEX(' ', @FullName) + 1, LEN(@FullName)) AS [Last Name]
YogeshHadiya33