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 |
pra123
Starting Member
1 Post |
Posted - 2011-12-04 : 10:30:29
|
Hi All,I have alphanumeric data in a Table Assets. The column name is Milepost.Column Values are like belowMilePost1.241.614.564.785.456.917.199.711.3112.9613.4913.715.415.8318.527.1127.313033.134.794.99899.55104.08104.42104.55105.1209.1NULL343.1LR 1.36LR 1.90364.91364.9YARDLR 12.80LR 1.0LR 4.41368.6342.4342.57Now I want to select records between 1 to LR 4.41 which should return all records between 1 to LR 4.41My below query is not returning proper values. So i need a correct sql query.Select Milepost from Assets where Milepost between '1' and 'LR 4.41'Thanks |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-04 : 11:54:47
|
do you mean LR 1.0 to LR 4.41? i cant see 1 alone in values of Milepost------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|