Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: YearMonth query

    I cannot merge the columns because the table is being used for import in another application. 

    The application will reject the table if it is not in this format.

  • RE: Delaying Trigger

    Here is the trigger code:

    CREATE Trigger RollingDB ON tbltemp

    AFTER insert

    AS

    EXECUTE dbo.UpdateTempNulls

    EXECUTE dbo.rollingTable

    EXECUTE dbo.InsertIntoForecast

    EXECUTE dbo.UpdateForecast

    Here is the code for the stored procedures:

    Create Procedure UpdateTempNulls

    AS

    UPDATE tblTemp

    SET hour1 = (hour2+hour24)/2

    WHERE hour1 IS NULL

    Create...

  • RE: Delaying Trigger

    The reason the trigger timesout is because of an stored procedure that i'm running.

    Here is the code:

    UPDATE tblForecastTemp SET hour1 = (SELECT tbltemp.hour1 FROM tbltemp

    WHERE tblForecastTemp.[year] = tbltemp.[year] AND tblForecastTemp.[month]

    =...

Viewing 3 posts - 1 through 3 (of 3 total)