Viewing 15 posts - 7,291 through 7,305 (of 39,877 total)
The points system changed slightly because we have new ways to award points based on answers and marking / liking posts. I had a list, but need a final one...
January 17, 2017 at 8:28 am
Most people just seem to assume if the server is up, things are working. This usually leads to constant fixes as still broken items are fixed on the fly. One...
January 17, 2017 at 8:26 am
I would follow David Burrows advice above. Join inserted to the original table in the trigger.
January 17, 2017 at 8:15 am
Thomas, take it.
Eric, there is no original article listed. I noted that it should be similar to a TDE article, any one. How to enable and then set...
January 17, 2017 at 8:14 am
If you're updating, then why not put the UPDATE in the trigger? Something like this:
ALTER TRIGGER [dbo].[tr_datediff] ON [dbo][JOURNAL] FOR INSERT,UPDATE
AS
Update mytable
set mycol = DATEDIFF(d,start_date,end_date)[diff]
January 16, 2017 at 8:24 pm
January 16, 2017 at 7:27 pm
Are you sure this is SQL 2016 RTM media? Have you used it elsewhere to install?
I haven't tried upgrading a 2014 instance, and don't like in place upgrades....
January 16, 2017 at 4:37 pm
If you are trying to get just those rows updated or deleted, use this:
ALTER TRIGGER [dbo].[tr_datediff]...
January 16, 2017 at 1:14 pm
In playing more, I found this article: https://support.microsoft.com/en-us/kb/913422
This article notes: For security considerations, the server-scoped permissions are stripped down when you impersonate a database user...
January 16, 2017 at 11:49 am
Yep, the "self" doesn't seem to work. I created two users, one with DBOwner, one with sysadmin. Both created a proc that calls Bulk INSERT with AS SELF. Neither works....
January 16, 2017 at 11:19 am
I'd try to recreate this with a few users and separate windows. To verify the issue. It might be a problem with the security module. I'll try to test in...
January 16, 2017 at 7:31 am
January 16, 2017 at 7:25 am
January 16, 2017 at 7:24 am
Not a great game. Now I can just hope the Steelers show up and beat the Pats next weekend.
January 16, 2017 at 7:21 am
Viewing 15 posts - 7,291 through 7,305 (of 39,877 total)