Forum Replies Created

Viewing 15 posts - 48,466 through 48,480 (of 59,065 total)

  • RE: database and transaction logs on same drive?

    bumey309 (9/1/2008)


    Why is it not recommended to have the database and transaction logs on the same drive? What will be the cause if ever?

    The biggest reason is simply performance. ...

  • RE: Database Design Question

    Jeffrey Williams (9/1/2008)


    Maybe I am misreading this - but it sounds like all you need to do is change the join in the view from an inner join to a...

  • RE: Sysobjects (xType vs Type)

    Christopher Stobbs (9/1/2008)


    Type is there for backward compatibility

    I wonder why some of the folks from Redmond saw fit to use it to define some of the information schema views if...

  • RE: Epidemic Priority

    Heh... I'm thinking this is strong justification for tele-commuting. 😛 Let's all become agoraphobic and avoid the epidemic, conspiracys, and a modicum of common sense. 😉

  • RE: Excel Result Vs DB Result

    Do like Excel does... do the calculations using FLOAT (Barry implied it with 100.0) and then round the answer to the correct number of decimal points for display. If...

  • RE: Pass file name as variable

    OpenRowset cannot take variables as part of it's syntax. You'll need to do the whole OpenRowset thing as dynamic SQL.

  • RE: query suddenly goes slow - Worktable logical reads high

    As previously suggested, have you looked into "parameter sniffing"? Google it.

    Also, are there any settings differences between the two servers like "auto statistics", etc. Last but not least,...

  • RE: SQL 2000 Server Slowness

    It could simply be a case of "parameter sniffing"... Google it.

    Also, are "auto statisics" enabled or not?

  • Reply To: Delete File Without xp_cmdshell

    Richard Fryar (9/1/2008)


    There is a sneaky way of doing this described here:

    xp_cmdshell alternative

    Heh... I love "sneaky". That's awesome! Thanks for the tip! 🙂

    EDIT - BEWARE !!!!  THE LINK ABOVE...

  • RE: What does this return?

    Pulkit Lall (8/31/2008)


    when i tried to run the command, it gave me 5 resultsets with 5 random numbers and not 1 random number.

    So, the answer is 5 resultsets with 5...

  • RE: One Milly-yon IOPS - Database Weekly (Sept 1, 2008)

    GilaMonster (9/1/2008)


    If today's programmers can count on faster disk drives, essentially memory speed, are we going to see more and more bad SQL in tomorrow's databases?

    Of course, because there are...

  • RE: swap data between 3 fields?

    Ah... got it... thanks for the feedback.

    Still, if the table were properly normalized, this would be a piece of cake. 🙂

  • RE: Local Temporary Tables and Table Variables

    Good article!

    You did forget to mention one workaround for the UDT's that would allow it to work across all databases including TempDB... Define the UDT in the Master...

  • RE: more than one query in CASE-WHEN-THEN statement

    gan (8/31/2008)


    I get 1469283328 for that. Sorry I do not quite understand what you are trying to explain. Can elaborate more? 😀

    Yes... but please look at the actual execution plan...

  • RE: String or binary data would be truncated.

    balbirsinghsodhi (9/1/2008)


    There was a DDL trigger on that database and I deleted that trigger and ran the code as a stored procedure and it's working fine. You guys rock. Thanks...

Viewing 15 posts - 48,466 through 48,480 (of 59,065 total)