Viewing 15 posts - 106 through 120 (of 157 total)
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
To be honest, I did not even understand the question and felt like a newbie...
September 12, 2017 at 6:34 am
I'd prefer to useFIRST_VALUE(pts) OVER (Partition by Team ORDER BY Year ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
since this performs better (does not spill to...
July 27, 2017 at 1:58 am
I guess they needed the 29 days to remove those silly clause, that everybody needs a vacuum cleaner in the basement, which was added by me in my youth while...
July 19, 2017 at 5:55 am
I doubt, that this will be fast. It does not use an explicit cursor, but practically does the same (or something worser) with its while loop.
If someone really...
June 28, 2017 at 2:58 am
Wouldn't the minimal privileges be the NTFS permissions to delete the ERRORLOG.? files? Sure - you can't replace / modify the current ERRORLOG file (SQL Server holds its tumbs on...
May 22, 2017 at 6:35 am
I wonder, that the only connect item I found for a column based MIN/MAX (similar to Oracle's LEAST()/GREATEST()) got only 4 quotes since last year (https://connect.microsoft.com/SQLServer/Feedback/Details/3085573).
Maybe someone...
May 22, 2017 at 6:21 am
Why do you not use the build in ROUND function?
It takes three parameters:
- the value
- the rounding length (use negative numbers to round to a power...
May 16, 2017 at 2:56 am
my apology for the confusion - I tested it only on SQL 2014 (since I was to lazy to set up a new 2016 server just for testing and did...
May 8, 2017 at 5:55 am
On which version did you run your test? On SQL 2014 SP2 Dev. the query will only return one row (and I stumbled over a few scripts which failed, since...
May 8, 2017 at 2:31 am
Viewing 15 posts - 106 through 120 (of 157 total)