tsql source control help please - sql

According to the following section of BOL:
How to: Use Source Control with SQL Server Management Studio
If you have a source control client installed you should be able to choose it in the plug-in selection. I have both source control clients for Visual Studio 2005 and 2008 (tfs2005) installed and there's no plug-in to choose in the list for me.

I think you need Visual Studio Team System 2008 Team Foundation Server MSSCCI Provider

Related

Cannot highlight SELECT statements in IBM DB2 SQL code in Microsoft Visual Studio

I want to know how to highlight my SQL statements with IBM DB2 connection in Microsoft Visual Studio. I have DB2 connection but all the text is in black and white and doesn't really work the same way it would in a regular SQL statement. Can anyone assist with this?
Your question needs to be improved, to specify your exact environment, your version of Visual Studio, which Db2-client package(s) and which components you installed alongside Visual Studio.
Specifically you need to ensure that the workstation running Visual Studio also has correctly installed the "IBM Database Add-Ins for Visual Studio" component.
See more about the functionality of the Db2 add-ins at this page, including a link for downloading. Your Db2 DBA , if you have one, may also be able to help locate the installable. As usual with any IBM software, only the currently available version along with any fixpacks should be deployed, and also kept up to date regularly.

SQL Server Management Studio 2008 install - no option

Ok I've searched everywhere for an answer and can't seem to find an answer.
I've installed VS 2010 and with it came SQL Server 2008 Express. I am currently trying to install SQL Server Management Studio 2008 and it won't give me the option to install.
At first, I thought it wanted me to install SP1 first.. but it says there is nothing to patch!
My SQL patch version: 10.1.2531.0
EDIT: This is the installer I'm using:
http://www.microsoft.com/en-us/download/details.aspx?id=7593
I was having the exact same problem with my installation for SQL Server 2008 R2 RTM - Management Studio Express. Go back to the "Installation Type" step (the previous one), and closely read the text under each radio button. The option under the "New installation or add shared features" reads:
Select this option if you want to install a new instance of SQL Server
or want to install shared components such as SQL Server Management Studio or Integration Services.
You have to select "New Installation", and not "Add Features", as counterintuitive as this may seem.
Back up one step and choose the "Perform a new installation" option. Brilliant, I know.
As far as I remember Management Studio is not bundled with every version of SQL Serever 2008 Express installator. Maybe you could try to install this: Microsoft® SQL Server® 2008 Management Studio Express or this Microsoft SQL Server 2008 R2 RTM - Management Studio Express depending on your version of server.
I ran into this glitch, too. The Shared Features selection list should show [✓] Management Tools - Basic. The checkbox was auto-filled.
I rebooted, then ran the installer as an administrator and it worked as expected.

I'm having problems connecting to TFS VS2010 from VS 2008

If you are not able to connect to TFS VS2010 from VS2008. This might save you some time.
Connecting from VS2008 to TFS VS2010
Step:1 Make sure that Service Pack 1 is installed with Sql Server 2008
Step:2 Make sure that Service Pack 1 is installed with VS2008
Step:3 Make sure that Team Explorer is installed in VS 2008
Step:4 Make sure that Service pack 1 is updated for Team Explorer
Step:5 After all these Service Packs are installed on your machine, follow the below path
CmdPrompt> regedit
Hkey_Current_User>Software>Microsoft>VisualStudio>9.0>TeamFoundation> Right Click Servers>New>String Value
Give the complete URL path which look like ‘http://swstfs:8080/tfs/DefaultCollection’
Step:6 Close everything and open VS2008
File>Open>TeamProject
Step: 7 Connect.
I connected to TFS, but the problem is while I am trying to open the solution through VS2008 into TFS it is showing me an error
"This project (fmPilot.SSIS.ClientIntegrations.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.
If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."
I also tried it through VS2010 but it is showing me an error
"Cannot be openned because its project type(/dtproj) is not supported bby this version of the application."
Can somebody help me on that..... I google it some says that permission might be the reason.. Please help me...
Thanks,
Karthik
Make sure that you have Business Intelligence Development Studio (BIDS) installed on your machine. Having just Visual Studio 2008 doesn't mean that you can open SSIS packages.
To verify whether you have BIDS installed:
Open Visual Studio 2008 IDE. Click Help and About Microsoft Visual Studio.
Make sure that you see SQL Server Integration Service.
Another way to verify is by trying to create a new project in VS 2008. You should see Business Intelligence Projects under Project types.
If you do not see this, then it means you don't have BIDS installed on your local machine. You can install BIDS by installing SQL Server 2008 client tools.
Following link shows how to install SQL Server 2008 client tools.
SQL Server 2008 Client Tools Installation

Integrate Visual Basic 2010 Express with Team Foundation Server?

I've used MS Visual Basic 2010 Express to build a very simple VB.Net Windows app. I need to check the code into our Team Foundation Server Source Control. Is there a TFS plug-in for VB Express? If not, do I need to check the code in manually?
You will have to do it manually as stated here .
Given my experience with TFS I would check the code in manually. Package it all up nicely and get one changeset for the lot.
TFS isn't supported in any of the express editions of Visual Studio. I'm not sure if TFS is integrated into Windows Explorer for manually updates and commits. Other with experience would need to comment.

SQL Server 2005 installs Visual Studio 2005 too?

I just installed SQL Server 2005 and it installed Visual Studio 2005 too. What's the point of this? Is there an option in the SQL Server installation that can prevent this. If I uninstall Visual Studio now will it mess anything up? What if I now install Visual Studio 2008 too?
The visual studio that you get is a shell called Business Intelligence Development studio and it allows you to create Analysis Services, Integration Services, and Reporting Services projects. Also it allows you to deploy those projects to your SQL Server. If you already have Visual Studio installed, it will add those project types to it.
With the Development Studio you can add .Net projects such as C# or VB to your Analysis Services or Reporting Services projects to create custom components for them. There are additional benefits, but you should just do a search for Business Intelligence Development Studio to see what else can be done.
EDIT:
I just noticed that you were asking about what happens if you uninstall Visual Studio 2008. There should be a listing under your installed Programs called Visual Studio Shell or something of that nature, which is the Business Intelligence Development Studio and is independent of the main Visual Studio 2008 install. Both of them will allow you to create the Ms SQl Projects that I listed above. When you uninstall Visual Studio 2008 it won't uninstall this application and vice verse. If you do accidentally delete it, you can always install it again using your MS SQL CDs. There are instructions on the web to do so.
The version of Visual Studio that gets installed is necessary for doing the work you need to do in SQL Server. The old tools are going away, and this is part of the new.
Personally, I miss the Enterprise manager and SQL Query Analyzer from the SQL Server 2000 days, but they aren't likely to come back.
Edit - added
OK. The above was a bit flippant for an answer.
But to answer your comment, Management Studio IS Visual Studio, configured and modified to work with SQL Server.