Viewing 15 posts - 436 through 450 (of 1,034 total)
mtassin (2/20/2012)
now it seems to select all of them.Except the linked article doesn't mention anything about uniqueness constraints.
Actually, no I just misread it.
Make sure that statistics exist on the columns...
February 20, 2012 at 7:12 am
now it seems to select all of them.
Except the linked article doesn't mention anything about uniqueness constraints.
February 20, 2012 at 6:58 am
valeryk2000 (2/16/2012)
cmd.CreateParameter("@CaseSummary", adLongVarWChar, adParamInput, -1, IIf(IsNull(txtCaseSummary.Value), Null, txtCaseSummary.Value))
So Access 2003 handles something at...
February 16, 2012 at 10:20 am
I still use it manually with no trouble, but I came up with this for when we restore production to a test environment.
EXEC sp_msforeachdb '
USE [?];
DECLARE @cmd NVARCHAR(MAX)
SELECT
@cmd =...
February 16, 2012 at 10:13 am
I don't believe Access 2003 will handle nvarchar(max)
The SQL Backend is fine with it, the Access front end is not. So in this case I'd make the client do...
February 16, 2012 at 9:58 am
Better would be to calculate the date back and use the date for the comparison.
Using non-deterministic functions on date columns in where clauses is generally a no-no... if there are...
February 16, 2012 at 9:54 am
YSLGuru (2/10/2012)
February 10, 2012 at 2:44 pm
Daniel Bowlin (2/10/2012)
The first 4 missing indexes were for the same table. Take...
February 10, 2012 at 2:44 pm
5) Check for any table or Index scans. Using the execution plan, it's easy to identify if the SQL statement is performing any table or index scans. In the majority...
February 10, 2012 at 7:32 am
Doesn't work with Clustered instances. Or with default instances
SET @instanceName = CONVERT (VARCHAR,SERVERPROPERTY ('ComputerNamePhysicalNetBIOS')) + '\' + CONVERT(VARCHAR,SERVERPROPERTY('InstanceName'))
Will return Null for a default instance and NULL out @instanceName
It will...
February 8, 2012 at 10:50 am
Grant Fritchey (2/7/2012)
mtassin (2/7/2012)
I don't see different query plans with 4136 on or off, I see vastly different performance with respect to response times. So much so that I...
February 7, 2012 at 11:48 am
GilaMonster (2/7/2012)
mtassin (2/7/2012)
Really?
For us the new variant of Parameter sniffing kicked us in the teeth when we jumped from SQL 2000 to 2008 R2.
What 'new variant of parameter...
February 7, 2012 at 11:10 am
GilaMonster (2/7/2012)
mtassin (2/7/2012)
GilaMonster (2/7/2012)
I will admit, recompile would not be my first or even second option for dealing with parameter sniffing.
Personally dealing with parameter sniffing I prefer Traceflag 4136. ...
February 7, 2012 at 9:14 am
Actually it was the commented section in the query that says "this errors out and isn't what I was expecting"
I originally just changed the path to the file and ran...
February 7, 2012 at 9:03 am
GilaMonster (2/7/2012)
I will admit, recompile would not be my first or even second option for dealing with parameter sniffing.
Personally dealing with parameter sniffing I prefer Traceflag 4136. 🙂
February 7, 2012 at 8:53 am
Viewing 15 posts - 436 through 450 (of 1,034 total)