Remove/suppress dashes from “Results to Text” output in SSMS?

June 15, 2020 Andy 0

Question (This is just a “reproducer”, not the real code, because that’s long and complicated.) The output of is: —————————————————————————– MSSQLSERVER —————————————————————————– Microsoft SQL Server 2014 (SP3-CU4) (KB4500181) – 12.0.6329.1 (X64) Jul 20 2019 21:42:29 Copyright (c) Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on … [Read More]

Job waiting on CXCONSUMER

January 9, 2020 Andy 0

Question We have got a procedure on SQL Server agent jobs and this job started to hang on transaction for many hours with wait stats CXCONSUMER and never complete. The problem is after we noticed that it was hanging we kill the job and started … [Read More]

INSERT EXEC statement cannot be nested

December 13, 2019 Andy 0

Question I have a stored proc spGetSites that returns three columns for SiteName, SiteId and UnitCount. The stored proc runs perfectly fine. I’m trying to store the results of the stored proc to a temp table @Site to use for my report with below syntax. … [Read More]