Viewing 15 posts - 48,751 through 48,765 (of 49,563 total)
Actually, that nolock syntax does work.
Here's an odd idea, may help, may not. After the truncate, update the statistics of the table you've truncated. Truncate does not affect the rowmodcnt,...
April 2, 2007 at 4:55 am
Run a DBCC CheckDB on that database ASAP. It sounds like you may have some form of corruption in the db.
How long have you been getting that error? Got a...
April 2, 2007 at 4:07 am
It depends on the size of the table, the number of rows been updated, the indexes on the table, the amount of locks already held, and probably several other factors...
April 2, 2007 at 4:01 am
As mentioned, check AWE/PAE to ensure SQL can use over 2GB memory.
With 4GB memory, set the max server memory to aroung 3GB. Limiting the OS's memory to under 1...
April 2, 2007 at 2:21 am
#6DF65D3E is the type of object name given to a table variable. The most likely origin of that is the function dbo.splittext, which looks like a table-valued function.
It could...
April 2, 2007 at 1:58 am
If you're likely to get widely varying parameters, try marking the proc WITH RECOMPILE.
Alternativly, if some params are more common than others, you can try the OPTION (OPTIMISE FOR... hint...
March 29, 2007 at 6:18 am
Random thought - is you server 64 bit or 32? How much memory?
March 29, 2007 at 5:07 am
Then it's definatly a parameter sniffing issue. Can you try another .net experiment please?
First revert back to the old stored proc, without the variables.
This time, instead of passing the...
March 29, 2007 at 5:04 am
Can't see the images, because they're on your machine. Could you paste the differeing lines of the exec plan, as well as the query that you called the .net with?
Thanks
March 29, 2007 at 4:24 am
It could be parameter sniffing. I wouldn't think so if you used the proc in SSMS, but is a possibility.
Can you post the proc, the code you used to call...
March 29, 2007 at 3:14 am
Have a look at the exec plan for both, see what the differences are.
In management studio, just run with the execution plan option on. for the application run one, you...
March 29, 2007 at 12:08 am
Is there enough space on the drive?
Is the drive (or folder) read only or encrypted?
March 27, 2007 at 3:07 am
Are the statistics up to date on both databases? Are the indexes on one more fragmented than on he other?
March 27, 2007 at 1:45 am
I saw your example. Why 3,1,2. why not 2,1,3?
As I said, if you want to have data in a specific order (whatever it may be) you have to specify an...
March 26, 2007 at 4:48 am
Viewing 15 posts - 48,751 through 48,765 (of 49,563 total)