Forum Replies Created

Viewing 15 posts - 16 through 30 (of 137 total)

  • Reply To: Two tables per page

    I'm not sure how to combine two different types of tables into one. How do I force a page break on employee? Since they are two separate tables the results...

  • Reply To: Add two rows to a view

    Awesome, Cross Join with Union All worked perfect.

    Thank you,

    • This reply was modified 5 years, 1 month ago by  Ken at work.
  • Reply To: Adding Sum to Variables

    Thanks but I can do the T-SQL. I'll just do that.

  • Reply To: Maps - What is the best way to add location maps to SSRS

    I'm fairly sure we haven't add anything to our SQL Server yet.  I'll look this over, but I think I need to do that first. Oops, wrong forum.

  • Reply To: Adding Sum to Variables

    Here is an example. The last six digits of the GL Account number represent Region/Division. The first matrix totals the 5 series GL Accounts. The second matrix actually has a...

  • Reply To: Adding Sum to Variables

    I posted and now I don't see it???

  • RE: Update Trigger

    ScottPletcher - Monday, April 9, 2018 3:39 PM


    SET ANSI_NULLS ON;
    SET QUOTED_IDENTIFIER ON;
    GO
    CREATE TRIGGER udLaborTracking__TRG_UPD_Set_LastJob
    ON dbo.udLaborTracking
    AFTER UPDATE
    AS
    SET NOCOUNT ON;
    IF UPDATE(Job)
    BEGIN
      UPDATE...

  • RE: Update Trigger

    sgmunson - Monday, April 9, 2018 6:27 AM

    Unfortunately, you missed his point entirely.   The structure you have only allows for the...

  • RE: Update Trigger

    Thank you, I think I'm going to give this a try.
    I was curious, not being as familiar with the coding, why does the update need to address the alias...

  • RE: Update Trigger

    Grant Fritchey - Friday, April 6, 2018 10:10 AM

    Ken at work - Friday, April 6, 2018 9:59...

  • RE: Update Trigger

    I'm not sure I'm following.  The Job and LastJob are not keys.  The primary Keys are Company and Employee
    There will always be only one Employee (it can never be...

  • RE: Merging Data from two tables.

    I was wondering about the Row Number or something else being needed.  That is why I couldn't get it to work at the start.  I've started reading up on the...

  • RE: Merging Data from two tables.

    Could I have used a regular join and ph.EffectiveDate <= tc.DateWorked, which I also didn't think of?

  • RE: Merging Data from two tables.

    Amazing!
    I've never used Cross Apply.  I have to do some reading up on that.

    Thank you very much for your help,

  • RE: Trigger help

    Good point. I don't see it as a Primary/Foreign key combination.  So there must be a constraint as I cannot add equipment to the history table that doesn't ready exist...

Viewing 15 posts - 16 through 30 (of 137 total)