Viewing 15 posts - 421 through 435 (of 5,393 total)
matthew.green 36969 (6/12/2015)
using the app lock sp - basically queues up the calls to proc so only 1 user...
-- Gianluca Sartori
June 12, 2015 at 2:33 am
You have concurrency issues because your code reads the recordid before writing to the table and locking it, so multiple connections could read the same recordid under the default transaction...
-- Gianluca Sartori
June 12, 2015 at 2:00 am
Grant Fritchey (6/11/2015)
Real life badass, Dracula, Saruman, Christopher Lee is no more
Sad news. Great actor.
-- Gianluca Sartori
June 11, 2015 at 6:44 am
Wild guess is that the index was not covering and you got the classic lookup deadlock SQL Server is (in)famous for.
SNAPSHOT isolation is usually the cure for this desease.
-- Gianluca Sartori
June 11, 2015 at 3:57 am
I agree that ARITHABORT is a false fix, but hardcoding a hint is the last resort in my opinion.
I would rather focus on understanding which cardinality estimation goes wrong when...
-- Gianluca Sartori
June 11, 2015 at 2:56 am
I had to replace my windshield twice last year. Twice in two months to be precise. Not funny.
A small rock in the motorway is enough to break it and even...
-- Gianluca Sartori
June 10, 2015 at 10:01 am
Ed Wagner (6/10/2015)
Do you see the difference in what Gail did?
I do: she fixed my mistake 🙂
-- Gianluca Sartori
June 10, 2015 at 9:52 am
Good luck!
-- Gianluca Sartori
June 10, 2015 at 9:50 am
Try this:
EXEC adasdb.master.sys.sp_executesql 'RESTORE DATABASE ETLNewTest FROM DISK = ''g:\MSSQL11.MSSQLSERVER\MSSQL\ETL_663.bak''';
Any difference?
-- Gianluca Sartori
June 10, 2015 at 9:14 am
Those stats are created automatically by SQL Server. If you want to replace them with custom statistics, you can do it.
-- Gianluca Sartori
June 9, 2015 at 10:47 am
Glad you sorted it out
-- Gianluca Sartori
June 9, 2015 at 10:00 am
ARITHABORT is a client setting that can be changed at any moment.
If you change your SSMS connection setting and clear the cache for that plan ( DBCC FREEPROCCACHE(plan_handle) ) does...
-- Gianluca Sartori
June 9, 2015 at 9:12 am
g.britton (6/9/2015)
Now, I have to figure out why the first, good plan was not resused and a second, bad plan was compiled instead.
If you correlate the plan from...
-- Gianluca Sartori
June 9, 2015 at 8:50 am
At a glance, looks like the previous installation of service pack 3 failed to update the binaries, which is quite weird.
Adding more nodes to a SQL 2005 cluster has always...
-- Gianluca Sartori
June 9, 2015 at 7:47 am
The SQL Agent job is probably running a different execution plan compared to the one you get when you run the query in SSMS.
The reason might be one among:
* stale...
-- Gianluca Sartori
June 9, 2015 at 7:28 am
Viewing 15 posts - 421 through 435 (of 5,393 total)