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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check for a character in the column

Status
Not open for further replies.

Ankor

Programmer
Mar 21, 2002
144
US
Is there a way to check for the particular character in the column, and then put the first part of the word (before this character) to one place, and the second part (after this character) - to another?
 
Can you give us an example of what you are trying to do? PATINDEX (or CHARINDEX) should work for you along with the SUBSTRING command.

-SQLBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top