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 |
|
anjali5
Posting Yak Master
121 Posts |
Posted - 2012-03-08 : 13:08:20
|
| Hi All,I have this regular expression in my sql queryDECLARE @RETURN_VALUE VARCHAR(MAX) IF @value LIKE '%[0-9]%[^A-Z]%[0-9]%' BEGIN SET @RETURN_VALUE = NULL ENDI am not sure, but whenever I have this in my row 12 TEST then it gives me the value of 12, but if I have three digit number then it filters out the three digit numbers.How can I modify the regular expression to return me the three digits numbers too |
|
|
anjali5
Posting Yak Master
121 Posts |
Posted - 2012-03-08 : 13:16:50
|
| sorry, figured out the answer. |
 |
|
|
sathiesh2005
Yak Posting Veteran
85 Posts |
Posted - 2012-03-13 : 04:35:32
|
| Hi, If you got the solution also you can post it. may be helpful to others.@Sathiesh |
 |
|
|
|
|
|