Viewing 15 posts - 1 through 15 (of 47 total)
You can find lots of examples around:
December 15, 2019 at 4:48 am
You cannot directly use SSIS data flow to drive a MERGE statement. The MERGE statement would have to be part of your control flow instead and you should use a...
December 2, 2019 at 4:41 pm
SCD requires a Business Key in the source. In the target dimension table you can use an IDENTITY column for a surrogate key. You don't need to do anything in...
December 2, 2019 at 2:28 pm
I think the topic has strayed from the original question so it may be worth making two points about customer identifiers. Firstly, IDENTITY is likely not very convenient as a...
November 30, 2019 at 12:51 pm
It's very easy to find values that have the same checksums. Eg.: SELECT CHECKSUM('AB'),CHECKSUM('BR') returns 2159 for both values. This is the expected behaviour.
BOL says:
If at least one of the...
October 22, 2019 at 11:40 am
This was removed by the editor as SPAM
October 20, 2019 at 9:18 am
This was removed by the editor as SPAM
October 20, 2019 at 8:48 am
This was removed by the editor as SPAM
October 20, 2019 at 8:26 am
The original article is absurdly naive. Natural keys are all about data integrity. You can't sensibly ignore the integrity aspects and then assert that two different designs are possible alternatives...
October 20, 2019 at 7:25 am
Try this:
SELECT ticketid, MAX(statusno) AS statusno, MAX(status) AS status
FROM ticket
GROUP BY ticketid
HAVING MAX(statusno) = 2;
The presence of statusno and status in the same table looks like it...
August 30, 2019 at 10:52 am
Just posted a small but important correction
August 30, 2019 at 10:18 am
I think I would use a calendar table - a table with one row for each date. Join the calendar table to your check-in table like this:
SELECT...
August 30, 2019 at 10:12 am
DENY UPDATE (CreatedBy, CreatedDate, ModifiedBy, ModifiedDate) ON tbl TO xyz;
Where xyz is the user or role that has to be denied update permissions.
But I would agree with Jeff's suggestion because...
August 29, 2019 at 1:22 pm
As Scott says, the result is highly unreliable and as far as I know, undocumented. This is actually a significant flaw with SQL Server's unconventional and non-standard method of doing...
August 28, 2019 at 10:00 am
This was removed by the editor as SPAM
August 28, 2019 at 9:57 am
Viewing 15 posts - 1 through 15 (of 47 total)