Database Design announcement
-
Link
The following list of database design resources is not intended to be exhaustive or ‘the correct list’. Items are included simply because one of the Moderators knew the material and offered it as a suggestion. If you wish to offer suggestions for inclusion, please do so.
Books
A Developer's Guide to Data Modeling for SQL Server: Covering SQL Server 2005 and 2008
Eric Johnson and Joshua Jones
An Introduction to Database Systems
Chris Date
Applied Mathematics for Database Professionals
Lex de Haan, Toon Koppelaars
Architecting Regulatory-Compliant Architectures
Mike Walker, MicrosoftGraeme Simsion and Graham Witt
Database Modeling and Design: Logical Design
Toby Teorey
Information Modeling and Relational Databases
Terry Halpin
Practical Issues in Database Management: A Reference for the Thinking Practitioner
Fabian Pascal
Pro SQL Server 2008 Relational Database Design and Implementation
Louis Davidson, Kevin Kline, et al
Online Resources
A Simple Guide to Five Normal forms and Relational Database Theory
http://www.bkent.net/Doc/simple5.htmData Modeling vs. Database Design
http://www.aisintl.com/case/library/R-Theory_vs_ER/r-theory_vs_er.htmlData Models
http://www.databaseanswers.org/data_models/index.htmDatabase Design - Ten Common Database Design Mistakes, Louis Davidson
http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/Database Design Issues -EAV Model Discussion (Querying an EAV Table)
http://tinyurl.com/yks8huDatabase Design Issues –EAV and OTLT
http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.htmlDatabase Design ROI by Paul Nielsen
http://www.sqlserverbible.com/files/databasedesignroi.pdfIntroduction to the Unified Dimensional Model (UDM)
http://technet.microsoft.com/en-us/library/ms345143(SQL.90).aspxLibrary of database models
http://www.databaseanswers.org/data_models/On Normalization and Repeating Groups by Fabian Pascal
http://www.dbdebunk.com/page/page/622318.htmORM white paper
http://www.orm.net/pdf/ORMwhitePaper.pdfOverview of the Relational Model
http://www.utexas.edu/its/archive/windows/database/datamodeling/rm/overview.htmlUnderstanding Data Model Quality, Graeme Simsion
http://www.tdan.com/view-articles/5100 -
Link
Out of Scope
Some topics are out of scope for this forum.
1. Bugs, Product Decisions, and Feedback: The purpose of this forum is not to ask the product team why decisions were made and to ask them to make other changes. That feedback belongs in Connect. The purpose of this forum is to help you out with specific issues, if possible. Please post your feedback via Connect:
https://connect.microsoft.com/SQLServer
Rules of Conduct
· Relevance to Topics: We encourage you to keep your postings as close to the subject as possible.
· Respect: Please be respectful of other participants, and their contributions; avoiding insults, demeaning remarks and slurs.
· Tolerance: Please don’t assume someone’s curtness was meant to insult, slur, or demean you.
· Confidentiality: Confidential information should not be posted. This is a publicly available forum.
· Appropriate Language: Please keep the conversation on a professional level, avoiding any hint of profanity in your interactions.
· Advertising/Solicitation: Advertisements should not be posted, and will be removed.
Forum Moderators may, at their discretion, edit posts for clarity, readability and inappropriate language; split post into separate threads when appropriate; and delete post that do not positively contribute to the thread. Failure to comply with these 'Rules of Conduct' may result in your posts being edited to remove the offending comments, censure, or expulsion from participating in the Forums. The bottom line is: this Forum should feel like a ‘safe’ place to ask hard questions that invoke passionate responses.
Marking AnswersBy their very nature, many database design questions will not have a easily decernible 'answer'. You are encouraged to give folks 'credit' for helping you when appropriate. If someone's response was 'Helpful', use the 'Vote as Helpful' button. If a response answered some part of your question, or provided you one or more clues that led you to a solution, then use the 'Mark as Answer' option. Just as a thread may evolve into multiple questions, it may also have more than one 'Answer'.
Welcome to the Database Design Forum
This is a Forum for questions and discussions about database designs for Microsoft technologies, including: SQL Server, Access, SQL Azure, SQL Express, SQL Compact, etc. Often Database Designs will be generic and can be ported to any vendor's technology. Design problems that are best solved with other technologies will be welcomed and addressed to the best of our knowledge and ability.
We ask that you recognize that database design is a mixture of art and science. You may receive conflicting suggestions, for there can be multiple paths to a workable solution. You will have to use your own judgment and knowledge of your business requirements to determine the best solution for your particular problem. The 'right' design is compounded by many factors, including business, regulatory, hardware/software requirements, as well as staff expertise. We also encourage you to share your experiences with a particular design issue if it will serve to help others encountering similar problems.
In order to receive useful responses, please spend some time and properly present your scenario. Attempts to 'save time and effort' by cutting out parts of the scenario will often lead to wasted time and effort as the suggestions have to be discarded because they don't work with other parts of the unseen puzzle.
But there are limits to what you can expect from volunteers through a disconnected medium. The questions most likely to receive a good and targeted answer, are those that present a small problem, that give a very clear description of that problem within its context, and that are placed by people with a fair understanding of the subject who need help getting over a few nasty bumps. The questions that are almost impossible to answer satisfactorily are those that present a huge problem, with no clear description, and asked by someone totally new to the subject matter.
We hope that you will understand when we say that most of us that volunteer our time on this Forum do so in order to help folks learn. We will be pleased if you find the Forum to be useful. However, it is difficult or impossible for us to engage with folks privately. We don't have time to do both, and our commitment is help folks using the Forums.
Do not hesitate to read all of the threads, join in the discussions, offer your own experiences and information, and ask questions to increase your knowlege. Seek out blogs from those who write in a manner that you appreciate, and consider reviewing the Database Design Resources for additional guidance and help.
-
0 Votes
POSTING TIPS - Code, Diagrams, Hyperlinks, Details
When you're posting a question - please search the forum first! If that fails, and you wish to include T-SQL, C#, or VB code in your post, see below. If you want to show us a database ...
-
0 Votes
attempt to fetch logical page (4:16277272) in database 5 failed . it belongs to allocation unit 720586415830784 to 72058643040436224
One of our application was not responding and we restarted the server, since then our search feature is not working on the application and we are seeing the following error messages in our sql server ...Unanswered | 3 Replies | 467 Views | Created by LordofthePlains - Friday, December 13, 2019 4:45 PM | Last reply by LordofthePlains - 20 hours 29 minutes ago -
0 Votes
What names did you use for your servers and instances in your Enterprise Data Warehouse Environments
Following the Kimball patterns I was wondering if I should name the servers to sort of match. So for the development environment I might go ... -
0 Votes
Execution plan from query cache its coming up with just SELECT only and nothing else
Hi Gurus I am trying to capture an execution plan form the query cache using the T-SQL SELECT cp.objtype AS ... -
0 Votes
How to share or sync data in the tables among different databases on the same SQL server
On the database server with the SQL Server 2017 Standard edition, there are some databases, let's say 3 databases, DB1, DB2 and DB3. All table structures among those databases are exactly same. Data ...Unanswered | 14 Replies | 595 Views | Created by Guoxiong - Friday, December 6, 2019 6:15 PM | Last reply by Erland Sommarskog - Wednesday, December 11, 2019 11:07 PM -
0 Votes
Identify Column as Primary Key with Foreign Keys Referencing it
I am preparing for a certification test and ran across a topic that confused me a bit... From what I have read, it seems like it is OK to design a database where one table has an Identity column as ...Proposed | 3 Replies | 373 Views | Created by Patrick_Cox - Monday, December 9, 2019 12:28 PM | Last reply by Guoxiong - Monday, December 9, 2019 2:53 PM -
0 Votes
please help me this error. Thankss
<p>please help me fix this error</p><p></p> System.NullReferenceException: 'Object reference not set to an instance of an ...Proposed | 3 Replies | 562 Views | Created by Phat Nguyen Dinh - Saturday, December 7, 2019 1:44 AM | Last reply by Cris Zhan - Monday, December 9, 2019 5:53 AM -
0 Votes
Moving Temporal Tables
I would like to move some temporal tables to a new database on the same server. What would be the best method for this?Proposed | 4 Replies | 705 Views | Created by ClevelandSteve - Monday, December 2, 2019 5:20 PM | Last reply by Dedmon Dai - Friday, December 6, 2019 8:58 AM -
1 Votes
Migrate data from Mongo Db to SQL Server
Is there any appropriate way to Migrate data from Mongo Db(not that complex collections) to SQL Server? Thank YouAnswered | 6 Replies | 6304 Views | Created by Raj-Lone - Tuesday, May 16, 2017 4:32 AM | Last reply by dani671 - Thursday, December 5, 2019 10:43 PM -
2 Votes
SQL Transpose Columns
Hello EveryOne, Can anyone provide me solution to my below requirement in sql ? I have below data in my ...Answered | 4 Replies | 681 Views | Created by Anil Katabathuni - Monday, December 2, 2019 9:20 AM | Last reply by Uri Dimant - Monday, December 2, 2019 11:29 AM -
0 Votes
Json OutPut Truncation
Hello Everyone, When using Json_Query function OR Assign Json Output to a variable , the results are truncating. It is showing only upto 43680 characters ...Answered | 4 Replies | 743 Views | Created by Anil Katabathuni - Wednesday, November 27, 2019 9:06 AM | Last reply by Erland Sommarskog - Wednesday, November 27, 2019 10:17 PM -
1 Votes
Sql database design best practice and naming standards.
Hello All, I want to create ERP database in sql server. please share me the naming standards and best practice ...Answered | 3 Replies | 875 Views | Created by Krishnan L - Tuesday, November 19, 2019 2:05 PM | Last reply by Cris Zhan - Wednesday, November 27, 2019 9:35 AM -
2 Votes
Single database
We are planning to get a 16TB lun and fill it with one database , can someone please tell me if that is a good practice?Proposed | 9 Replies | 1064 Views | Created by LisaKruger - Thursday, November 21, 2019 7:37 PM | Last reply by Cris Zhan - Wednesday, November 27, 2019 9:31 AM -
0 Votes
Full Text Search Install
Hi Everyone, I am installing TFS and i am getting the following error TF255149: The following server that is running SQL Server does not have the full-text ...Answered | 2 Replies | 763 Views | Created by AmyBI - Tuesday, November 26, 2019 4:32 PM | Last reply by AmyBI - Tuesday, November 26, 2019 6:07 PM -
0 Votes
Cannot Open the Server from SSMS
Good Morning, I am following the below link to migrate TFS from one server to a different server on the same ...Proposed | 5 Replies | 657 Views | Created by LisaKruger - Monday, November 25, 2019 3:10 PM | Last reply by Amelia Gu - Tuesday, November 26, 2019 7:09 AM -
0 Votes
Multiple Polybase tables - One data source
I am trying to achieve 65 unique external tables using a single Azure BLOB container full of CSV files. There are 65 files in the root i.e (file1,file2,file3..,file65), there are ...Unanswered | 3 Replies | 816 Views | Created by BradleyHampson - Tuesday, November 19, 2019 8:31 PM | Last reply by Dedmon Dai - Monday, November 25, 2019 9:35 AM -
0 Votes
Problem with calculating an approximate space required for online index rebuild
I have a database called TestDB which is in simple recovery model. I performed index rebuild on my Test Server which has no other user transactions except me. Before an online ...Unanswered | 2 Replies | 807 Views | Created by RaufDBA - Sunday, November 24, 2019 8:47 PM | Last reply by Uri Dimant - Monday, November 25, 2019 4:54 AM -
1 Votes
SQL AdventureWorks Stored Procedure
I'm new to both SQL and C#/.NET, and I'm trying to make a stored procedure using the AdventureWorksLT2017 database. I need it to be the salesperson's username who's gonna be the ...Proposed | 13 Replies | 945 Views | Created by LewisL17 - Thursday, November 21, 2019 12:48 PM | Last reply by Erland Sommarskog - Sunday, November 24, 2019 10:24 AM -
0 Votes
deterministic datepart day of week
I found ALTERTABLE dbo.Dates ADD WeekOfYear AS datediff(week, dateadd(year, datediff(year, 0, BizDate), 0), BizDate) + 1 PERSISTED will create a deterministic column ...Answered | 4 Replies | 784 Views | Created by berli - Thursday, November 21, 2019 7:43 AM | Last reply by berli - Thursday, November 21, 2019 3:39 PM -
0 Votes
Cannot Access database
Please need help. I cannot access any databases. The only one i can access, i cannot access the system objects like tables,views.... When i click on the database that i cannot ...Answered | 2 Replies | 981 Views | Created by LisaKruger - Wednesday, November 20, 2019 2:28 PM | Last reply by LisaKruger - Wednesday, November 20, 2019 3:11 PM -
0 Votes
SQL Virtual Instance TempDB
I have a Biztalk server 2016 environment fully virtual which has a SQL Server 2016 VM In order for my BTS to be high performant the best practice suggests having tempDB on a ...Proposed | 2 Replies | 934 Views | Created by vai2000 - Tuesday, November 19, 2019 2:35 PM | Last reply by Cathy Ji - Wednesday, November 20, 2019 3:18 AM - Items 1 to 20 of 4508 Next ›
Database Design announcement
-
Link
The following list of database design resources is not intended to be exhaustive or ‘the correct list’. Items are included simply because one of the Moderators knew the material and offered it as a suggestion. If you wish to offer suggestions for inclusion, please do so.
Books
A Developer's Guide to Data Modeling for SQL Server: Covering SQL Server 2005 and 2008
Eric Johnson and Joshua Jones
An Introduction to Database Systems
Chris Date
Applied Mathematics for Database Professionals
Lex de Haan, Toon Koppelaars
Architecting Regulatory-Compliant Architectures
Mike Walker, MicrosoftGraeme Simsion and Graham Witt
Database Modeling and Design: Logical Design
Toby Teorey
Information Modeling and Relational Databases
Terry Halpin
Practical Issues in Database Management: A Reference for the Thinking Practitioner
Fabian Pascal
Pro SQL Server 2008 Relational Database Design and Implementation
Louis Davidson, Kevin Kline, et al
Online Resources
A Simple Guide to Five Normal forms and Relational Database Theory
http://www.bkent.net/Doc/simple5.htmData Modeling vs. Database Design
http://www.aisintl.com/case/library/R-Theory_vs_ER/r-theory_vs_er.htmlData Models
http://www.databaseanswers.org/data_models/index.htmDatabase Design - Ten Common Database Design Mistakes, Louis Davidson
http://www.simple-talk.com/sql/database-administration/ten-common-database-design-mistakes/Database Design Issues -EAV Model Discussion (Querying an EAV Table)
http://tinyurl.com/yks8huDatabase Design Issues –EAV and OTLT
http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.htmlDatabase Design ROI by Paul Nielsen
http://www.sqlserverbible.com/files/databasedesignroi.pdfIntroduction to the Unified Dimensional Model (UDM)
http://technet.microsoft.com/en-us/library/ms345143(SQL.90).aspxLibrary of database models
http://www.databaseanswers.org/data_models/On Normalization and Repeating Groups by Fabian Pascal
http://www.dbdebunk.com/page/page/622318.htmORM white paper
http://www.orm.net/pdf/ORMwhitePaper.pdfOverview of the Relational Model
http://www.utexas.edu/its/archive/windows/database/datamodeling/rm/overview.htmlUnderstanding Data Model Quality, Graeme Simsion
http://www.tdan.com/view-articles/5100 -
Link
Out of Scope
Some topics are out of scope for this forum.
1. Bugs, Product Decisions, and Feedback: The purpose of this forum is not to ask the product team why decisions were made and to ask them to make other changes. That feedback belongs in Connect. The purpose of this forum is to help you out with specific issues, if possible. Please post your feedback via Connect:
https://connect.microsoft.com/SQLServer
Rules of Conduct
· Relevance to Topics: We encourage you to keep your postings as close to the subject as possible.
· Respect: Please be respectful of other participants, and their contributions; avoiding insults, demeaning remarks and slurs.
· Tolerance: Please don’t assume someone’s curtness was meant to insult, slur, or demean you.
· Confidentiality: Confidential information should not be posted. This is a publicly available forum.
· Appropriate Language: Please keep the conversation on a professional level, avoiding any hint of profanity in your interactions.
· Advertising/Solicitation: Advertisements should not be posted, and will be removed.
Forum Moderators may, at their discretion, edit posts for clarity, readability and inappropriate language; split post into separate threads when appropriate; and delete post that do not positively contribute to the thread. Failure to comply with these 'Rules of Conduct' may result in your posts being edited to remove the offending comments, censure, or expulsion from participating in the Forums. The bottom line is: this Forum should feel like a ‘safe’ place to ask hard questions that invoke passionate responses.
Marking AnswersBy their very nature, many database design questions will not have a easily decernible 'answer'. You are encouraged to give folks 'credit' for helping you when appropriate. If someone's response was 'Helpful', use the 'Vote as Helpful' button. If a response answered some part of your question, or provided you one or more clues that led you to a solution, then use the 'Mark as Answer' option. Just as a thread may evolve into multiple questions, it may also have more than one 'Answer'.
Welcome to the Database Design Forum
This is a Forum for questions and discussions about database designs for Microsoft technologies, including: SQL Server, Access, SQL Azure, SQL Express, SQL Compact, etc. Often Database Designs will be generic and can be ported to any vendor's technology. Design problems that are best solved with other technologies will be welcomed and addressed to the best of our knowledge and ability.
We ask that you recognize that database design is a mixture of art and science. You may receive conflicting suggestions, for there can be multiple paths to a workable solution. You will have to use your own judgment and knowledge of your business requirements to determine the best solution for your particular problem. The 'right' design is compounded by many factors, including business, regulatory, hardware/software requirements, as well as staff expertise. We also encourage you to share your experiences with a particular design issue if it will serve to help others encountering similar problems.
In order to receive useful responses, please spend some time and properly present your scenario. Attempts to 'save time and effort' by cutting out parts of the scenario will often lead to wasted time and effort as the suggestions have to be discarded because they don't work with other parts of the unseen puzzle.
But there are limits to what you can expect from volunteers through a disconnected medium. The questions most likely to receive a good and targeted answer, are those that present a small problem, that give a very clear description of that problem within its context, and that are placed by people with a fair understanding of the subject who need help getting over a few nasty bumps. The questions that are almost impossible to answer satisfactorily are those that present a huge problem, with no clear description, and asked by someone totally new to the subject matter.
We hope that you will understand when we say that most of us that volunteer our time on this Forum do so in order to help folks learn. We will be pleased if you find the Forum to be useful. However, it is difficult or impossible for us to engage with folks privately. We don't have time to do both, and our commitment is help folks using the Forums.
Do not hesitate to read all of the threads, join in the discussions, offer your own experiences and information, and ask questions to increase your knowlege. Seek out blogs from those who write in a manner that you appreciate, and consider reviewing the Database Design Resources for additional guidance and help.