Getting SQL Server registry settings via SQLCLR table-valued user-defined function...

Posted by: SQL Server Engine Tips, on 19 Aug 2005 | View original | Bookmarked: 0 time(s)

SQL Server stores several configuration values like data path root, program directory, default domain etc in the registry. These values can be obtained by using the SMO Settings object but you can use it only from the client side. SMO is alo not supported in SQLCLR so it is not possible to leverage the functionality on server-side directly. So if you want to obtain the settings from TSQL then it is difficult to do. This problem comes up quite often in the newsgroups and the solutions using undocumented...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: SQL | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1876 | Hits: 101

Similar Posts

  • Don't be afraid of complex constraints more
  • Handling "GO" Separators in SQL Scripts - the easy way more
  • Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 7 more
  • Examining ASP.NET 2.0's Membership, Roles, and Profile - Part 6 more
  • CS Dev Guide: User manipulation more
  • SQL/e - Microsoft to release an Embedded Database version of SQL Server more
  • SQL Server FAQ : How to join tables from different servers more
  • Using TableAdapters and Transactions more
  • Use of INFORMATION_SCHEMA views to access temp tables. more
  • How to extend TableAdapter methods more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD