buckshot323
MIS
I have a field-string in a table that displays like this: Organization/SIS/RND 434444/CIT
All characters could be different in all areas minus the 'Organizaiton/' part and the '/' which will always be three.
For example CIT could be 2 characters, or 3 characters or more.
What I need is to always grab the first 6 characters to the left of the last slash.
So,
Example
Organization/SIS/RND 434444/CIT
End Desired Result
434444
Need to put this into a where statement so I can grab only certain departments which translate to that 6 digits im seeking.
Went through all the forums and pounded google for a while and can't really find anything that works.
Any suggestions from the SQL guru's out there?
All characters could be different in all areas minus the 'Organizaiton/' part and the '/' which will always be three.
For example CIT could be 2 characters, or 3 characters or more.
What I need is to always grab the first 6 characters to the left of the last slash.
So,
Example
Organization/SIS/RND 434444/CIT
End Desired Result
434444
Need to put this into a where statement so I can grab only certain departments which translate to that 6 digits im seeking.
Went through all the forums and pounded google for a while and can't really find anything that works.
Any suggestions from the SQL guru's out there?