Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Split Column Data into 3 Columns

Status
Not open for further replies.

Khanson82

MIS
Joined
Mar 5, 2010
Messages
85
Location
US
I'm sure this is basic, but I have this data for one field:

03/24 08:10AM CST Call Attempt 4: na at hm

I want col1 to include everything through the time zone.
Col2 should be everything after time zone up to semi-colon.
Col3 will be whatever is left.

The only data that has the same amount of characters always is col 1 data.

Thanks again.
 
this isn't some piece of homework is it?

it's really quite simple to do this with the left, substring and charindex functions, google for how to use.

there's also the right and len functions which may be of help.

--------------------
Procrastinate Now!
 
Nope, Having to learn SQL on the fly and couldn't find an example that would work for this so far...

I'll look those solutions up. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top