Viewing 15 posts - 841 through 855 (of 49,571 total)
SELECTs alone can't deadlock.
The statements you see in the deadlock graph are the ones that completed the deadlock, not all of the statements involved. From a look at...
August 25, 2017 at 6:21 am
August 25, 2017 at 6:11 am
I find myself wondering if he's...
August 25, 2017 at 5:55 am
Yes, make the column NOT NULL, then any attempt to insert/update to NULL will throw an error.
August 25, 2017 at 4:36 am
The only place where implicit conversions can cause scans is when they happen in the JOIN or WHERE clause of a statement (any statement)
August 25, 2017 at 4:33 am
August 24, 2017 at 1:08 pm
@Lynn
This is how he's handling transactions: https://www.sqlservercentral.com/Forums/1893210/Are-These-Two-Code-Fragments-Equal
August 24, 2017 at 11:45 am
Anyone want to help here?
https://www.sqlservercentral.com/Forums/1893562/Using-Try-Catch-With-Stored-Procedures
I'll pass, he's taken none of the advice from the last two threads that I participated in about why the design...
August 24, 2017 at 7:52 am
Grant Fritchey - Thursday, August 24, 2017 5:52 AMShe just likes Star Wars (although I don't hold that against her).
😛
August 24, 2017 at 6:20 am
Put cursor next to the * in the SELECT. Press TAB. Remove columns you don't want.
August 24, 2017 at 6:16 am
Looks more like you want a subquery, not a temp table.
Something like:
SELECT U.actionID,
M.CardNum,
M.serieID,
...
FROM Upgrades U
August 24, 2017 at 5:00 am
August 24, 2017 at 4:42 am
Your code runs fine.
What version of SQL are you running?
Edit: I see what you're doing.
Table variables are batch-scoped, like normal variables. You can't create it...
August 24, 2017 at 3:37 am
Data Source=.\SQLEXPRESS;AttachDbFilename=E:\Yu-Gi-Oh\db\Yu-Gi-OhCardsDBSQL.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
August 23, 2017 at 7:39 am
Viewing 15 posts - 841 through 855 (of 49,571 total)