Forum Replies Created

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

  • RE: Cannot "net start" with xp_cmdshell

    The account SQLServer is running under has local admin rights on the server and I was logged in as that account.  So the xp_cmdshell and cmd line had the same...

  • RE: starting sql server

    Try to start SQL Server from control panel/services.  If you were using a domain account for your sql services it could have lost some privileges.   I’ve seen this error...

  • RE: Profiler causing low CPU usage

    the only time I ever saw something like this was due to the thread starvation.

    Run this DBCC SQLPERF (UMSSTATS) while your...

  • RE: Access Violations

    Thank you Carl.  Sorry about the constraint.  I removed that column at the last minute. 

     

  • RE: tempdb growing out of proportion

    This might not be your case… But I've seen this happen with a query that had a lot of left joins.  Once I replaced all of them with not...

  • RE: Perf Mon and SQL Profiler

    thank you very much for all of your replies.  I will check out everything that was suggested.

  • RE: Cursors

    Thanks

    The only problem is that the Alter statement is used for a completely different functionality that I found out about this morning by...

  • RE: Cursors

    it's actually using ALTER TABLE <MyTable> DISABLE TRIGGER ALL.

    Dropping the trigger caused the same error as ALTER.

  • RE: Cursors

    Remi...you are awesome!!!

    I got that same error message using pubs when I tried to disable triggers while the cursor was open.  Now I just have to recreate that problem in...

  • RE: Cursors

    Hmm.  There is one process that drops the triggers and then recreates them.

    Could that be it?

     

  • RE: Cursors

    Here is the code.  thanks

     

    ALTER  PROCEDURE ecmspEliminateDuplPhones(

       @CampaignID       BIGINT,

              @RuleID           INTEGER,

              @ErrorMessage    VARCHAR(4000) OUTPUT)

    AS

      DECLARE @DuplPhoneNumber  CHAR(10)

      DECLARE @DuplPhones       TABLE (UserID BIGINT)

      DECLARE @ErrorNumber      INTEGER

      DECLARE @PhoneNumber      CHAR(10)

      DECLARE...

  • RE: Cursors

    Just did.

    I appreciate your help.  Any idea in general would be appreciated.  Unfortunately, I didn't find much on this error on the web. 

  • RE: Cursors

    nope.  the only difference was that there were a little more concurrent processes running then usual.  And that cursor uses a local temp table.  No indexes on it.

  • RE: Single Point of Administration

    "Do it once" approach is great... as long as it's not overdone.  I've inherited a system where all stored procedures and functions are written in this fashion. 

    On one occasion...

  • RE: Remove OUTPUT

    very simple...lack of caffeine

    I will keep that in mind the next time when I have the urge to ask a silly question.

    thank you!

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