Forum Replies Created

Viewing 15 posts - 16 through 30 (of 497 total)

  • RE: Help with hitting a wall

    Hyperthreading won't affect the tempdb, growth factor or tran log size. However it may be the problem for this "Write requests are refused, whereas read requests are processed, and any...

  • RE: Help with hitting a wall

    One more thing. If you have hyperthreading turned on, turn it off.

  • RE: Help with hitting a wall

    Are you sure you're not running out of log space? If you have a 1.6tb database I don't see how the 80gig log will be large enough! Maybe I'm missing...

  • RE: An INSERT EXEC statement cannot be nested.

    Francisco,

    You might think about the possibility of turning the sproc into a udf. In this way you would then simply do the following.

    INSERT INTO #Foo(...)

    SELECT ... FROM dbo.f_YourNewUDF(...)

     

  • RE: How to query old data while importing new data, then switch to new, without downtime

    Add a log table that you put a record in when the process starts and another when the process finishes. Then simply query the log table using the NOLOCK hint....

  • RE: Help with UNION ALL Join -

    Can you give us some ddl and a sample query to work with? Also if you separate it out to individual queries do they all run?

  • RE: Cant use temporary tables in Stored Procedures

    I don't think your VB code is correct on the last post. You would first have to create the command object and then execute it. At that time you should...

  • RE: Extended SPs and Winsock

    I don't think I would want to have my SQL Server calling winsock directly. If it were to error out more than likely you would end up downing the server

  • RE: increment of key

    This is going to make your life miserable in the long run.

    As Alzdba stated I would add an identity column to use as an alternate key for table and...

  • RE: Possible Query Analyzer Bug

    This is because you have "Smart Quotes" replacement turned on in Word. If you go to the "AutoCorrect" settings you can turn it off and you should no longer have...

  • RE: TSQL Help

    If you are worried about the data becoming dirty I would use a transaction and set the isolation level as appropriate. In this way if the update were to fail...

  • RE: Need help with deleting rows & table contraints

    I don't think it is the constraints that are causing the problem here.  Here is what I would try.

    Create a nonclustered index on the CycleID and ExtractTypeId fields to use...

  • RE: Getting rid of dynamic SQL in this stored procedure

    You could do something like

     

    WHERE distance <= ISNULL(@MaxDistance, distance)

  • RE: maintenance backup failing

    OK. Lets try removing the SQL Maint all together and creating a job manually to see if we can find out what is happening.

    Try creating a backup device using the remote...

  • RE: Break down update statement

    In this last DDL I see a few places you could speed this up. First since you moved the data into the temp table to do the update. Make sure...

Viewing 15 posts - 16 through 30 (of 497 total)