Viewing 15 posts - 1 through 15 (of 160 total)
I managed to get lucky. I had just finished renovating my home office when the first lockdown happened. So I was able to transition to working from home full time...
July 12, 2022 at 7:09 pm
I find I end up documenting tasks and issues more to help future me than anyone else. I've been with my company for over 10 years now and there's a...
April 12, 2022 at 8:07 pm
pietlinden was on a decent track with the main report/sub report idea. I've used it once before, the basic process is:
March 30, 2022 at 5:05 pm
I see, I think an inner join would do the same job.
I can't see how your stored procedure is reusing a temporary table from another call....
March 3, 2021 at 10:04 pm
I see, I think an inner join would do the same job.
I can't see how your stored procedure is reusing a temporary table from another call. It...
March 3, 2021 at 8:53 pm
It's more likely a bug in the app. When it gets the result set from the temp table, what does the app do with it?
The UI displays the data...
March 3, 2021 at 7:42 pm
I just started looking at your proc and the first bit of code:
--Create a temp table with the nodes & figures to execute
SELECT n.itemNum,...
March 3, 2021 at 6:46 pm
I just started looking at your proc and the first bit of code:
--Create a temp table with the nodes & figures to execute
SELECT n.itemNum,
...
March 3, 2021 at 6:24 pm
I can't see how presence of existing TEMP table would cause a problem as
CREATE TABLE #ReportResults (dateStamp dateTime NOT NULL, dataInterval int)
would then fail.
longshot : But ... maybe...
March 3, 2021 at 4:10 pm
I can't see how presence of existing TEMP table would cause a problem as
CREATE TABLE #ReportResults (dateStamp dateTime NOT NULL, dataInterval int)
would then fail.
longshot : But ... maybe it...
March 3, 2021 at 3:22 pm
I'm having an issue with a database that I recently moved from SQL 2014 to SQL 2019 (Standard in both cases). The users get data from the database...
March 3, 2021 at 1:19 pm
Did you change the Compatibility Level when upgrading from SQL 2014? (e.g. from 120 to 150)
If so maybe try it back at 120 just as a test for this...
March 3, 2021 at 12:54 pm
Is it possible to exit the proc without falling thru to the DROP TABLE? What about the start of the proc? If the temp table already exists,...
March 3, 2021 at 12:50 pm
Is it possible to exit the proc without falling thru to the DROP TABLE? What about the start of the proc? If the temp table already exists, does the...
March 3, 2021 at 12:48 pm
Last few statements in the stored procedure are:
--export results
SELECT * FROM #ReportResults ORDER BY dateStamp
--clean up temp tables
DROP TABLE #ReportResults
If I add option (recompile) to the...
March 2, 2021 at 9:09 pm
Viewing 15 posts - 1 through 15 (of 160 total)