Can't find database engine in ssms 2014 - ssms

I have been stuck on this for hours so any suggestions will be greatly appreciated. I am also new to back end development.
I reformatted my computer yesterday, so that I can install ssms 2014 and visual studios 2012 on a fresh computer. However when I open ssms 2014, I cant find a database engine. I remember before I reformatted my computer, I connected to something similar to 'SQLEXPRESS' (dont rmb the exact name). How can I create a new local database engine ????
thanks,
Ryan Wong

Related

SSIS problems with MySQL Connector/ODBC 5.3.8

I am having a problem with a SSIS project that downloads data from a MySQL database and insert it in a SQL Server 2014 Database.
So I have two versions of the same project, one for SQL Server 2016 and another one for SQL Server 2014. They have the same scripts and data flows, but for some reason, only the one made for SQL Server 2016 works. The issues resides in the ODBC Driver connector. I can preview data in both project, but for the SQL Server 2014 version, it simply won't load it. So I get 0 rows every time I run it. Sadly, I need the 2014 version for our SQL Server, since when I deploy the project with 2016 as target version, it fails.
This pretty much sum up the whole problem and I have try quite a few things. Including, changing the ODBC connector's version. It all seems it has something to do with Visual Studio, when the target version is change from 2016 to 2014. Still, I can't find a solution to this issue.
I am using a query to source data, but I also tried with the table name, but still didn't work. I am not using any function. I am running directly from Visual Studio in debug mode.
Has anyone gone through the same error? I can't find anything related.
Please, let me know if you need anything else to understand the issue.
Ok I had similar issue but it was in Source query where one of function was not behaving same between 2016 and 2014 version.
When you say 0 rows, does package failed or successful ?
Are you using a query to source data ? If yes, does it have any functions used ?
Are you running from BIDS or SQL Agent ? If Sql Agent, Check if agent job configured to run in same 32bit or 63 bit version ?

Using / Saving / Exporting SQL Server 2014 database to be used with VS 2013

I have created a database in SQL Server 2014 but I don't see it in Visual Studio 2013. I've been trying to figure this out for days to no avail. How can I use the database I created in SSMS in VS 2013? or how can I export it to be used in VS 13?
If I try to open the database from SSMS data folder I get an error. "you don't have permission ..."
But if I copy the .mdf file somewhere else and try to open it I get this error:
db cannot be opened because it is version 782. This server supports version 706 and earlier. a downgrade path is not supported
Any help would really be very much appreciated.
Thanks
Do you have the most recent version of SQL Server Data Tools (https://msdn.microsoft.com/en-us/data/tools.aspx)? I believe it's been updated since initial release to support SQL 2014.
Thank you all. I will leave the db alone where it is. I have SSMS 2014 and vs 2013. I thankfully did the following
" Try changing Tools>Options>Data Connections>Database Tools>Data Connections>SQL Server Instance Name. The default for VS2013 is "(LocalDB)\v11.0". Changing to "(LocalDB)\MSSQLLocalDB", for example, seems to work - no more version 782 error."
As from the above link(answer) posted by user1723033 and VikciaR and all is working for now.
Thanks again for your help.

How can I make a SQL database, and use it in VB2010 (having more than 1 computer accessing the database)

The background to my problem is based on distributed computing. I want to have a database with some numbers in them and then a number of computers go through each row calculating another number (a little bit of an over simplification).
The problems I'm having are routed in my poor understanding of SQL servers (I think). I've got Microsoft SQL server 2012 (and 2008) installed on this machine and I've somehow managed to make a server for this task but then the problems arise.
I can't add a table to the server (I'm trying to do this in VS2010). When I expand the server and right click on tables and select add new table i get the following error:
"The server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported."
That stops me making a table and from there I can't move on. I've downloaded and installed the VS2010 SP1 (and re-installed it again when it didn't fix the problem) as I found this suggested for similar issues.
Any help on this would be greatly appreciated. I've read around but nothing seems to work, people suggest using "SQL Management Studio" but I don't seem to have this installed!
Also, I haven't gotten to this step yet, but if this gets fixed any advice/links on how to access the database from a different machine (over the same local network) would be greatly appreciated!
Many thanks,
Fraser
R Harvey gave you the pointer to SSMS - that's the ideal tool to use.
As for other computers accessing your local database - the name of your computer (where MSSQL is installed) is the name of the server in your connection string.

SQL Managment Studio 2008 R2 dual monitor support?

I have a question. If it is possible to achieve I may just jump with joy.
As many of you undoubtedly already know, Visual Studio 2010 has support that allows you to drag and position your open files within a project. For example you have Page.aspx and Page.aspx.cs open. You can drag the tab and position it around. You can dock it in parts of visual studion, but you can also allow it to float as a separate window.
I am wondering. Can the same thing be done with Microsoft SQL Managment Studio 2008 R2? This would be extremely useful when I need to view a stored procedure or table and work on another stored procedure or table. I would love to be able to somehow drag out the tab to my second monitor.
If there isn't any built in functionality for this, is there any third party add-ons available? If not, does anybody have any tricks that they use?
No, SQL Server 2012 (code-named "Denali", due by the end of 2011) will be shipping with a new SQL Server Management Studio, based on Visual Studio 2010, which will feature multi-monitor support.
See: SQL SERVER – 2012 – Multi-Monitor SSMS Windows
With earlier versions of SQL Server Management Studio (based on VS2005/2008), you cannot do this, unfortunately.
You'll have to be patient until SQL Server 2012 ships... or you can download the CTP1 test release to get an early feeling of what it'll be like...
I was just looking for the same thing. After reading this answer, I was not impressed at all. I just thought.."what if...?"
Create a new vertical group, max sure SSMS is not maximized. Extend the window to the other monitor. Adjust the vertical groups. Now you have them on both screens. It works like a charm my friend. (;

Right clicking suddenly unbearably slow in VS 2010

I have been using VS2010 without any issues, always on the same application. Suddenly within the last my solution has become unbearably slow when right clicking. When doing other projects, it is fine. The only thing I can think of that I changed was disabling the SQL Server debugging.
It happens if I right click anywhere within the code editor. Everything freezes for about a minute and a half, then the right click menu shows up. If I try again right away, the same thing happens.
Intellisense seems to work fine. It is only the right click.
The project is fairly big, but it has been working fine. I am working on a 2 month old top of the line MacBook Pro (running Windows 7 64 bit in Boot Camp). I did do the patch Tuesday big batch of Microsoft patches in the last 24 hours...
Can anyone suggest where to look?
A delay that long is almost always associated with network time-outs. Use the trouble-shooting strategy demonstrated by Mark Russinovich in this blog post.
Windows 7, x64, 12GB memory, very slow right clicks:
The following steps fixed the problem for me. Right click is now instantaneous. Your Mileage may vary:
I deleted the following directory:
%AppData%Local\Microsoft\VisualStudio\10.0
and reinstalled these three packages from the Visual Studio 2010 Ultimate DVD
Microsoft SQL Server 2008 R2 Data-Tier Application Framework with this command:
\WCU\DAC\DACFramework_enu.msi
Microsoft SQL Server 2008 R2 Data-Tier Application Project:
\WCU\DAC\DACProjectSystemSetup_enu.msi
Microsoft SQL Server 2008 R2 Transact-SQL Language Service:
\WCU\DAC\TSqlLanguageService_enu.msi