Forum Replies Created

Viewing 15 posts - 2,866 through 2,880 (of 5,103 total)

  • RE: Removing embedded duplicate rows

    You should open a new thread !!!

     

  • RE: T-SQL programming and interview questions....

    My view when on interviews as interviewee I try ussually to turn the table around to try to Identify the purpose of the questions being asked and assess the skills...

  • RE: distinct of ntext types

    Definitely costly but is the best way to count the distinct values Good I/O needed for speed

    In regards with the text datatype the only possible way is to splitt the...

  • RE: help with a trigger....

    Somehow sushila's link does not works for me

     

  • RE: TOP Clause functionality within Groups

    -- Temptable

    SELECT c.code, p.id, p.name, SUM(c.paid) TotalPaid

    into #T1

    FROM table1 AS c

    INNER JOIN table2 AS p ON c.id = p.id

    WHERE c.code > ' '

    GROUP BY c.code,p.id.p.name

    HAVING SUM(p.paid) > 0

     

    -- Use it...

  • RE: help with a trigger....

    Oracle's CEO

     

  • RE: help with a trigger....

    Yeah I meant He makes. True money is not everything but it makes life a lot easier ... most of the time

     

  • RE: help with a trigger....

    I don't really like him but wouldn't mind to make one half of what i makes

     

  • RE: help with a trigger....

    Ok if it works, that's fine!  I just don't like the variables because triggers are meant to be always multirow (front end can and most of the time will change)...

  • RE: Pivot Report - Dynamic Columns

    Another warning here: you can't have more than 256 columns in an XL worksheet

     

  • RE: help with a trigger....

    Let me try to dissect a bit what I posted to see if it makes sense for you:

    tblReport(    PicID  --Picture

         , 100

      , 110  -- Line

      , 120  -- Line

      , 121 ...

  • RE: Count Versions

    1. You don't need that distintc in the inner query

    2. I am going to guess:

    select    a.editor

     , a.softname

     , a.version

     , count(a.hostname) total

     , case when suite = 0 then 'NO' ELSE 'YES' END...

  • RE: Typical Trigger Issue

    Some more stuff:

    On very rare occation nested triggers are usefull and even in that case I still try to go for other non-recursive method of accomplishing the same thing! Therefore...

  • RE: Removing embedded duplicate rows

    This is a classic scenario of:

    Fast,Cheap,Good --> Pick Two

     

    I have been in that possiton quite a bit and even after my recommendation...

  • RE: When to use Stored Procedures

    There IS an advantage to put a single select statement in stored procedures!!

    Reasons:

    1. if that statement is has parameters The previously compiled plan can be reused on the contrary ad-hoc is...

Viewing 15 posts - 2,866 through 2,880 (of 5,103 total)