Viewing 15 posts - 3,706 through 3,720 (of 49,571 total)
Orlando Colamatteo (1/30/2016)
TheSQLGuru (1/30/2016)
Such a shame too. But it wasn't fully baked when it was released and it has never gotten the attention it needed/deserved from the product team.
I could...
January 30, 2016 at 2:10 pm
The return value of a function is the literally just value that it returns when run.
SELECT ISNULL(1, 2) -- returns 1, because the first parameter is not null
SELECT ISNULL(NULL,5) --...
January 30, 2016 at 2:08 pm
Kinda makes sense. You may gather that I barely use MERGE. I think the last time I wrote one was when I was teaching a class on T-SQL commands.
January 30, 2016 at 9:55 am
Hugo Kornelis (1/30/2016)
GilaMonster (1/30/2016)
You don't need both of these, they're checking for the same thing.
IF @@ROWCOUNT = 0RETURN;
IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;
True on SQL...
January 30, 2016 at 9:39 am
You don't need both of these, they're checking for the same thing.
IF @@ROWCOUNT = 0
RETURN;
IF NOT EXISTS (SELECT * FROM INSERTED) RETURN;
January 30, 2016 at 9:00 am
The login that the access app is using can no longer connect to the DB db2. Either:
- The DB is no longer there
- The DB cannot be opened
- The login...
January 30, 2016 at 8:59 am
You don't need to rebuild the indexes, doing so is a massive waste of time. Fragmentation's not the problem. The stats are out of date, that's the problem.
January 30, 2016 at 8:15 am
You didn't even try to run that...
Msg 156, Level 15, State 1, Procedure TR_Aud_Update_Datetime_Update_User, Line 15
Incorrect syntax near the keyword 'EXISTS'.
Go back and look at Hugo's example of an...
January 30, 2016 at 8:15 am
I think you get exactly what you asked for with that. The test of the most recent batch run on that session, as per c.most_recent_sql_handle. No, it's not random, or...
January 30, 2016 at 7:24 am
SQL!$@w$0ME (1/30/2016)
Sorry, I'm not good with scripting!
Why don't you take this as an opportunity to get better? Hugo explained what's needed, and I'm sure he'll fix errors if you try...
January 30, 2016 at 7:15 am
The cause of the problem is that the database named "db2" is either no longer on that instance, or can't be opened or the login no longer has permission to...
January 30, 2016 at 7:09 am
If SQL said that procedure was the cause of the blocking, then it was the cause of the blocking.
150 commands and 3 minutes is insane for a transaction. Does...
January 30, 2016 at 6:56 am
ReadUncommitted doesn't mean no locks. It means that selects don't take shared locks (and that your results can be quite inaccurate due to rows read twice or not read at...
January 30, 2016 at 6:14 am
Is it me, or are there weird threads again today. "I want the challenge of trying to fix it without using the easy way" says one, and a second berated...
January 30, 2016 at 2:10 am
Ed Wagner (1/29/2016)
Is it really that much better than SSMS intellsense? I'm asking because I don't know; not trying to start a riot.
Oh, hell, yes. SSMS intellisense...
January 30, 2016 at 1:54 am
Viewing 15 posts - 3,706 through 3,720 (of 49,571 total)