Viewing 15 posts - 1,861 through 1,875 (of 3,233 total)
Well, I can't tell from your description what type of join you need so you'll have to do that part but this should get you what you want. My...
March 20, 2008 at 8:43 am
By using AND, you are telling SQL Server that you want to find all uAccountMovement rows that do not exist in either of the other 2 tables. If you...
March 19, 2008 at 8:58 am
That's a pretty open question. You've obviously posted it because you feel there is a problem. Why don't you give us a description of what you think the...
March 18, 2008 at 10:46 am
When checking for the non-existance of outer joined rows, use the IS NULL comparison instead of the <> (not equals) comparison. The example SQL_ORACLE has given is correct. ...
March 18, 2008 at 10:28 am
I'm with Gail here folks. Why not find and fix the problem instead of masking it with NOLOCKs? If you are 100% OK with dirty reads, maybe consider...
March 18, 2008 at 10:18 am
I don't think that this will cause a deadlock. The SP will already have the rows locked and the update will happen to the new data page. I...
March 17, 2008 at 3:05 pm
xp_cmdshell is disabled by default in SQL Server 2005. Have you enabled it? If not, go to the Surface Area Configuration tool>>Surface Area Configuration for Features and enable...
March 14, 2008 at 11:54 am
I would suggest running SQLDiag.exe the next time your system locks up.
March 14, 2008 at 11:30 am
Yes, having the clustered index on ColC would help. I would suggest dropping the second index on Col1 and recreating your PK as a non-clustered PK. You may...
March 14, 2008 at 11:17 am
I just wanted to thank you all for your military service.
March 14, 2008 at 9:38 am
Globally setting your isolation level to read uncommitted will prevent SELECTS from using shared locks; however, the side effect will be that you are allowing for dirty reads. I...
March 12, 2008 at 12:31 pm
Jeff, that has got to be the best interview story ever told. I almost lost control of my bodily functions trying to contain the laughter!! You're my hero....
March 11, 2008 at 3:41 pm
Not understanding cursors is a benefit to you! Matt has some great advice. Work the problem as if cursors do not exist. If you are going to...
March 10, 2008 at 3:18 pm
No problem. Looking back today, I don't know what I was thinking with the <> join?? Oh well, I'm glad you've got it working. This one was...
March 7, 2008 at 8:32 am
Viewing 15 posts - 1,861 through 1,875 (of 3,233 total)