Forum Replies Created

Viewing 15 posts - 41,881 through 41,895 (of 49,571 total)

  • RE: Help needed to do performance tune in stored...

    The first thing I would suggest is you try to split that up into smaller procedures. First, it'll make it more likely for the thing to get an optimal plan,...

  • RE: How do I solve 2005 workgroup deadlocks

    langsoo (1/8/2009)


    How should I go about optimizing to get rid of the deadlocks?

    Please post the deadlock graph that traceflag 1222 produces.

  • RE: highest unused ID

    foxjazz (1/8/2009)


    yea, sorry I guess I meant lowest unused.

    if 1,2,4,5 are used, then 3 would be a result.

    So you want the lowest unused value from an identity column? Not a...

  • RE: Restore Database Without Log

    Can you describe your scenario in more detail please? Are you restoring a backup, trying to attach a database, something else?

    Do you have a clean, uncorrupted backup of this database?

  • RE: highest unused ID

    Can you be more specific? Primary keys don't have to be sequential, so the concept of 'highest unused' isn't something that applies to all primary keys.

  • RE: Restore with Recovery option

    kwoznica (1/8/2009)


    WITH MOVE 'NAV5LIVE_DATA.MDF' TO 'E:\COPYDB\NAV5LIVE08_DATA.MDF',

    MOVE 'NAV5LIVE_1_DATA.NDF' TO 'E:\COPYDB\NAV5LIVE08_1_DATA.NDF',

    MOVE 'NAV5LIVE_LOG.LDF' TO 'E:\COPYDB\NAV5LIVE08_LOG.LDF',

    RECOVERY,

    STATS = 5;

    I believe the highlighted name should be the logical file names, not the...

  • RE: Missing data rows?

    Ron Kunce (1/8/2009)


    My options are to increase the .net timeout values or best to get the server upgrade made a top priority.

    How about optimising the database query? That will...

  • RE: Post Full Backup Transacation Log Backup Huge

    murrayd (1/8/2009)


    Reorganize Indexes,

    That'll do it.

    If you're rebuilding all indexes on all tables than you are 'changing' every row in the database. Index rebuilds are fully logged in full...

  • RE: Missing data rows?

    Ron Kunce (1/8/2009)


    This leads me think that option may have deprecated some time ago as the user guide is from manuals.sybase.com/onlinebooks/. . ..

    Sybase and SQL split...

  • RE: cannot understand why query analyzer is picking a specific index.

    winston Smith (1/8/2009)


    im thinking the optimizer will pick the (string, dt, id) index as it has less rows to return with the string, max of 100, rather than 5000 or...

  • RE: Update small parts of XML in DB

    Why are you storing and modifying large pieces of xml in a database? Why are these claims not in their own table?

  • RE: Post Full Backup Transacation Log Backup Huge

    When's the last log backup from before the full? Full backups don't truncate the log, so you have to look at the activity from the last tran log.

    Full recovery? Bulk...

  • RE: urgent query

    pcreddy9 (1/7/2009)


    ok

    Please don't edit your questions away. It just makes it confusing for everyone who reads it afterwards.

    It's also polite to let us know if the solutions worked or not.

  • RE: How to manage errors efficiently?

    crfenix (1/8/2009)


    but unfortunetly this approach isn't handle ALL error types and some times somethig wrong happens in the middle of the execution and there is no rollback with the...

  • RE: cannot understand why query analyzer is picking a specific index.

    winston Smith (1/8/2009)


    I was told, in an sql course that when indexing for AND queries, always try to use an index on the most selective column.

    I hate it...

Viewing 15 posts - 41,881 through 41,895 (of 49,571 total)