ssms

SQL Server Management Studio 2008 Intellisense

吃可爱长大的小学妹 提交于 2019-11-30 08:00:11
I just installed SQL Server Express 2008 because of intellisense feature. It worked at first but than it stopped working. Looking for the option to check and later consulting Google I have found that it looks like Microsoft disabled intellisense if you connect to SQL Server 2005 databases. Is this absolutely correct ? Is there any solution for this (some registry "switch") ? If you'd like to see the feature added, vote for the request on Connect . Here is feedback from the team regarding why it was dropped: Let me share product team’s information about the version support of IntelliSense. This

Find the time difference between two consecutive rows in the same table in sql

百般思念 提交于 2019-11-30 07:33:16
I'm stuck. I've looked for an answer, but can't seem to find subtracting time in the same table from two different rows of the same table that fits. I'm having a difficult time with the following query. In the table below, I want to differentiate the TimeOut from one row to the TimeIn of the next row. Consider in the following table of finding the difference in minutes between the TimeOut in Row 1 (10:35am) and the TimeIn in Row 2 (10:38am). Table 1: TIMESHEET ROW EmpID TimeIn TimeOut ---------------------------------------------------------------- 1 138 2014-01-05 10:04:00 2014-01-05 10:35:00

Can't connect to SQL Server in different domain using SSMS and Windows 7 Credential Manager

て烟熏妆下的殇ゞ 提交于 2019-11-30 06:51:56
I need to connect to a SQL Server 2008 instance in another Windows domain to manage it. We only use Windows Authentication. In Windows XP, I could use the "Manage Network Passwords" feature to store on my local machine my username and password for the remote machine. Doing so would cause SQL Server Management Studio to use those credentials, instead of my local credentials, when connecting to that server. This worked great, and prevented my having to enter a username or password every time I connected with SSMS. But, Holy Cow, after upgrading to Windows 7, I can no longer do this. Adding my

SQL Server Management Studio missing

断了今生、忘了曾经 提交于 2019-11-30 06:44:54
问题 i just installed sql server 2008 r2 and SQL Server Management Studio. After installation i found that the SQL Server Management Studio has not been installed. i wanted to install SQL Server Management Studio, but cannot find the installation for this. Any idea how to install it? 回答1: Did you include "Management Tools" as a chosen option during setup? Ensure this option is selected, and SQL Server Management Studio will be installed on the machine. 回答2: I know this is an old question, but I've

How to delete server entries in SQL Server Management Studio's “Connect to Server” Screen? [duplicate]

筅森魡賤 提交于 2019-11-30 06:19:16
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How to remove “Server name” items from history of SQL Server Management Studio In the "Connect to Server" screen, SQL Server Management Studio stores all entries you have ever entered for Server Name, login and password. This is very helpful, but from time to time things change, servers addresses change, databases are no longer available. How can I delete server entries from this screen? Also, when you select a

SQL Server Management Studio 2012 hangs

ⅰ亾dé卋堺 提交于 2019-11-30 04:35:15
When I click on the "Databases" node in "Object Explorer" it just keeps on "Loading items" until at some point it just hangs. This happens only when connecting to a remote server, not when accessing a database on my PC. It also doesn't happen with any other node. The guys at the web-hosting company didn't have any trouble with it. (But they're running 2008, and so is the SQL server there) I reinstalled the whole SQL server etc. but to no avail. What might be the problem? I experienced this same problem: when accessing a remote server with the Object Explorer, SSMS would hang indefinitely. The

See images in SSMS?

痞子三分冷 提交于 2019-11-30 03:34:30
问题 I was browsing around and found this blog post: http://erikej.blogspot.com/2010/04/version-3-of-exportsqlce-now-available.html (It is for a great add in if you user SQL Server CE.) On that post I saw an screen shot of SSMS with images in the results. How is this done? I have images in my database (PNG files that are serialized via memory stream), but I just see numbers when I select the image column. 回答1: If you are asking how this is done, I'm not sure how it is implemented exactly. I know

Generate SQL server scripts from command line?

寵の児 提交于 2019-11-30 03:29:00
In Microsoft SQL Server Management Studio 2008 there is a "Generate scripts..." option under the Tasks menu. I'm just wondering if this tool is available from the command line somehow? It looks similar to the sqlpubwiz.exe command line tool that was available for SQL Server 2005, but I can't find this executable anywhere in the SQL 2008 installation. The script generating options of Management Studio are just a wrapper around the SMO scripting capabilities . Simple scripts are obtained by using the Script() method on various SMO types. More complex scripts are created by the specialized

SSMS 2016 Error Importing Azure SQL v12 bacpac: master keys without password not supported

倾然丶 夕夏残阳落幕 提交于 2019-11-30 02:54:50
I have done this dozens of times but just recently ran into this error. Here are the steps I have gone through to get here: Create a copy of my Azure SQL v12 database on the same server as the original Export the copy-version (completely inactive from user interaction) to blob storage Download the .bacpac file from blob storage to my local drive In SSMS (October 2016 release) my local sql server instance, right click Databases and choose 'Import Data Tier Application' Choose my recently downloaded bacpac file and start the import It only takes a few seconds for it to bomb out and I get the

Is there a way to expand the column list in a SELECT * from #Temp_Table in SSMS?

好久不见. 提交于 2019-11-30 01:58:07
问题 As seen here LINK you can hover over the * in a SELECT * from... and a tooltip will come up with a list of the columns represented by that * . Is there a way to copy the text from the tooltip to the clipboard? I know that you can use the columns folder in the object explorer to generate a list of columns by dragging it into the query editor window, but this cannot work for temp tables as they do not appear in the object explorer. EDIT For completeness sake, the answer below "You can right