Viewing 15 posts - 136 through 150 (of 198 total)
it depends :-), but both queries could return different results when are used with real tables.
Your first query (with UNION ALL) could return duplicates, when you have the...
God is real, unless declared integer.
June 12, 2018 at 7:42 am
Nice question, but when you use country specific date / time conversion, you should always add a SET language = 'englisch' to the query.
On my German SQL Server...
God is real, unless declared integer.
May 4, 2018 at 4:21 am
You are right about the missing OVER() in the third query - sorry, my fault,
On the other side the execution plans for query one and two are not...
God is real, unless declared integer.
March 27, 2018 at 3:34 am
This is a little inconsistency, since you can't set CONTEXT_INFO to NULL.DECLARE @ci VARBINARY(128) = CONTEXT_INFO();
--<do some stuff as temporary setting CONTEXT_INFO to something else>
SET...
God is real, unless declared integer.
March 9, 2018 at 12:52 am
I'd guess that there are a lot of small and big shops out there, which uses bcp and sqlcmd regulary (e.g. bcp for simple import / export tasks where SSIS...
God is real, unless declared integer.
March 5, 2018 at 12:56 am
Another problem: JSON could be stored in a (N)VARCHAR(MAX) field which could not be added to an index (only included, but this would only allow full index scans, even if...
God is real, unless declared integer.
February 27, 2018 at 8:11 am
What happens, if you call the procedure again with an ID which has only one entry (so that the granted memory is now much to high)? Will it lower the...
God is real, unless declared integer.
February 1, 2018 at 1:04 am
I'm confused - the MS page you linked in your answer says in its head:
THIS TOPIC APPLIES TO:
SQL Server (starting with 2016)
So...
God is real, unless declared integer.
January 29, 2018 at 2:08 am
Heterogenity may sound nice, but if I have x different systems, it multiplies the number of vulnerabilities too. And of course I would need staff, which knows this systems very...
God is real, unless declared integer.
January 25, 2018 at 1:40 am
Why is usefull stuff as this deprecated? Everyone is talking about normalisation, but I still have to write the same code in a CHECK CONSTRAINT again and again and again,...
God is real, unless declared integer.
January 12, 2018 at 1:22 am
Yes, a procedure RUNs and COMPILES with a separat scope / copy of the #temp table. But (as written) there seems to be a bug in the parser / syntax...
God is real, unless declared integer.
December 19, 2017 at 7:24 am
Our database uses triggers on many databases. Some time ago, when the developers had to run a special INSERT/UPDATE/DELETE, which should not trigger the trigger :-), the always disabled the...
God is real, unless declared integer.
November 16, 2017 at 1:26 am
Nice article, but instead of using a slow multiline table value function, you should better use the well tested and fast inline table value function DelimitedSplit8K (except your...
God is real, unless declared integer.
October 30, 2017 at 2:24 am
Short question: I admit, that I do not work with R, but why should anyone else really wants to do this "graphical" plotting in R, while there are much more...
God is real, unless declared integer.
September 20, 2017 at 2:42 am
Viewing 15 posts - 136 through 150 (of 198 total)