Viewing 15 posts - 1 through 15 (of 431 total)
December 28, 2018 at 2:27 am
Business needs and human factors ought to take priority when designing keys for a table. When you take those requirements December 27, 2018 at 11:44 am
I find it strange that we still see articles like this discussing "primary" keys. In SQL Server in most (or all?) circumstances there is no real difference between a key...
October 2, 2018 at 12:10 am
If you want to capture data at order level then you should capture enough information to identify individual orders: an order number for example. If there are no attributes of...
October 2, 2016 at 10:05 am
Brandie Tarvin (10/30/2015)I have to disagree with the notion that a natural key is a requirement for any table. There are plenty of things in the real world (comics among...
October 30, 2015 at 2:24 pm
A problem here is that Brandie has set out to describe in this article how NOT to design a database but unfortunately some people will miss the significance of that...
October 29, 2015 at 6:32 am
Hi carrieathomer,
Be assured that there's absolutely nothing wrong with your requirement. Alphanumeric identifiers are extremely common, partly because they are so much easier for humans to use than numeric-only identifiers....
February 17, 2015 at 12:49 am
shashianireddy (1/3/2015)
how to insert two tables in single quarie ...like above
It's possible to do two inserts in a single statement like this:
INSERT INTO dbo.table_b (empid, epsal)
SELECT empid, epsal
FROM
(
MERGE INTO dbo.table_a
USING...
January 3, 2015 at 4:30 pm
Alexander Suprun (12/22/2014)
Are you saying that having a big composite primary key on multiple varchar columns which also has to be used in other tables for referential integrity has absolutely...
December 22, 2014 at 2:53 pm
No, a "record number" / surrogate key is not necessary in all cases. Adding such a column to every table offers no general advantage in terms of performance. Surrogate keys...
December 22, 2014 at 5:11 am
eichnerm (11/3/2014)
Copying the price into the Order Detail Line seems cleaner, but also feels like I might be breaking normalization rules.
You don't appear to be violating any Normal Form here....
November 4, 2014 at 2:10 am
October 27, 2014 at 2:49 pm
Jeff Moden (10/20/2014)
I guess I don't understand the problems people are having with temporal data. Type 2 SCDs are easy to setup, implement, and use. As with certain...
October 21, 2014 at 1:46 pm
One of the problems with bundling different entity types into one table is that you may have to make some compromises with integrity constraints - or incur a certain amount...
August 7, 2014 at 9:28 am
ratneshsinghparihar-1130833 (8/6/2014)
Thanks for your feedback .
My intention is not to replace the RDBMS with a no-sql database .
I put down some aspects (logs , locking , two phase commit...
August 6, 2014 at 7:07 am
Viewing 15 posts - 1 through 15 (of 431 total)