Comments for SQL from the Trenches https://devjef.wordpress.com «There's a bit of SQL in all of us» Mon, 23 Jan 2023 12:15:29 +0000 hourly 1 http://wordpress.com/ Comment on Replication: Snapshot Agent fails on date conversion by Davide Pozzi https://devjef.wordpress.com/2017/01/17/replication-snapshot-agent-fails-on-date-conversion/#comment-6190 Mon, 23 Jan 2023 12:15:29 +0000 http://devjef.wordpress.com/?p=2670#comment-6190 Excellent analysis and a lot of time saved, great! Thank you.

]]>
Comment on Setting up replication from on-premise SQL Server to Azure SQL DB by Pactain https://devjef.wordpress.com/2016/12/08/setting-up-replication-from-on-premise-sql-server-to-azure-sql-db/#comment-6085 Mon, 26 Sep 2022 15:21:23 +0000 http://devjef.wordpress.com/?p=2630#comment-6085 Hello from 2022!

Great tutorial, still works, saved my bacon today. You don’t need .secure. part if you’re running VM on already on Azure

]]>
Comment on Geometry vs Geography by 7 Spatial Databases for Your Enterprise (in 2021) - John Jason Fallows https://devjef.wordpress.com/2013/01/12/geometry-vs-geography/#comment-5664 Thu, 25 Nov 2021 17:33:11 +0000 http://devjef.wordpress.com/?p=1069#comment-5664 […] important to note that SQL Server supports two spatial data types (geometry and geography). Why have two data types? The geometry data type represents data in Euclidean coordinates. Whereas, the geography data type […]

]]>
Comment on Easy pivot: From key-value pairs to columns by Jim https://devjef.wordpress.com/2016/08/29/easy-pivot-from-key-value-pairs-to-columns/#comment-5636 Tue, 29 Jun 2021 22:37:54 +0000 http://devjef.wordpress.com/?p=2575#comment-5636 Works great. Quick note: Select * works too. Column names only needed in the for clause.

]]>
Comment on Deadlock Detector: Drop it like it’s hot! by Shashi Bhosale https://devjef.wordpress.com/2013/04/23/deadlock-detector-drop-it-like-its-hot/#comment-5614 Sun, 28 Feb 2021 03:01:55 +0000 http://devjef.wordpress.com/?p=1313#comment-5614 I am facing the same problem. I cant even find the uninstallation as the web site is down. Can somebody help. My email is [email protected]

]]>
Comment on Easy pivot: From key-value pairs to columns by Julian https://devjef.wordpress.com/2016/08/29/easy-pivot-from-key-value-pairs-to-columns/#comment-5563 Wed, 11 Nov 2020 10:21:49 +0000 http://devjef.wordpress.com/?p=2575#comment-5563 Life saver, now i can consume table like structure in SSIS while making writing my database migration, instead of dealing with KVP on certain tables.

]]>
Comment on SSISDB: Why bigger isn’t always better by Raphael Ferreira https://devjef.wordpress.com/2015/02/03/ssisdb-why-bigger-isnt-always-better/#comment-5347 Fri, 15 May 2020 16:44:13 +0000 http://devjef.wordpress.com/?p=2082#comment-5347 Raphael]]> Pardon my ignorance: Why, instead of simply changing the retention from 365 days to, say 90, do you have to run the script? I’m sure there is something I am not seeing, but, I’m just not seeing it. Insights appreciated. 🙂 Raphael

]]>
Comment on Avoid a big SSISDB by logging less…? by DevJef https://devjef.wordpress.com/2015/02/11/avoid-a-big-ssisdb-by-logging-less/#comment-5350 Fri, 15 May 2020 15:50:21 +0000 http://devjef.wordpress.com/?p=2105#comment-5350 In reply to Raphael Ferreira.

Depends on your workload of course. But in general: yes!
My suggestion is: Leave it on default, keep an eye on it, and change if needed.
But in my case, keeping it on default ended up in a disaster 😉

]]>
Comment on Avoid a big SSISDB by logging less…? by Raphael Ferreira https://devjef.wordpress.com/2015/02/11/avoid-a-big-ssisdb-by-logging-less/#comment-5349 Fri, 15 May 2020 15:31:47 +0000 http://devjef.wordpress.com/?p=2105#comment-5349 Fascinating… Performance is slower than Basic… Ah, Microsoft..! You never cease to amaze me… Correct me if I am wrong, but it sounds to me that the only acceptable log level for day to day operation is a custom one, correct?

]]>
Comment on SSISDB: Why bigger isn’t always better by DevJef https://devjef.wordpress.com/2015/02/03/ssisdb-why-bigger-isnt-always-better/#comment-5348 Fri, 15 May 2020 15:01:00 +0000 http://devjef.wordpress.com/?p=2082#comment-5348 In reply to Raphael Ferreira.

You can, but because it’s so much data the data will never be cleaned. The cleanup job will time out.
So that’s why we did it like this.

]]>