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 |
|
oracle_corrgi
Yak Posting Veteran
98 Posts |
Posted - 2006-08-11 : 02:25:13
|
| hips let me know how to select only the first 10 numeric values from this datadgdgdg12121ff4545445488gg eg:121214545445its very urgentplsthanxsdatabase |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
Vinnie881
Master Smack Fu Yak Hacker
1231 Posts |
Posted - 2006-08-11 : 03:01:55
|
| write a function that passes the string. Within that function use a while statment that increments through each charector using the isnumeric operator until it reaches the end of the string, or the string len is =10. |
 |
|
|
oracle_corrgi
Yak Posting Veteran
98 Posts |
Posted - 2006-08-11 : 05:14:38
|
quote: Originally posted by Vinnie881 write a function that passes the string. Within that function use a while statment that increments through each charector using the isnumeric operator until it reaches the end of the string, or the string len is =10.
iam able to get all the values dgdgdg12121ff4545445488ggdatabase |
 |
|
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2006-08-11 : 07:01:30
|
interesting example..."...to select only the first 10 numeric ""eg:121214545445"...which is 12 numbers |
 |
|
|
DonAtWork
Master Smack Fu Yak Hacker
2167 Posts |
Posted - 2006-08-11 : 07:02:30
|
| did you get an answer in time to finish your test?For fast help, follow this link:http://weblogs.sqlteam.com/brettk/archive/2005/05/25.aspxLearn SQLhttp://www.sql-tutorial.net/ http://www.firstsql.com/tutor.htm http://www.w3schools.com/sql/default.asp |
 |
|
|
|
|
|