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 |
|
jcb267
Constraint Violating Yak Guru
291 Posts |
Posted - 2010-10-15 : 10:57:42
|
| Hi -I have a field in a table that is formatted as a varchar. However, I do not need the whole field. I only need the 3rd and fourth characters of this field. Can anyone help me to cull that out? |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-15 : 11:03:43
|
selectright(left(YourColumnName,4),2)from table No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
jcb267
Constraint Violating Yak Guru
291 Posts |
Posted - 2010-10-15 : 11:08:50
|
| Thanks! |
 |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-15 : 11:14:56
|
welcome  No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
javabuddy
Starting Member
4 Posts |
Posted - 2010-10-16 : 05:52:08
|
| Thanks I am also looking for same solution.http://javarevisited.blogspot.com/ |
 |
|
|
|
|
|