Viewing 15 posts - 3,676 through 3,690 (of 7,636 total)
I'm glad you bumbed this Jeff, because I had meant to get back to the OP with a better function to calculate, then forgot :(, ...
Stephen:
Here is a Much better...
January 31, 2009 at 6:01 pm
Heh. You know Jeff, I think that this might change that article that you're writing, just a little bit. I bet you don't mind too much though. ...
January 31, 2009 at 5:33 pm
RBarryYoung (1/31/2009)
...I am still trying to figure out in my head exactly why it never repeats a group number within the larger partitions...
Oh, I see. It does repeat with...
January 31, 2009 at 5:25 pm
Jeff Moden (1/31/2009)
January 31, 2009 at 5:14 pm
VEB (1/31/2009)
You guys are talking about convinience, whereas I'm asking about security. 🙂As it well known, these two are mutually exclusive. 🙂
Oh. Well if that is true then clearly...
January 31, 2009 at 4:01 pm
Well, you cannot fix it without testing, and we cannot help you any further without the information that we requested.
Please feel welcome to get back to us when...
January 31, 2009 at 3:28 pm
Thanks for the response Joe. However, I need you to answer the questions that I asked earlier:
RBarryYoung (1/31/2009)
Which derived table is the one...
January 31, 2009 at 3:11 pm
Glad I could help.
January 31, 2009 at 3:00 pm
The only way close to 90% is to parse the SQL of the procedure and see if that are any "data retrieval" SELECT statements (not sub-queries). Thats no easy...
January 31, 2009 at 10:13 am
Here is a non-cursor version of your sript:
Declare @Prefix varchar(255)
Declare @tmpstr varchar(MAX)
Set @Prefix = '
exec master.dbo.sp_addsrvrolemember @loginame='''
Set @tmpstr=''
Select @tmpstr = @tmpstr
+ Case When sysadmin = 1...
January 31, 2009 at 9:59 am
Well, two things that I noticed: 1) unnecessary use of a Cursor, and 2) "From syslogins" is invalid in 2005, should be "From sys.syslogins".
January 31, 2009 at 9:32 am
Hmm, well one thing that I noticed is your use of "COALESCE(COUNT(* ),0)". I think that I understand what you are trying to do with this, but I cannot...
January 31, 2009 at 9:22 am
What is the error that you get?
Which derived table is the one that is returning no rows?
And what would you like it to do in those cases?
January 31, 2009 at 9:11 am
Viewing 15 posts - 3,676 through 3,690 (of 7,636 total)