Viewing 15 posts - 8,671 through 8,685 (of 22,214 total)
You have to build the string. Just referencing the parameters won't work.
March 13, 2014 at 11:15 am
I'd suggest trying some indexes on the table and using a JOIN to do the UPDATE.
March 13, 2014 at 10:52 am
You have parameters that you're passing values to and then those parameters are used in your SELECT statement to return the values passed. That's how parameters work. What you're...
March 13, 2014 at 10:50 am
It's a security error that's basically preventing you from making a series of calls to the OS. To run it, you have to do what it's asking for.
March 13, 2014 at 10:44 am
Perry Whittle (3/13/2014)
is this a virtual machine, which hypervisor platform are using?
This is a VM running on Azure, which means, technically, the HyperV hypervisor although things are a little different...
March 13, 2014 at 10:41 am
yuvipoy (3/13/2014)
Yes Col4 is having condition as (Col4>0 OR COL4 =200000000)
Fine, but where is it coming from? It's not a part of the query as outlined, so is that thing...
March 13, 2014 at 8:30 am
Text plans... blech!
Anyway, like I said, you're getting a scan because of the function:
[SCM].[MEAS_VALUE]<>-1 AND [SCM].[COL3]&239=0
The other two scans are not as obvious. For example, this one:
[M].[COL4]>=0 OR [M].[COL4]=-2.01019e+009
It's...
March 13, 2014 at 7:52 am
I'd love to see the execution plans, but this little critter is going to prevent index use:
and ((c.col6 & 0XOEF) =0)
That's going to lead to scans, all the time every...
March 13, 2014 at 7:17 am
If you have an account that has access to all the file shares that your backups are going to, you could use that account to run a powershell or batch...
March 13, 2014 at 7:12 am
Never heard of it. But my response to one these is always the same, "Cool. Awesome. Can you show me a recovery to a point in time?"
If they can do...
March 13, 2014 at 7:03 am
The basic costs break down on the parsing of the query and/or getting the object id of the procedure and then retrieving those from cache by a search on the...
March 13, 2014 at 6:58 am
You said variables several times. Be sure to differentiate between variables and parameters. A parameter, defined with the stored procedure or in a parameterized query, can be sampled, or sniffed,...
March 13, 2014 at 6:41 am
You can gather information on deadlocks on SQL Server 2008 and better without ever setting a trace flag. Just use the system_health extended event session that is running automatically on...
March 13, 2014 at 6:37 am
I'd suggest breaking up your index rebuilds, only do a few at a time in small chunks. And don't swap the recovery model to bulk-logged. If you need to restore...
March 13, 2014 at 6:35 am
It all has to do with permissions. I suspect your SQL Server instances are running under local accounts instead of under networked accounts. You'll have issues trying to communicate across...
March 13, 2014 at 6:12 am
Viewing 15 posts - 8,671 through 8,685 (of 22,214 total)