Forum Replies Created

Viewing 15 posts - 5,131 through 5,145 (of 6,486 total)

  • RE: ISNULL in a CASE statement???

    Joe -

    Just in case you were wondering: the difference between your syntax (the so-called "simple case" syntax) and Andras' is that the "simple" version of the syntax assumes that...

  • RE: I got a job but .....

    Oh - and that's just the first month...:)

  • RE: I got a job but .....

    Like Jeff said - a lot. By getting to be both dev and DBA you get to fine-tune that fine line between "ivory tower normalization" (the DBA voice) and...

  • RE: SQL Server 2000 to SS2005 - License Upgrade

    That's usually the way Software Assurance works (you're allowed to upgrade to whatever version), but keep in mind that SA is time-limited (meaning - you must be within the SA...

  • RE: TempDB is 13gigs and growing

    Once you find the offending code however - restart the server and see what size the tempDB naturally grows to. Once you have a stable number - make that...

  • RE: How to combine aggregate function with * in SELECT?

    Actually - I'm not sure what you plan on getting with that. The numbers are going to be all over the place aren't they?

  • RE: The SQL * Wildcard

    I'd have to agree there with Brandie. I tried this on two "wide" (180 columns) tables with NO records:

    declare @i int

    select @i =0

    while @i<1000000

    begin

    insert...

  • RE: Multiple Groupings

    I'm slow but I still get there at times:)

    It's that time of the week where I need the "hands bypass" mechanism. The thought's there - but the...

  • RE: IIF clause in a TSQL INSERT statment

    IIF is not a legal construct in Transact-SQL. You need to use the CASE statement instead.

    CASE when condition THEN true_value else False_value END

  • RE: Multiple Groupings

    you're right about the same number of columns...which is why the first SELECT of mine was padding with NULLS (as you said). Just make the number of columns the...

  • RE: Compare max values from two tables in where clause

    As long as you stay with MAX or MIN - I agree with Antares' solution. All of the other aggregate functions will get wrecked by a join before you...

  • RE: Multiple Groupings

    That's not a whole lot of info to go on, but - yes you could. If I understand your request correctly - you'd want to explore something like a...

  • RE: Would this stored procedure kill other traces?

    unless you are dumping the results of the profiler trace to a table like nic_aud_trace, in which case your script would in fact "kill" that profiler session

    IF EXISTS (SELECT...

  • RE: Records being inserted into Gaps of Identity Col

    I prefer to reset the right value by using:

    dbcc checkident('MyTable', reseed, 0)

    dbcc checkident('MyTable', reseed)

    The reseed with no arguments will change the seed to the next higher number not used in...

  • RE: Still Can't Deploy

    Did you somehow kick yourself out of the "publisher" role? The account creating the reports would need publisher or Content manager access in order to publish/deploy to the server.

Viewing 15 posts - 5,131 through 5,145 (of 6,486 total)