Forum Replies Created

Viewing 15 posts - 196 through 210 (of 252 total)

  • RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

    I did not read all the responses - so many! However, I don't think concurrency was mentioned. Placing a clustered index on an identity column places new inserts...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: row-level trigger update

    In the update trigger, use the inserted and updated "tables" to compare the record values before and after - they might not actually change. An identity id is handy...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Bit Flag or seperate columns

    How about both? Use a bit mask and add a computed column for the answer to each question.

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Create a table with the result of SP_PACEUSED

    My understanding is, and this might be wrong, is that you must create the table first before using the "INSERT #table Execute proc". A "SELECT ... INTO #temp ..."...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Creating a loop for updating

    Normally, the best performance is obtained from SQL Server if you can use a set based query. A cursor or a loop should be a last resort unless the...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: XP_sendmail started failing

    For this reason, I would also avoid xp_sendmail in SQL Server jobs. I've seen such a hang prevent scheduled jobs from executing. There are other options. I...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Debuggin StoredProcedure

    The debugger interface is required on the client.

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: To delete temp tables or not to?

    quote:


    quote:


    I like to put the drop in myself. Sometimes to debug a procedure,...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Missing SQL Server Logs

    If you are talking about the SQL Server Error logs, try looking up "Using Startup options" in BOL. There should be an -e parameter specifying the path to the...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Incremental SUM

    Is a SET NOCOUNT ON required while processing the temp table?

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: problem with old style joins *=

    quote:


    ...the upgrade changes the -- by removing it....


    This sounds like a serious bug to me....

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: Running Stor Proc from DTS package

    On advantage of using a job step is that the step history will contain information from prints or raiserrors. Comes in handy. Good luck in finding this output...

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: not inquery help

    I have found that using a join normally produces a faster query.

    SELECT t1.*

    FROM #temp1 t1

    LEFT JOIN #temp2 t2

    ON t2.ID = t1.ID

    WHERE t2.ID IS NULL

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: How to hide the databases from remote connection

    I would also make sure that your public roles do not have object permissions.

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

  • RE: problem with old style joins *=

    The conversion might be tricky. In the old style, the where clause is applied before the join while in the new style the where is applied after the join....

    RandyHelpdesk: Perhaps Im not the only one that does not know what you are doing. 😉

Viewing 15 posts - 196 through 210 (of 252 total)