Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 50242

Finance is for anything related to currency, payment systems, credit card number validation, etc.

9 votes
Accepted

Sales, Taxes and Totals

Don't Repeat Yourself Okay, a good way of getting rid of repeated formulas is to use move them into a CROSS APPLY. We can move the following into a CROSS APPLY, which I named Calcs. , SUM((ISNULL …
PenutReaper's user avatar
  • 1,321
5 votes

Luhn algorithm MS-SQL

Checking if the input is valid You use the pattern `` to check if the input contains any non numeric characters and then return 0 if it does. There is a better way to do this, use the ISNUMERIC() f …
PenutReaper's user avatar
  • 1,321