Forum Replies Created

Viewing 15 posts - 47,626 through 47,640 (of 49,571 total)

  • RE: How can you respond to this...

    David Lester (1/23/2008)


    So anyone have any thoughts on this? Any suggestions on how to explain why a DBA would be important to have?

    Thanks!

    Ask management what their disaster recovery plans are....

  • RE: SQLProfiler : Deadlock Graph doesn't dispaly SQL stmt

    Mike Landa (1/23/2008)


    Gail,

    do i need to run SQLDiag to post Error log here ?

    No. It's written into the normal sql server error log. You can view the error log through...

  • RE: Issue with date field calculations

    Jeff Moden (1/23/2008)


    don't really see the point of an unique index with ignore duplicates on. Am I missing something?

    It's a cheater method for removing dupes during a Bulk Insert...

  • RE: temp table

    If you create a temp table in a procedure, then any procedures you call from that one will be able to see the temp table. If you create a...

  • RE: Newbie needs help with query

    My ASP is rusty but ....

    Ray M (1/23/2008)


    'str = "if not exists (SELECT * FROM Checklist_Justify WHERE iAsmtID="&iAsmtID&")"

    'str = "INSERT INTO Checklist_Justify (iAsmtID, sQuest, sJustify) VALUES ("&iAsmtID&","&sQuest&",'Testing')"

    Unless I'm very mistaken,...

  • RE: SQLProfiler : Deadlock Graph doesn't dispaly SQL stmt

    Switch trace flag 1204 on. That makes SQL write the deadlock graph into the error log. It's not as pretty as the profiler version, but it will work.

    If you're unsure...

  • RE: Issue with date field calculations

    Jeff Moden (1/19/2008)


    No, no... it won't fail if the IGNORE DUPLICATES option is turned on for the unique index. It will just give a warning that at least one...

  • RE: Top hash operations Performed

    Shouldn't make a difference. Certainly won't cause a hash-operation. Probably they're queries someone 'wrote' using enterprise manager, which puts that in by default.

    In the exec plan, you should see the...

  • RE: Deadly table scans

    dsc (1/23/2008)


    There is a high degree of fragmentation on the indexes.

    Rebuilding your indexes is an obvious suggestion.

    Can you post the table structure, indexes and the code that's causing the table...

  • RE: Table Valued functions Vs Scalar Valued Functions

    One of the things to watch for with table-valued functions (especially the multi-statement table valued functions) is that the resultant table, just like a table variable) has no column statistics...

  • RE: Restore

    I haven't tried it, but it should be possible to recover all the way.

    Full backups don't truncate the transaction log (only tran log backups do that) so you should...

  • RE: Slower and slower.. what will you do...?

    And the code you're using to check existence and insert also, please.

  • RE: how to join to build an expected output result set?

    You're looking for a left outer join (to get all rows from tab1 even where there aren't matches) and a case statement to construct the WorkFlag depending on the existence...

  • RE: Count function with nulls in columns

    Count (*) will give you the total number of rows in the result set. Count(column name) give you the number of non-null values in the column.

    If there are nulls in...

  • RE: locking an entire table

    If you have an explicit transaction and within that transaction you reference a remote server, the transaction will be promoted to a distributed transaction.

    From the error, it looks like the...

Viewing 15 posts - 47,626 through 47,640 (of 49,571 total)