|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Monday, June 10, 2013 7:21 AM
Points: 898,
Visits: 1,049
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 3:15 PM
Points: 7,
Visits: 48
|
|
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: Monday, June 10, 2013 7:21 AM
Points: 898,
Visits: 1,049
|
|
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: Tuesday, June 11, 2013 3:15 PM
Points: 7,
Visits: 48
|
|
| I tried that but got the same result. Thanks.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, June 11, 2013 3:15 PM
Points: 7,
Visits: 48
|
|
|
|
|
|
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: Monday, June 10, 2013 7:21 AM
Points: 898,
Visits: 1,049
|
|
** 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: Today @ 6:48 PM
Points: 321,
Visits: 1,218
|
|
| 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: Today @ 3:50 AM
Points: 5,
Visits: 231
|
|
| 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: Monday, June 10, 2013 7:21 AM
Points: 898,
Visits: 1,049
|
|
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
|
|
|
|