concept author in category sql

appears as: uthor, author, authors, n author, uthors, The author
SQL Server MVP Deep Dives Vol. 2

This is an excerpt from Manning's book SQL Server MVP Deep Dives Vol. 2.

The overwhelming majority of database designs that I’ve encountered use artificial sequential enumerator keys such as IDENTITY for just about every table in the database. College classes about databases, books about database development, web articles, and most other materials include examples that use artificial keys almost exclusively. I believe that this practice is so widespread that new students, learning to become database developers, take it as a fact of life that this is how it should be done. Moreover, many database developers have come from a background of procedural programming, where the concept of object handles, pointers, and physical addresses fits perfectly with the notion of a “row handle,” which an artificial key seems to offer. Joe Celko, a well-known relational database expert and author, often claims that the origins of this practice are rooted all the way back in the 1950s when magnetic tapes were used to store sequential chunks of data and physical pointers were the only available means for the programming languages of those days to access the data. Celko is among the very few who wholeheartedly (some claim overly so) preaches for using natural keys. So who is right?

About the author

John Magnabosco, Data Coach at Defender Direct in Indianapolis, is passionate about the security of sensitive data that we all store in our databases. He’s the author of Protecting SQL Server Data, published by Simple Talk Publishing. Additionally, he co-founded IndyPASS and IndyTechFest, and blogs regularly at Simple-Talk.com. In 2009 and 2010, John was honored to receive the SQL Server MVP designation. When his attention is drawn to recreation, he enjoys writing, listening to music, and tending to his chile garden.

SQL Server MVP Deep Dives

This is an excerpt from Manning's book SQL Server MVP Deep Dives.

About the authors

Paul Nielsen is a SQL Server data architect who has enjoyed playing with data for three decades. He’s the author of the SQL Server Bible series (Wiley), is convinced that SSMS is the ultimate UI, and dreams in E/R diagrams and T-SQL. Paul is the founder of NordicDB—a software startup company that offers a specialized SaaS CRM solution for non-profits. Paul lives in Colorado Springs with a wife who is far more beautiful than he deserves and his three children (ages 22, 21, and 5). He speaks at most conferences and offers seminars in database design. His website is http://www.SQLServerBible.com.

About the authors

// This returns a collection of author instances
var query = from a in ctx.authors
select a;

// this returns a collection of anonymous type instances
var query = from a in ctx.authors
join ta in ctx.titleauthors on a.au_id equals ta.au_id
join t in ctx.titles on ta.title_id equals t.title_id
select new { a.au_id, t.title_id };