Viewing 15 posts - 136 through 150 (of 201 total)
I see, what you mean - when developer A works on a procedure for 4 days and developer B makes a small change (e.g. a new column or fixing a...
God is real, unless declared integer.
June 19, 2018 at 2:48 am
An important point, when working with own migration scripts, is defensive scripting. Do not just create a table, but check, if the table already exists before. The same with columns...
God is real, unless declared integer.
June 19, 2018 at 12:46 am
I used to comment every line of code, when I wrote scripts for the game Heroes of Migth and Magic 3 (WoG), but mostly, because it had a very "uncommon"...
God is real, unless declared integer.
June 13, 2018 at 6:46 am
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
Viewing 15 posts - 136 through 150 (of 201 total)