« first day (1463 days earlier)      last day (2855 days later) » 

8:11 AM
@Mr.Bultitude the link was a great start, helped explain what ISBN numbers are and how to calculate them.
But you say that you have some numbers that are not valid
So I'd say create a question and put in a valid number and a non-valid number and explain what you are trying to do.
since it's relatively new and interesting, the fact that you haven't been able to show any work will probably get overlooked
 
 
7 hours later…
3:13 PM
@Shaneis Thanks, I'll probably create a question about it over the weekend.
 
@Mr.Bultitude No worries, good luck
 
It might be difficult to thread the needle of "give me assistance" without it being a "gimme teh codez" question or being unclear.
 
hmm...
...think I remember something like this on SimpleTalk a while back though by Phil Factor...
hold on two seconds
This help?
https://www.simple-talk.com/blogs/2016/02/16/the-luhn-algorithm-in-sql/
 
@Shaneis Maybe. It's a different algorithm, and it makes heavy use of functions, which I'm not familiar with. To me it looks sort of like a black box -- numbers go in, results come out, you can't explain that. It's probably helpful, but I'd have to do a lot of playing with it before I can really understand what I'm looking at.
So I'll probably do a bit of messing around with that this weekend. Mind if I ping you with questions?
 
No worries, not on here all the time on the weekends but will be from time to time so I'll help out if I can
 
3:20 PM
Awesome.
 
 
1 hour later…
4:39 PM
@Mr.Bultitude Take a look at this for a starting point
 
4:56 PM
@Shaneis Looks very promising. I probably won't have a chance until later. Thanks! Is that your work?
 
Very not finished but it should hopefully help.
Technically yes but the tally table cte is from Itzak ben gan, the cross applys from paul white, so it depends if you call reusing code in different situations "your own work"
 
Haha, got it.
 

« first day (1463 days earlier)      last day (2855 days later) »