Viewing 15 posts - 121 through 135 (of 182 total)
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...
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...
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...
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...
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...
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...
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...
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...
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,...
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...
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...
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...
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...
September 20, 2017 at 2:42 am
How did you get your result?
I used the following query and get other numbers:WITH myBeers (<see CTE in the question> )
SELECT ISNULL(bt.OwedTo, bb.OwedBy) who, SUM(bt.Beer)...
September 18, 2017 at 3:45 am
Viewing 15 posts - 121 through 135 (of 182 total)