Viewing 15 posts - 2,296 through 2,310 (of 7,191 total)
Sanjay
Have you done what it suggests in the error message? Looks as if the problem is so serious that you can't back up the database. Copies of the...
September 20, 2016 at 7:09 am
Use PATINDEX to find where the text finishes and the date starts you can use '20[0-9][0-9]' or something like that as your pattern match. Once you've got that, it's...
September 19, 2016 at 9:44 am
Your CASE expression returns NEW or OLD, and you're casting it to bit, which isn't valid. Change your CASE expression so that it returns 1 or 0, or cast...
September 16, 2016 at 9:52 am
Looks fairly simple - you're just joining all three tables together, and using a MAX or MIN to get the top sale per invoice. Is there any particular part...
September 15, 2016 at 8:40 am
I'm saying that's one option, yes.
John
September 15, 2016 at 7:07 am
Not as far as I know. But you could manually amend the script as soon as it's generated. Or you could write your own query to return an...
September 15, 2016 at 4:56 am
I've never heard of it, but from its name, I'd guess that it's a trigger on the sysarticles table in your published database. Does such a trigger exist? ...
September 15, 2016 at 4:38 am
Is that because you haven't changed anything? Try disabling replication and pressing OK, then open it again, tick the box to enable, and see whether the Script button is...
September 15, 2016 at 3:01 am
I don't know what's going on, but one thing that may be worth trying is instead of hitting OK, generate a script and run that, one statement at a time....
September 15, 2016 at 2:19 am
Mike
The log backup will only be huge if you haven't backed it up for a long time (or, more accurately, if there has been a lot of changes in the...
September 14, 2016 at 2:51 am
Mike
Yes, your understanding is correct. That's (one of the reasons) why it's important to make regular transaction log backups. DBCC SHRINKFILE is indeed not recommended for regular use,...
September 14, 2016 at 2:17 am
It works on SQL Server 2012. Make sure you choose Surface Area Configuration from the Facet drop-down list in the View Facets window.
John
September 13, 2016 at 9:52 am
I think you'd be better off with an alert that notifies you every time there's a blocked process event (if that's actually what you want - you may change your...
September 13, 2016 at 4:44 am
I notice this is an old thread, but in case anyone reading it is in a similar position, the steps are much simpler than those recommended above:
(1) Take a transaction...
September 13, 2016 at 3:48 am
Yes, good point - Microsoft released a fix prior to SP3 that's supposed to have addressed stuff like this.
The only things I can recommend are updating statistics more often (with...
September 13, 2016 at 3:35 am
Viewing 15 posts - 2,296 through 2,310 (of 7,191 total)