Viewing 15 posts - 1,456 through 1,470 (of 5,843 total)
1) Why is the log getting filled up? Is it because one or more of your secondaries isn't keeping up with log receive/replay? If so, take those secondaries offline and...
August 4, 2015 at 6:22 pm
I am with Gail. Page files on SQL Servers should NEVER be used when things are set up correctly, and I advise my clients to make them just big enough...
July 31, 2015 at 10:24 am
This should be sent off to Itzik Ben-Gan as a puzzler to work out for an article on SQLMag.
July 30, 2015 at 8:48 pm
I think you have a great plan, with a few conditions:
1) Are the rows in the original table just ADDED or are there also UPDATES and DELETES? If just the...
July 30, 2015 at 8:46 pm
I don't think we can help you without create table scripts, representative data inserts and your actual and expected results from the statement execution.
July 30, 2015 at 11:48 am
1) Asking for all columns from every table.
2) We need additional info to really help. Table create scripts (with indexes), row counts, query plan.
3) Leading percent on the like....
July 30, 2015 at 10:22 am
PJ_SQL (7/29/2015)
Why can't the stored proc just have select...
July 30, 2015 at 10:10 am
Imran-Yasir (7/29/2015)
Can anybody please tell me that how many databases are recomended to add in one AG in SQL Server 2012 AlwaysON to get better...
July 30, 2015 at 10:08 am
I am on the last day of a cruise vacation and pretty much brain-dead, but I think this does the trick, although I am not certain you want to use...
July 29, 2015 at 12:45 pm
Junglee_George (7/29/2015)
Hi KevinIt will be useful if you can explain me with some code change example, in the way that will benefit the query performance.
You provided the code change already....
July 29, 2015 at 10:15 am
Junglee_George (7/28/2015)
SET @StartDate1 = (SELECT MIN(A.startdate) FROM #Activities2 AS A WHERE activityIncId = @ActId )
SET @EndDate1 = (SELECT MAX(A.enddate) FROM...
July 28, 2015 at 2:30 pm
This should be able to be done with WINDOWING functions since you are on SQL 2012. I bet I could also do it very quickly and efficiently using DATEADD and...
July 22, 2015 at 10:58 pm
1) You have what are almost certainly views in that query, so G-d only knows what the decompiled query looks like. I have seen queries like that net out to...
July 21, 2015 at 6:50 pm
Viewing 15 posts - 1,456 through 1,470 (of 5,843 total)