If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
How would I be able to delete everything after the "/" from a sample column listed below. Everything from the "/" and after in not suppose to be in the column.
String handling functions in SQL are pretty engine specific. Since you regularly post in the MS-SQL forum, I'll assume that is what you plan to use, so I'd suggest:
Code:
SELECT Left([Column A], CharIndex([Column A], '/') - 1)
WHERE [Column A] LIKE '%/%'