Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
lane0618
Posting Yak Master
134 Posts |
Posted - 2002-08-12 : 17:27:10
|
| I have a description field like this:FK899 CHAIN6J7 BELT45KJI56 DRIVERI want to filter out everything before the space (i.e. to get chain from FK899 CHAIN). How can I do this?Thanks,Lane |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-08-12 : 17:37:43
|
| SELECT SubString(description, CharIndex(' ', description)+1, 8000)FROM myTable |
 |
|
|
lane0618
Posting Yak Master
134 Posts |
Posted - 2002-08-12 : 17:54:15
|
| Thanks |
 |
|
|
|
|
|