Viewing 15 posts - 46 through 60 (of 85 total)
Found a solution for what I'm looking for:
declare @DBRoleName varchar(40) = '[dbrolename]'
SELECT 'GRANT ' + dbprm.permission_name + ' ON ' + OBJECT_SCHEMA_NAME(major_id) + '.' + OBJECT_NAME(major_id) + ' TO '...
July 29, 2016 at 3:02 pm
Don,
I think future maintainability is the main concern. We have several Crystal reports driving off of the same stored procedure and all of them require the same padded string....
May 9, 2016 at 8:38 am
Thank you for the responses! I'll give this a try. Looks like the solution might have been simpler than I had expected.
I've updated my original post to fix...
May 6, 2016 at 2:37 pm
Thanks Aaron, I'll have to give that a try.
Incidentally, it appears our users who made this request have changed the requirement so that I will not need to group by...
April 6, 2016 at 11:04 am
Thanks for the responses!
Jacob, you're right, I missed something when pasting my sample data. I've corrected it in the original post.
Lynn, I may end up doing exactly that. ...
April 6, 2016 at 7:13 am
Here's the link: http://www.microsoft.com/en-us/download/details.aspx?id=15011
March 21, 2016 at 10:16 am
Thank you for the responses! I'll give these a try.
March 21, 2016 at 10:13 am
Hugo,
Thanks for the response! I marked it as the correct solution because I know I've seen SSIS used for this purpose, but I actually ended up dumping the data...
March 18, 2016 at 3:04 pm
Thank you for the responses. I will give these a try!
February 2, 2016 at 7:14 am
Hi Sean. Thanks for responding.
After some more digging, I realize I no longer have a need for question #1. I've updated the initial post to reflect this.
I...
December 7, 2015 at 8:24 am
Lynn,
Thank you, this finally made sense to me. I keep forgetting that you used "not like" in the logic.
I appreciate your help!
May 14, 2015 at 12:32 pm
But shouldn't the "%" characters on the outside of the "[^0-9]" mean that the first character of the last one before the hyphen could be anything?
May 14, 2015 at 7:29 am
Viewing 15 posts - 46 through 60 (of 85 total)