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-12-18 : 12:57:00
|
| Is it possible to select the middle of a field:example: CC123456-WEDI want to select only123456 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-12-18 : 13:04:44
|
| SELECT SubString('CC123456-WED', 3,6) |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2002-12-18 : 13:04:56
|
| look at substring==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|