Viewing 15 posts - 1,561 through 1,575 (of 49,571 total)
This site's for Microsoft SQL Server, and as such you'll probably find better help with this at a dedicated MySQL site.
April 18, 2017 at 2:01 am
I have an entire procedure wrapped in an try/catch statement. commit tran is placed at...
April 17, 2017 at 4:32 pm
First time I've ever seen a single-resource deadlock. Interesting.
This can be fixed if you can change the code for the UPDATE statement. Can you?
April 17, 2017 at 10:08 am
In your update trigger you can use IF UPDATED(ColumnName) to check whether something other than the created and updated dates were updated, and only proceed with the trigger if other...
April 16, 2017 at 4:02 pm
April 15, 2017 at 6:55 am
Can you please post the CREATE TABLE for SalBranch, and the CREATE INDEX statement for each index on it.
April 14, 2017 at 1:45 pm
April 14, 2017 at 1:37 pm
My answer was a bit flippant, but the point is there's no minimum row count to have before creating an index. What the index is created on (and, even if...
April 14, 2017 at 3:43 am
GO is not a T-SQL command. It's a Management Studio batch terminator. When SSMS (and several other clients) encounters a GO, it sends the text up to that point to...
April 14, 2017 at 3:41 am
Not a picture of the deadlock graph. The graph itself, either saved as a file (.xdl) or paste the text of it.
April 14, 2017 at 3:39 am
Can you post the deadlock graph?
A deadlock has to be two sessions (or more) and two resources (or more), so there's something else involved.
April 13, 2017 at 11:04 am
April 13, 2017 at 1:33 am
And an old blog post discussing the subject (also read the posts that it links to): http://sqlinthewild.co.za/index.php/2011/03/08/full-backups-the-log-chain-and-the-copy_only-option/
April 12, 2017 at 2:29 pm
Hit google and look for 'dynamic pivot', that should be enough to get you started.
April 12, 2017 at 2:24 pm
April 12, 2017 at 2:22 pm
Viewing 15 posts - 1,561 through 1,575 (of 49,571 total)