Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Parsing First and Last Names from Full Name

$
0
0
Hi there!  I have this code:

[code language="sql"]
SELECT
CASE   WHEN CHARINDEX(' ',name) = 0 THEN name 
WHEN CHARINDEX(' ',name) = PATI

Viewing all articles
Browse latest Browse all 3145

Trending Articles