Link to home
Start Free TrialLog in
Avatar of zachvaldez
zachvaldezFlag for United States of America

asked on

parsing in SQL

I want to parse in sql from a particular column
Ref#
129 009

1.want to parse value before the space
2. get last 2 digits from the right.

both values will be in 2 separate columns/field
ASKER CERTIFIED SOLUTION
Avatar of lcohan
lcohan
Flag of Canada 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
Avatar of zachvaldez

ASKER

not exactly
format field to display value before the space. 129
btw the answer is correct upon testing
format field to display value before the space
You could add a CAST or CONVERT function for the two columns returned if you need them in a specific data type/format as I left them "as is" - char type - because there was no specific details about the data type.