Forum Replies Created

Viewing 15 posts - 1 through 15 (of 161 total)

  • Reply To: The Home Setup

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Document yourself out of a job

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Create 1 calendar for each student

    pietlinden was on a decent track with the main report/sub report idea.  I've used it once before, the basic process is:

    1. Create the SSRS report that will generate the form...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Jeffrey Williams wrote:

    Jonathan AC Roberts wrote:

    Jeffrey Williams wrote:

    Jonathan AC Roberts wrote:

    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....



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Jonathan AC Roberts wrote:

    Jeffrey Williams wrote:

    Jonathan AC Roberts wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    ScottPletcher wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Jonathan AC Roberts wrote:

    LightVader wrote:

    Jonathan AC Roberts wrote:

    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,...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Jonathan AC Roberts wrote:

    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,
    ...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    ScottPletcher wrote:

    Kristen-173977 wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Kristen-173977 wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Jonathan AC Roberts wrote:

    LightVader wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    Kristen-173977 wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    ScottPletcher wrote:

    Jonathan AC Roberts wrote:

    ScottPletcher wrote:

    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,...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    ScottPletcher wrote:

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

  • Reply To: Stored Procedure "Caching"

    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...



    The opinions expressed herein are strictly personal and do not necessarily reflect the views or policies of my employer.

Viewing 15 posts - 1 through 15 (of 161 total)