|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, March 06, 2013 12:56 AM
Points: 898,
Visits: 1,045
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 6:07 AM
Points: 7,
Visits: 47
|
|
Does not run. I get messages below.
Msg 102, Level 15, State 1, Procedure udf_sqlversioninfo, Line 15 Incorrect syntax near ' '. Msg 102, Level 15, State 1, Procedure udf_sqlversioninfo, Line 17 Incorrect syntax near ' '.
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, March 06, 2013 12:56 AM
Points: 898,
Visits: 1,045
|
|
that's probably due to character settings. I suggest to copy the code into an editor and replace strange characters with a space. then it will work.
Wilfred The best things in life are the simple things
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 6:07 AM
Points: 7,
Visits: 47
|
|
| I tried that but got the same result. Thanks.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 6:07 AM
Points: 7,
Visits: 47
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Wednesday, April 17, 2013 12:10 AM
Points: 2,
Visits: 27
|
|
| open it with a different editor and youll see :)
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, March 06, 2013 12:56 AM
Points: 898,
Visits: 1,045
|
|
** UPDATE **
I added support for SQL 2000, removed the Licensetype column (according to BOL, this always returns DISABLED) and added columns for Isclustered, FulltextInstalled and HadrStatus (which is a SQL 2012 feature)
Please let me know for qny issues, comments or suggestions.
Wilfred The best things in life are the simple things
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 6:46 AM
Points: 316,
Visits: 1,184
|
|
| I copied and pasted the function from the article but it wouldn't compile. There were some CHAR(63) in there instead of CHAR(32) (spaces)
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 6:16 AM
Points: 5,
Visits: 224
|
|
| THankyou for posting - handy function and a good tecnique to group all the required info in one result
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Wednesday, March 06, 2013 12:56 AM
Points: 898,
Visits: 1,045
|
|
That's due to some charset issues when pasting the code into the editor. If you copy the code to the clipboard and paste it in an editor like NotePad++, you'll see the goofy characters. Just search/replace those. (still don't know how to prevent this issue )
Wilfred The best things in life are the simple things
|
|
|
|