Link to home
Start Free TrialLog in
Avatar of johnson1
johnson1

asked on

Select fullname without familyname

Hello,
I have a table with names

UserTable(UserId int, Fullname(varchar(100))
Data:
UserId=1, Fullname='John Johnson'
UserID=2, Fullname='Bill William Howard'

I want to select Fullname from the table but not the last name.
From the example above I would like to get the result:
UserId=1, Fullname='John'
UserId=2, Fullname='Bill William'

Can you please help me with this?
SOLUTION
Avatar of Shaun Kline
Shaun Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial