Solved

SQL Server Samples and Sample Databases

Posted on 2013-06-12
2
332 Views
Last Modified: 2013-06-13
Hello,
At this location; http://msdn.microsoft.com/en-us/library/ms161556(v=sql.105).aspx;
Considerations for Installing SQL Server Samples and Sample Databases

I find this;
Updating the Location for the .NET Framework CLR Samples
--------------------------------------------------------------------------------
Before you compile Microsoft .NET Framework common language runtime (CLR) samples for SQL Server, verify that the path of the version of the .NET Framework compiler is the first Framework directory in the PATH environment variable. The location of the compiler that is shipped with this release of SQL Server is C:\<Windows root directory>\Microsoft.NET\Framework\v2.0.x. Drive C is the installation drive, <Windows root directory> is either Windows or WINNT, and x is five digits.

Question:  In my "system environment variable path" I do not see the path specified.  My questions are these; I have a "framework" and a framework64"  I believe that using framework64 is correct because that is my OS, and that is the SQL Management Studio that I installed.

While the instructions above state the path as being \v2.0.x, I have several versions.  Which path should I use?  I could set it to v2.0.x, but is this the best of my selections;
Framework 64
0
Comment
Question by:chima
2 Comments
 
LVL 35

Accepted Solution

by:
David Todd earned 500 total points
ID: 39242830
Hi,

The path is usually easily fixed. So I'd go ahead with the samples and go back to the path if you need to use the CLR.

SQL will use a specific version of .net, so you will need to use that version of the framework - the instructions you mentioned said v2.0.xxxxx, so use that if needed.

Other versions of SQL may use a more recent version. (You didn't say and the page didn't either - which version of SQL are you looking at samples for?)

HTH
  David
0
 

Author Closing Comment

by:chima
ID: 39246101
thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question