Query window popup help how do i add it? - sql

Hi guys i need help with something really trivial about the query window in SQL 2008.
When I write a command and/or declare a variable I want the pop up help like the one in VS2010
to appear like when you write string you just need to type s and scroll down in VS.
I hope I was clear if I was not then please point it out and I'll try to re-write my question
sens I don't know what this help pop up is called I don't really know what to search for.

Why is IntelliSense not working? 3 possible reasons:
1 The object is not in the local IntelliSense cache, since it was created recently. You can fix this easily by going to Edit > IntelliSense > Refresh Local Cache, or CTRL+SHIFT+R.
2 The query window is connected to a downlevel server (e.g. SQL Server 2005), where IntelliSense does not function
3 Maybe you need to install SQL 2008 R2 Service Pack 1 according to here

Related

SSMS 2012 - IntelliSense Complete Word

I use SSMS 2012 with IntelliSense and it is usually fine. However, yesterday, the "complete word" function has turned itself on and is forcing my code to change according to what it wants.
For example, if I'm writing a multi table script and I know my first table will have an alias of "a", I will start by writing
Select a.*
But now, as soon as I hit the full stop button, the a changes to ABS
Select ABS.*
I like having IntelliSense on as I do use it, but I am not used to it overwriting what I type. I can't see any options to change this in the IntelliSense part of the Transact-SQL options.
Can anyone help, please?
Edit: I got a fresh install of SSMS2014 and am fine now, but in case anyone can answer this, it would be a handy resource for others.

How can I get SSMS to provide Auto Completion for SQL Azure?

I'm trying to identify a SQL Server Management Studio option (when writing/running queries) that provides table/column auto-complete functionality in the query editor. Unfortunately, SSMS seems to stop giving you Intellisense when you're connected to a SQL Azure database. Is there any way to fix this?
Are there any options, hacks, plugins or anything else that can accomplish this?
I've finally stumbled upon an option. It's non-ideal but it is certainly a huge step in the right direction!
dbForge SQL Complete is a SSMS plugin that replaces SSMS's built-in Intellisense with its own auto-complete engine. This is a HUGE improvement when connected to SQL Azure, but so far the free version feels like a step backwards when connected to traditional SQL Server instances. Overall, I think we're going to prefer using this over not using it. I'll come back in a couple days to report how well (or not) it's going.
At least it's an option, though!
New Release of SQL Server Management Studio V17.2 now support Intelliscence so no need to have any other tools for this.
Please note that this will only work in case of SQL Server Authentication, that means logged in using SA Instance.
https://connect.microsoft.com/SQLServer/feedback/details/3100677/ssms-2016-would-be-nice-to-have-intellisense-on-azure-sql-databases
Visual Studio have enabled basic IntelliSense for Azure SQL, but it isn't avalaible easily.
You have to click on table, select from drop menu DROP AND CREATE TO -> New query window and then IntelliSense will work. If you simply use New query it will not.

Is a pay-version of LINQPad required to use custom assemblies?

I just ran into LINQPad today and was trying to add a connection using my own LINQ to SQL assembly. I've specified the path, the full name, the server, and the auth method but the OK button to save it never enables. Either there is something wrong with my DLL or perhaps this feature is only available in one of the paid editions?
I'm an idiot and didn't specify the database. I could vote to delete this question but maybe someone else will have a similar moment and this will help them out.

How to use VS2010 query designer in a solution?

Well met! I'm missing something about VS2010... I want to create a solution that let's me use the visual query designer to build queries against an SQL server, as I can when I right click the server in Server Explorer and select New Query. However, I can't seem to save this sort of query.
If I go into Solution Explorer, I can create a new TSQL query, but I cannot use the visual designer. ???
So, what am I missing? I'm sure there is some reasonable and over-arching design paradigm that is just completely eluding me as to why the Solution Explorer and Server Explorer would be so disintegrated that I could not create a query in the one and save it as part of a solution.
Thank you for your help!
It's my understanding that SQL 2008 is built in to VS2010. Therefore you shouldn't have to use SQL Server MS.

External Tool Development for SQL Server Management Studio 2005

Does anyone have any experience of developing external tools for SSMS 2005.
Ideally I would like to be able to interact with the query windows directly, for example, taking the query text from the window to perform some processing on it.
Any pointers in the right direction would be great.
Thanks in advance
Very late entry...
Example of how to do it here
And here too
Have you looked at Sql Server Management Objects (SMO)?
http://msdn.microsoft.com/en-us/library/ms162557.aspx
The best example of this I have seen for SSMS is SQL Prompt by Red Gate
SQL Prompt runs a seperate .NET app that sits in your systray and is in some way part of the magic of the integration.
For loading an add-in, you will want to create a key under:
HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\Shell\AddIns\
...in order to have SSMS load your add-in.
Hope this helps
This link explains adding external tools to ssms with screen shots.
It also has procedure to add them as a button.
http://sqlserverlearner.com/2011/sql-server-external-tools