Convert existing database to Database project - database

I have a MS-SQL database on a server and have decided to play around with source control for the database. I want to create a database project and include that project within my solution. Is there any way to "import" an existing database into a database project in Visual Studio 2008?
I have run a few searches but I haven't really found anything of substance yet. Any ideas will be welcome!
Thanks

Yes. If you have Visual Studio 2008 Team System, then the Database Edition GDR release 2 add-on is the way to go.
You can download from here: Microsoft® Visual Studio Team System 2008 Database Edition GDR R2
You can find a list of features here.
Also, Introducing New Features In The VSTS Database Edition GDR
Update: In response to poster's comment about not having the Team System version, you can still use the original Database Project that comes with Visual Studio, but it is not as fully featured as the new GDR R2 version.

Related

SSDT vs SSDT-BI

What are the differences between SSDT and SSDT- Business Intelligence?
I've installed SQL Server 2017 and then proceeded to download Business Intelligence Development Studio but found out that it was replaced by SSDT/SSDT-BI (don't know the difference if there's any).
Do I need just SSDT or SSDT-BI? I can only find SSDT-BI for Visual Studio 2012 and 2013, not for VS 2017 while SSDT for VS 2017 is available.
Will this create any problems since I'm working with SQL Server 2017?
I'm a complete beginner at all this and this is only for a uni project. Please keep answers as simple as possible. Thank you very much.
There is only SSDT nowadays, which includes support for SQL Server Database, SSRS, SSRS, and SSIS projects. The download links are here. The current SSDT version (15.5.2 as of this writing) allows you to target SQL Azure Database, SQL Server 2017, as well as older versions so you don't need multiple versions of SSDT installed.
SSDT will install a minimal Visual Studio shell if VS is not already installed. If you already have VS installed, those project types will be added to the existing installation.
EDIT:
With Visual Studio 2019, SSDT for SQL Server database projects remains intregrated into the VS 2019 installer. Select the Data Storage and processing workload during install and choose SQL Server Data Tools. However, SAS, SSIS, and SSRS SSDT projects are now moved to separate Visual Studio extensions. These extensions can be manged post install from within Visual Studio under Extensions-->Manage Exentsions.
Yeah, this got a lot of people confused. According to this link (VS2012 & VS2013 timeframe):
SSDT is for building databases ONLY i.e. only base functionality.
SSDT-BI is for building SSIS/SSAS/SSRS solutions
But then it looks like from VS2015 onward they merged the two together into just SSDT, so after VS2013 there is no separate SSDT-BI install. I think.

SSDT download guidance

I have SQL Server Management Studio. I've imported an excel file and learned how to write queries on the database. I'm interested in a report templates. I read about SSDT and assume that would be useful to me. When I click on File > New > Project, my options don't include the "Business Intelligence" menu items (i.e. Reporting Services).
The Microsoft page: https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt
Where I downloaded SSDT, specifically refers to "Visual Studio." Is that different than Microsoft SQL Server Management Studio? Will SSDT work with SS Management Studio, or do I need to downoad "Visual Studio" as well, or are they one in the same... a bit confused. Thanks for any guidance on this.
Cheers.
Visual Studio and SQL Server Management Studio (SSMS) are not the same thing. SQL Server Data Tools (SSDT) only works within Visual Studio, and has nothing to do with SSMS. If you want to use what SSDT offers, you will need a compatible version of Visual Studio to do so.
Updated per request:
SSMS is used to do development around the SQL Server stack, where VS is an all around development tool that you can use to build applications in many programming languages.
Is used to be that SSDT was called Business Intelligence Development Studio (BIDS), and was more of a stand-alone thing; it was really off to the side of the SQL Server stack that business intelligence pros needed to get their work done. Now, with SSDT, MS has made is fit a little more with VS project templates, although you still have to download it separately.
You need SSDT to develop SSRS reports, SSAS cubes and SSIS packages, and it includes tools to help you deploy those things to the appropriate location when you are done with development.
Hope this helps you out!
Actually SSDT will include a scaled back version of Visual Studio that will allow you to create Integration Services packages, including an IDE to create and edit Script Components.
Read about it here: https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt#installing-ssdt-without-visual-studio-pre-installed

Can we create a project for oracle database deployment similar to visual studio SSDT project

I need a way to deploy the oracle database in a single click, something similar to SSDT projects.
Red Gate (where I work) has a set of deployment tools for Oracle, including version control, but they are not tightly integrated in Visual Studio. They were designed to be standalone as unlike for SQL Server, there are a handful of different IDEs in the Oracle scene, including Toad, SQL Developer and PL/SQL Developer.
The predecessor of SSDT had Oracle support via a Quest Extension, but this was discontinued with the release of SSDT.

RedGate SQL tools v Microsoft Visual Studio Team System Database Edition (Data Dude)

I've been looking at RedGate's SQL tools and Microsofts Visual Studio Team System Database Edition (formerly Data Dude) for use within a testing and continuous integration environment.
What we need to be able to do is have:
Schema and Data under source control
Automated continuous integration using TeamCity (command line)
Push changes (and data) to
environments (staging, production,
test) but not from Visual Studio
What solution would best fit our needs and what are peoples opinions, views and experiences of both products. Which did/would you choose and why? Are there any alternatives that I have missed?
Have a look at this SO question Source Control tools for Visual Studio 2010 and SQL Server 2008 scripts and database updates?

Where is SSIS in Visual Studio 2010?

Where do I find the SSIS tools in Visual Studio 2010 Ultimate? I'm at a new job so new computer / new setup / new everything. I can't find them anywhere! Is there a specific edition of SQL Server that includes these tools?
The DB is SQL Server 2005, SSMS is 2008, VS is 2010.
It is not yet available in Visual Studio 2010.
"First of all, thank you to those customers who have offered feedback
regarding how your work and productivity are impacted by Integration
Services (SSIS) not yet being available in Visual Studio 2010. As
developers ourselves, we certainly understand the frustration you have
reported in having two Visual Studio instances installed and
maintained on your development machines. While this side-by-side
configuration works, it is certainly a less ideal solution to
operating SSIS from within VS 2010. Unfortunately, the staggered ship
cycles of the two products (VS and SSIS) and some convoluted
dependencies did not allow us to reunite the development environments
of both tools until the next version of SQL Server.
Meanwhile, please be assured that SSIS projects continue to be
supported by Visual Studio both now and into the foreseeable future.
Until the next version of SQL Server, we will be happy to discuss with
any Visual Studio 2010 customer ways in which they can optimize the
interoperability of VS and SSIS. We apologize for any inconvenience
and are committed to improving your user experience both now and in
the future."
Source

Resources