Viewing 15 posts - 226 through 240 (of 319 total)
Interesting question, thanks Bob. SET ANSI_NULLS OFF does not eliminate the column
with the value NULL, therefore, Query1 returns 7 rows. Below I present a fragment
of the example from the...
August 18, 2016 at 7:47 am
The wording " What's the maximum time that can be stored in SQL Server 2014?" got me. :angry:
But logically speaking, isn't it the interval from zero to 2079-06-06 23:59:00
the maximum...
August 17, 2016 at 6:26 am
ako58 (8/16/2016)
CREATE TABLE #TableTest1 (
ID INT NOT NULL,
CONSTRAINT PK_ID1 PRIMARY KEY(ID)
);
CREATE TABLE TableTest2 (
ID INT NOT NULL
CONSTRAINT FK_TableTest1_ID FOREIGN KEY (ID) REFERENCES #TableTest1(ID)
);
INSERT INTO #TableTest1 (ID)
VALUES
(1);
INSERT INTO TableTest2 (ID)
VALUES
(2);
select *...
August 16, 2016 at 6:18 am
Nice one, thanks David. At least, I'm again reminded of the conversions. 😉
The same results gives also the function TRY_CONVERT.
August 15, 2016 at 5:37 am
Nice one from the category Resource Governor, thanks Junior.
I very much appreciate a good explanation and detailed
references to the RG sub-components. 🙂
August 11, 2016 at 6:02 am
Nakul Vachhrajani (8/10/2016)
Koen Verbeeck (8/10/2016)
Nakul Vachhrajani (8/9/2016)
Thank-you for the question! Made me revisit the documentation and refresh the concepts (Good!)Which documentation? I couldn't find any 🙂
Here you go: "Writing Pages"...
August 10, 2016 at 11:58 am
+1
The Article from Igor Micev referred to above is interesting. Some more details are e.g. here:
https://blogs.msdn.microsoft.com/sqlcat/2016/08/03/changes-in-sql-server-2016-checkpoint-behavior/
August 9, 2016 at 7:46 am
Nice question and a very good detailed explanation, thanks Kenneth. 🙂
The key to the correct answer is the ROLLBACK.
August 8, 2016 at 10:36 am
I'm sorry, after several run the script everything is correct, which is seen from the results,
that I'm sent from above. I don't even want to believe... 🙂
August 4, 2016 at 8:06 am
Interesting question, thanks Steve. But I would like to note that the result is not correct,
because DATABASEPROPERTYEX('dbname', 'IsClone') will return NULL if the database
is generated by using DBCC CLONEDATABASE...
August 4, 2016 at 7:52 am
Interesting question, thanks Steve. 🙂 With the maths I kind of got into a fight,
but at least I learned something new. 😉
August 3, 2016 at 3:26 pm
Thanks David for an interesting question.:-)
Skipping FOREIGN KEY constraint at temporary tables in this script prevent the error:
"Msg 547, Level 16, State 0, Line 19
The INSERT statement conflicted with...
August 2, 2016 at 7:57 am
chgn01 (7/27/2016)
Thank you George Vobr, you are right, but if you do not use tempdb, it will not give you the information. The @@trancount will do.
Thanks for Your post....
July 27, 2016 at 5:11 pm
chgn01 (7/27/2016)
No active open transactions.
DBCC execution completed. If DBCC printed error...
July 27, 2016 at 11:04 am
Thanks Kenneth for the very interesting question and perfect explanations with references. 🙂
July 27, 2016 at 5:47 am
Viewing 15 posts - 226 through 240 (of 319 total)