Forum Replies Created

Viewing 15 posts - 676 through 690 (of 832 total)

  • RE: xp_regread failed to retrieve info from windows registry

    Right-click the key you're interested in and select Permissions. However, the SYSTEM account really ought to have permissions on everything in the registry--I'd be surprised if there was any part...

  • RE: backup database

    Had to read through the BACKUP item in Books Online to be sure what would happen here, because it certainly makes no sense to put a backup inside a transaction...

  • RE: Performance Counters

    I had a suspicion that the obvious answer was going to be wrong, but I selected it anyway because I was curious to see what the actual answer was. One...

  • RE: Log Shipping Copy Process

    Is the SQL Server Agent on the secondary server running under an account that has access to the log shipping folder on the primary server?

  • RE: Affects of several VarChar fields in a table

    GilaMonster (8/31/2010)

    Since they are variable-length columns, inserts won't fail, the excess data will be pushed off page. Row Overflow. Will do terrible things for performance.

    Doesn't that depend on the SQL...

  • RE: Affects of several VarChar fields in a table

    One problem you might have is that the total possible row length you've got there is well in excess of 32k--way higher than the little-bit-less-than-8k SQL server provides! If you...

  • RE: HAVING without GROUP BY

    I was expecting an answer of 3 or 5, but I wasn't sure which, so I created a temporary table to check--was somewhat surprised to see no rows at all...

  • RE: If You Had To Pick a Super Hero...

    Kendal Van Dyke (8/27/2010)


    Just a normal human being who is constantly honing his skills and taking his share of lumps along the way.

    Normal human being? Well, sort of, although there...

  • RE: SET ROWCOUNT and table variable

    Steve Eckhart (8/27/2010)


    Actually, we're doing the exact same thing here. This was the original query:

    while @i <> 1

    begin

    declare @a table(a int)

    set @rc = @i + 0.9

    set...

  • RE: If You Had To Pick a Super Hero...

    Can I be the first person to be picky enough to point out that Batman isn't technically a superhero, since he possesses no superpowers? 🙂

  • RE: SET ROWCOUNT and table variable

    Gopinath Srirangan (8/27/2010)


    Hi,

    But another sample query as shown below gives expected result which contradicts from while loop.

    DECLARE @i float

    set @i = .9

    set @i = @i + .1

    You're only adding one...

  • RE: If You Had To Pick a Super Hero...

    This is actually a really hard question. I think it would have to be Reed Richards, of the Fantastic Four, simply because he solves most of his problems using his...

  • RE: SET ROWCOUNT and table variable

    I actually guessed the outcome as soon as I saw the comparison--but then, I was a programmer for ten years, and I think "DO NOT DIRECTLY COMPARE TWO FLOATING-POINT VALUES"...

  • RE: Round up or down IV

    Hugo Kornelis (8/24/2010)

    Super! Thanks for testing and reporting back here.

    Obviously, this weird behaviour that appears to be exclusive to the ROUND() function has been fixed in SQL Server 2008.

    Is it...

  • RE: Round up or down IV

    Nope, just tested it on a SQL 2008 Express install and it came up with an arithmetic overflow as expected.

Viewing 15 posts - 676 through 690 (of 832 total)