Viewing 15 posts - 121 through 135 (of 253 total)
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...
- 😀
January 10, 2014 at 10:01 am
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...
- 😀
January 9, 2014 at 10:06 am
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...
- 😀
January 9, 2014 at 9:46 am
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...
- 😀
December 23, 2013 at 2:24 pm
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...
- 😀
December 17, 2013 at 8:15 am
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...
- 😀
December 12, 2013 at 12:41 pm
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),...
- 😀
December 12, 2013 at 7:31 am
Hm, I may have hit on something. I found an old thread here on SSC from someone having a similar problem:
Seemingly, SQL Server 2005 (and maybe further versions?) can...
- 😀
December 11, 2013 at 2:48 pm
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. ...
- 😀
December 11, 2013 at 2:40 pm
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...
- 😀
December 11, 2013 at 1:41 pm
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...
- 😀
December 3, 2013 at 3:17 pm
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. ...
- 😀
December 3, 2013 at 2:16 pm
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. ...
- 😀
December 3, 2013 at 2:06 pm
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...
- 😀
November 14, 2013 at 4:25 pm
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...
- 😀
November 11, 2013 at 7:22 am
Viewing 15 posts - 121 through 135 (of 253 total)