November 29, 2016 at 3:36 am
All,
I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.
karthik
November 29, 2016 at 3:54 am
Such as?
Asking because I'm not sure I understand what you're after.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 30, 2016 at 12:59 pm
Ar you asking about the underlying mathematics behind the relational model? If so, you could look for papers writen by Ted Codd in the early to mid 1970s. You may find that you have to pay to get copies of some of them.
Tom
November 30, 2016 at 1:49 pm
For the concepts of relational algebra that underly SQL, here is an overview:
https://en.wikipedia.org/wiki/Relational_algebra
The mathematical operators and functions included in the T-SQL language are quite basic.
https://msdn.microsoft.com/en-us/library/ms187716.aspx
https://msdn.microsoft.com/en-us/library/ms177516.aspx
"Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho
November 30, 2016 at 4:03 pm
OR... are you looking for things like why you might want to use Integer math, how to do things with dates and times, how to compare two differently partitioned ROW_NUMBER() results to identify overlapping events, the math behind quickly building high performance nested sets instead of using loops or recursion, why automatic conversions to decimal datatypes can suck, etc, etc?
In other words, what the hell does "all" mean in your original post? π
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2017 at 10:03 am
karthik M - Tuesday, November 29, 2016 3:36 AMAll,I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.
Dude! It's been over a year since you posted this request... can you at least take the time to read the responses and provide some feedback?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2017 at 11:19 am
Jeff Moden - Monday, December 4, 2017 10:03 AMkarthik M - Tuesday, November 29, 2016 3:36 AMAll,I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.Dude! It's been over a year since you posted this request... can you at least take the time to read the responses and provide some feedback?
Looks like an interesting question, would like to see feedback on what the OP wanted.
...
December 4, 2017 at 2:49 pm
HappyGeek - Monday, December 4, 2017 11:19 AMJeff Moden - Monday, December 4, 2017 10:03 AMkarthik M - Tuesday, November 29, 2016 3:36 AMAll,I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.Dude! It's been over a year since you posted this request... can you at least take the time to read the responses and provide some feedback?
Looks like an interesting question, would like to see feedback on what the OP wanted.
Precisely.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2017 at 3:07 pm
I know that this is an old question bumped back up to the front of the line but I agree that it's an important one.
My two cents. With respect to the "mathematics concepts" I'd say to start with
Set Theory and The Relational Model.
-- Itzik Ben-Gan 2001
December 4, 2017 at 3:23 pm
Jeff Moden - Monday, December 4, 2017 2:49 PMHappyGeek - Monday, December 4, 2017 11:19 AMJeff Moden - Monday, December 4, 2017 10:03 AMkarthik M - Tuesday, November 29, 2016 3:36 AMAll,I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.Dude! It's been over a year since you posted this request... can you at least take the time to read the responses and provide some feedback?
Looks like an interesting question, would like to see feedback on what the OP wanted.
Precisely.
He hasn't been active in four months, so I wouldn't hold my breath waiting for a response.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 4, 2017 at 4:36 pm
drew.allen - Monday, December 4, 2017 3:23 PMJeff Moden - Monday, December 4, 2017 2:49 PMHappyGeek - Monday, December 4, 2017 11:19 AMJeff Moden - Monday, December 4, 2017 10:03 AMkarthik M - Tuesday, November 29, 2016 3:36 AMAll,I am looking for some article which explain what are all the mathematics concepts and algorithms used in SQL.Dude! It's been over a year since you posted this request... can you at least take the time to read the responses and provide some feedback?
Looks like an interesting question, would like to see feedback on what the OP wanted.
Precisely.
He hasn't been active in four months, so I wouldn't hold my breath waiting for a response.
Drew
Heh... too bad... I was hoping to hold HIS breath. π Pork chops, anyone? π
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2017 at 5:17 pm
Alan.B - Monday, December 4, 2017 3:07 PMI know that this is an old question bumped back up to the front of the line but I agree that it's an important one.My two cents. With respect to the "mathematics concepts" I'd say to start with
Set Theory and The Relational Model.
Heh... we should definitely do one on "Tuples" as they relate to "Set Theory"... maybe Microsoft will take the hint and finally add an "element ordinal" to the String_Split function.
As for "Relational Model", I'm just happy there are some people out there that know how to get the current date and time using -T-SQL. π
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2017 at 12:49 am
Jeff Moden - Monday, December 4, 2017 5:17 PMAlan.B - Monday, December 4, 2017 3:07 PMI know that this is an old question bumped back up to the front of the line but I agree that it's an important one.My two cents. With respect to the "mathematics concepts" I'd say to start with
Set Theory and The Relational Model.Heh... we should definitely do one on "Tuples" as they relate to "Set Theory"... maybe Microsoft will take the hint and finally add an "element ordinal" to the String_Split function.
As for "Relational Model", I'm just happy there are some people out there that know how to get the current date and time using -T-SQL. π
The "Relational Model" - which Airfix kit to give to which nephew at Christmas??
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
December 5, 2017 at 6:19 am
ChrisM@Work - Tuesday, December 5, 2017 12:49 AMJeff Moden - Monday, December 4, 2017 5:17 PMAlan.B - Monday, December 4, 2017 3:07 PMI know that this is an old question bumped back up to the front of the line but I agree that it's an important one.My two cents. With respect to the "mathematics concepts" I'd say to start with
Set Theory and The Relational Model.Heh... we should definitely do one on "Tuples" as they relate to "Set Theory"... maybe Microsoft will take the hint and finally add an "element ordinal" to the String_Split function.
As for "Relational Model", I'm just happy there are some people out there that know how to get the current date and time using -T-SQL. π
The "Relational Model" - which Airfix kit to give to which nephew at Christmas??
The answer is "none". Keep them for yourself... they're fun to build. π If they know the GETDATE() question, buy them a laptop instead. π
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2017 at 7:05 am
Since we're already derailing...
How many people have seen the James May Toy Stories where they build Airfix?
If not, you should. It's fantastic. I think it's available on Hulu right now (or Netflix, but I'm pretty sure it's Hulu).
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply