Forum Replies Created

Viewing 15 posts - 121 through 135 (of 252 total)

  • RE: Testing the Results of RESTORE VERIFYONLY

    Hmm. It won't directly capture the output of RESTORE VERIFYONLY, but doing a SELECT @@ERROR immediately after RESTORE VERIFYONLY will return the count of errors encountered in the RESTORE...

  • RE: How to use sp_create_plan_guide AND USE PLAN hint

    Ah, I see. That clears quite a few things up!

    There's still the question of what you'd like the query to do, however; I'm guessing that the [langue] column is...

  • RE: How to use sp_create_plan_guide AND USE PLAN hint

    Hmm. Someone with more experience will probably be more useful here, but there's a few things that are out of the ordinary with this question.

    First, second-guessing the query optimizer...

  • RE: Are the posted questions getting worse?

    Haven't had much time to post in The Thread or elsewhere lately due to work and other social commitments eating much of my time lately, but I wanted to drop...

  • RE: This is how to fail

    Seems like the Buffer team did a great job indeed with their situation. I'm honestly surprised to see a company own up to a breach and try so extensively...

  • RE: Cursor or Temp Files?

    A cursor certainly wouldn't be needed here; this could be accomplished with a temp table or CTE quite easily. You could do something like so:

    CREATE TABLE #Temp(Order# varchar(100))

    INSERT INTO...

  • RE: MSDB sysjobstepslogs table is huge

    I believe there shouldn't be a problem with doing that; I restored an MSDB copy on a test server (since this whole thing's gotten me kinda interested in the problem),...

  • RE: MSDB sysjobstepslogs table is huge

    Hm, I may have hit on something. I found an old thread here on SSC from someone having a similar problem:

    Thread

    Seemingly, SQL Server 2005 (and maybe further versions?) can...

  • RE: MSDB sysjobstepslogs table is huge

    Ah, my apologies. I was looking at a few old jobs that were apparently using the "append" option with the log table; by default, they shouldn't be appending. ...

  • RE: MSDB sysjobstepslogs table is huge

    One thing to note is that the storage field for the table's output is NVARCHAR(MAX), so it holds quite a bit of data, and every time the job runs, it...

  • RE: Using a Stored Proc to schedule a job

    It's possible to edit a job's schedule through T-SQL, certainly; I put together this kinda wonky looking bit of code. There may well be a simpler way of doing...

  • RE: 6 hours for a delete task???

    Hm. Deleting 2.5 million records will be quite a bit of work to do; even more so if you have foreign keys that need cascading, or deletion triggers. ...

  • RE: Execute SQL Proc

    It's quite possible to use Access to call a SQL Server procedure; you'll need to have a link to your SQL Server established in the Access file first, however. ...

  • RE: Script to Delete Reports Older than a Certain Number of Days

    Hm. From the error message, it seems someone or something is using the file you're trying to delete. If you accidentally opened it before you deleted it and...

  • RE: Jobs and Outsourcing

    Hm. In my area (Chattanooga, TN), tech jobs are quite rare, unfortunately, and the local government was outsourcing some of its database personnel when I inquired about it last...

Viewing 15 posts - 121 through 135 (of 252 total)