Viewing 15 posts - 1,561 through 1,575 (of 26,490 total)
May not be a SQL issue but an issue with the VM and/or the host. Have you had the sys admins check things on their end?
May 18, 2018 at 7:59 am
May 18, 2018 at 7:37 am
It was already built,...
May 17, 2018 at 5:00 pm
Took a little time to reformat your code:
SELECT
[GL_TransLines].[GLL_Account] AS "Account"
, [GL_TransLines].[Amount] AS "Current Expenses"
, [GL_TransLines].[COP_Period] AS "Period"
, [GL_TransLines].[GLT_TransDate]...
May 17, 2018 at 1:28 pm
May 17, 2018 at 1:27 pm
May 17, 2018 at 11:22 am
Changed my code some:
-- your exec: EXEC sp_executesql @sql, N'@SearchResultsSetID INT', @SearchResultsSetID, '@ItemNameInput NVARCHAR(100)', @ItemNameInput;
DECLARE @SQLCmd NVARCHAR(MAX)
, @SQLParm NVARCHAR(MAX)
,...
May 17, 2018 at 11:21 am
PRINT @SQL;May 17, 2018 at 11:13 am
This is how I would write your code that you posted. I understand that you are putting pieces together, but I think this helps illustrate what you are attempting to...
May 17, 2018 at 11:08 am
Just curious, but looking at the execution plans for the queries populating the temp tables, is the DISTINCT actually needed? The number of rows entering and leaving the sort operator...
May 17, 2018 at 7:53 am
Viewing 15 posts - 1,561 through 1,575 (of 26,490 total)