Timeline for Trying to check if a string contains a number exclusively
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 9, 2018 at 3:01 | history | tweeted | twitter.com/StackDBAs/status/1060729054775726080 | ||
Nov 3, 2018 at 13:52 | vote | accept | MrVimes | ||
Nov 2, 2018 at 21:36 | comment | added | Solomon Rutzky | @mustaccio Hey. RegEx isn't needed here since this isn't that complicated of a pattern. Please see my answer for details. | |
Nov 2, 2018 at 20:44 | comment | added | mustaccio | Have you considered using regular expression match instead? | |
Nov 2, 2018 at 17:04 | answer | added | MrVimes | timeline score: 0 | |
Nov 2, 2018 at 16:37 | history | edited | Solomon Rutzky |
edited tags; edited tags
|
|
Nov 2, 2018 at 16:30 | answer | added | Solomon Rutzky | timeline score: 5 | |
Nov 2, 2018 at 15:35 | review | Close votes | |||
Nov 5, 2018 at 15:17 | |||||
Nov 2, 2018 at 13:59 | comment | added | MrVimes | @ScottHodgin the incoming string will usually be in that form, but sometimes it might contain commas or dashes, so I wanted to write this function to cover that. I did look into a split function but before I go down that road I wanted to find out if there is a simpler way, and avoid re-inventing the wheel. | |
Nov 2, 2018 at 13:56 | comment | added | Scott Hodgin - Retired | If the incoming string is in the form of numbers separated by plus (+) signs, can't you just implement a simple split Table Valued Function to split on ``+` and then select from the TVF table where the split value is equal to the incoming number? | |
Nov 2, 2018 at 13:52 | history | edited | MrVimes | CC BY-SA 4.0 |
added 22 characters in body
|
Nov 2, 2018 at 13:43 | history | asked | MrVimes | CC BY-SA 4.0 |