Forum Replies Created

Viewing 15 posts - 48,241 through 48,255 (of 49,571 total)

  • RE: Help! Drowning! Runaway log file!

    If this is a dev server and the data's not important you can set the DB to simple recovery mode. That way you won't need to do log backups.

    Be aware...

  • RE: help me...

    dewa_himatif_sf (11/13/2007)


    IN SIMPLE MODE,

    can you help me?

    but I've heard that the record from table was delete, isn't not permanent deleted, we can undo "delete proses" if we can read the...

  • RE: help me...

    dewa_himatif_sf (11/13/2007)


    i've heard that the data isn't permanent delete, but it's save in .ldf, but idon't know about that

    All data changes are written to the transaction log. If the DB...

  • RE: Performance problems on Live server

    Jez (11/13/2007)


    We already have WITH RECOMPILE in the procs and it seemed to make no difference. That's why I made the other changes.

    Our processing sometimes involves a few thousand...

  • RE: ORDER BY not working as it should

    I don't have your tables handy, so I can't run that query. Maybe this will suffice. Against a SQL 2005 SP2 server

    select name, object_id, type_desc, create_date, create_date

    from sys.objects

    -- Runs fine....

  • RE: ORDER BY not working as it should

    The order by clause runs after the aliases in the select have been applied. This is most likely undefined behaviour deriving from technically incorrect SQL. Most likely whichever column gets...

  • RE: Performance problems on Live server

    As an alternative to local variables, I would suggest that you change the procs back to using parameters and mark each proc WITH RECOMPILE.

    With variables you'll get average performance, never...

  • RE: is there any difference between != and <>

    Jeff Moden (11/13/2007)


    ...and here's your advantage... I don't have 2k5 to play with... I have to do it using only T-SQL 'cause I only have 2k. 😉

    Is not fair then....

  • RE: Selecting a Column from another table

    With this, you're going to have to resort to dynamic SQL. Build up the statement as a string, then execute it. (sp_executesql)

  • RE: Query times inconsistent

    The other problem with that is that when the proc compiles, all of the selects compile, based on the values of the parameters for that call. That's even if the...

  • RE: SHRINKDATABASE Not Working

    Shuffle, shuffle, shuffle the pages... I wrote a post about this, after encountering way too many people shrinking databases for no good reason. (http://sqlinthewild.co.za/index.php/2007/09/08/shrinking-databases/%5B/url%5D) I've had an uphill battle with...

  • RE: performance and compatable mode

    Do you mean compatability mode? (80,90,...)?

    I doubt it will. All the compat mode does is enable of disable the new features. It does not make the server behave like an...

  • RE: impact of "permanent" sql trace on production server?

    Mark Manis (11/9/2007)


    I guess there are mixed opinions of this out there, because another DBA told me this was the preferred method and it seems to work well for me.

    There's...

  • RE: is there any difference between != and <>

    Jeff Moden (11/9/2007)


    Heh... good point. But have had this argument with many other folks... there's very little you will ever need a CLR for if you actually know T-SQL...

  • RE: Table locks resulting from trigger

    You can use profiler to capture the insert statements, and also to check is the app is doing a begin transaction before the insert and when/if it is doing the...

Viewing 15 posts - 48,241 through 48,255 (of 49,571 total)