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 |
|
wided
Posting Yak Master
218 Posts |
Posted - 2011-02-28 : 02:49:39
|
| Bonjourj'ai un champ en varchar, le contenu de ce champ est à 90% en chiffre sauf quelqes champses ce qu'il y'a une requte qui me permet de les identifier:ExempleChamp1 = 1200, 5600, 7400, 1F05, 560C, 1610.....Je voudrais extraire uniquement les champs avec les lettres dedansMerciWided |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-02-28 : 02:52:27
|
wish i could understand this !! CheersMIK |
 |
|
|
wided
Posting Yak Master
218 Posts |
Posted - 2011-02-28 : 03:01:00
|
| I want to extract the fields where there is letters in the field |
 |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-02-28 : 05:02:48
|
ummmm, now it would make sense if you translate the original post (into English )CheersMIK |
 |
|
|
wided
Posting Yak Master
218 Posts |
Posted - 2011-02-28 : 05:31:07
|
| (theme message in english)Hello I have a varchar field, the content of this field is 90% by number, except some fields there 's a request, which allows me to identify: Example Field1 = 1200, 5600, 7400, 1F05, 560C, 1610 ..... I would like to extract only the fields with letters (exemple 1F05 and 560C) Thank you Wided |
 |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-02-28 : 07:22:51
|
| I would like to extract only the fields with letters (exemple 1F05 and 560C) Check this Select * from TableNameWhere Field1 like '%[a-z]%'CheersMIK |
 |
|
|
wided
Posting Yak Master
218 Posts |
Posted - 2011-02-28 : 08:40:48
|
| Thanks MIk 2008it is ok |
 |
|
|
MIK_2008
Master Smack Fu Yak Hacker
1054 Posts |
Posted - 2011-03-01 : 10:48:15
|
No problem CheersMIK |
 |
|
|
|
|
|
|
|