Viewing 15 posts - 2,746 through 2,760 (of 7,187 total)
Greg
Good, comprehensive article - thanks. Just one thing I thought I ought to pick up on:
When a session creates temporary table that contains a named constraint inside a transaction,...
March 18, 2016 at 4:07 am
The error message tells you where to look - it's in the sp_rename stored procedure. My guess is that "OBJECT" needs to go in (single) quotes.
John
March 18, 2016 at 3:12 am
So you want to match every job with every status? Just use a CROSS JOIN.
John
March 17, 2016 at 8:16 am
Adam
You don't say exactly what you're struggling with. I haven't read through those links that you posted, but what I'd do is have two separate packages. The first...
March 16, 2016 at 10:27 am
No, that doesn't do the same thing, and it's not recommended[/url], either.
John
Edit - ignore me. I was talking about something different. I wasn't aware of this option for...
March 16, 2016 at 9:22 am
March 16, 2016 at 8:40 am
You can do that with dynamic SQL, or you can insert the values individually into a temp table or table variable and join to that.
John
March 16, 2016 at 8:12 am
GilaMonster (3/16/2016)
SteveD SQL (3/16/2016)
March 16, 2016 at 4:47 am
Yes, if you must do it in the data layer instead of the presentation layer, an inline table valued function would perform better. Better still, why not create a...
March 16, 2016 at 3:51 am
SELECT name FROM sys.servers WHERE server_id = 0
SELECT SERVERPROPERTY('ServerName')
John
March 14, 2016 at 10:56 am
What data type is the ScheduledDateTime column in your database?
John
March 14, 2016 at 7:51 am
smitty-1088185 (3/7/2016)
SELECT
spid
,sp.STATUS
...
March 11, 2016 at 2:27 am
Interesting. I had assumed that NULL is always listed first in an ORDER BY. Indeed it is, if you order ascending. But if you add DESC to...
March 11, 2016 at 2:09 am
franky.Piferoen (3/10/2016)
I forgot in the previous reply to mention the error from the errorlog
Login failed for user 'SomeUser'. Reason: Could not find a login matching the name provided
Thx for the...
March 11, 2016 at 1:40 am
Viewing 15 posts - 2,746 through 2,760 (of 7,187 total)