I read [here] that you can put select top 1000 * from in tools > options > keyboard > query shortcuts and it should be able to pull the top 1000 of a dbo you've highlighted. This doesn't seem to work for me. When hitting the bound hotkey, in my case ctrl+3, while highlighting a dbo in my query, nothing happens.
I'm using SSMS 17.9.1 via royal TSX (RDC connection).
Any thoughts that could be preventing this from working for me?
EDIT: I went to Keyboardchecker.com to make sure that ctrl+3 was registering correctly, so it's not an RDC issue, best I can tell.
I figured it out. I just needed to save the query, close it, and open it back up. Must have been an SSMS error? Not too sure, but it works now!
Related
My Download to CSV (F8) button is not working. I have a view open and want to export to CSV. It was working, and then I changed nothing and it was not working. I just installed the new version (pgAdmin 4 v3.3) to see if that would fix it. Still it does not work. The Tools>Import/Export... is grayed-put, also.
It does seem like I see a milli-sec refresh to the screen, like something is happening. But I get nothing. It's not in my downloads. Is this a browser thing? I'm using Chrome 69.0.3497.100.
I have looked for answers, not finding anything.
I would so very much appreciate an answer!! I am frustrated!
pgAdmin 4 v3.3 with Postgres 9.5, windows
You have to be in "View/Edit data" mode, so that you can see the rows you want to export as csv. Only then can you access the down arrow (Download as csv)
I had a similar problem, and maybe this is how it is supposed to work, but I had multiple queries in the SQL window which I was highlighting to run. Trying to download as CSV just resulted in the flash of a dialog as you say. Investigating the network Tab I noticed that the request to the server was failing.
You need to highlight the query you want to extract as CSV, otherwise it seems to run the whole window. It is not, as you would expect just processing the result window.
This was version 4.23 running inside Docker.
I was trying to copy and paste some queries and noticed that the paste option is not working. After that I realized that my copy, paste, delete and next line option is not working at all. What will be the reason for this issue.
When you press the Ctrl key, the text editor is looking for a mouse click to "Go to Definition".
Tools>Options>Text Editor>General> Uncheck "Enable mouse click to perform Go To Definition"
(or you can change the modifier key to something you use less often if you want to continue using this feature)
What, exactly, are you trying to copy, and from where? For instance, if you're attempting to copy and paste tables, views or stored procedures (etc) in the Object Explorer, you'll have no luck.
For most of these items, you should be able to right-click, select "Script [Table | View | Stored Procedure ] As > CREATE TO > New Query Editor Window", then run the script.
Unfortunately(?), SSMS isn't as easy going as Microsoft Access, there's definitely a little work involved.
just experienced the same situation in SSMS v18.5!
Also wasn't able to paste/copy code in the Query's Window.
After playing around and restarting the App it wouldn't work.
I did not have issues copying/pasting in all other applications.
Then I found a solution myself by simply thinking about how to "re-init" the engine of Copy/Paste in SSMS:
Go to: Tools | Options | General | Check "Apply Cut or Copy to blank lines when there is no selection".
After applying the "fix" you should be able to copy/paste again! You may reset the checkmark later.
Hope you other guys have the same luck!
Edit: A few hours later the Copy/Paste again was not working and the fix did not work. I found out that a separate instance of Visual Studio had the same copy/paste problem. So it may be either a Windows 10 or .NET problem.
A reboot helped me in that case.
I encountered this problem too, and got a message saying my pc was out of memory. This could be caused by too many apps being open or too many background processes running.
Simply restarting the pc resolved the problem.
Autocomplete stopped working some while ago for me. Intellisense seems to be otherwise working.
I tried everything mentioned here:
Tools >> Options >> Text Editor >> Transact-SQL >> IntelliSense, and
Enable IntelliSense is selected
Refreshed IntelliSense local cache: both Edit >> IntelliSense >> Refresh Local Cache or the CTRL+Shift+R keyboard shortcut to refresh
Enabled statement completion: please go to Tools >> Options >> Text Editor >> Transact-SQL >> General, and checked on Auto list members and Parameter information boxes
Rebooted SQL Server Management Studio several times
Checked that shortcut "CTRL+Space" is enabled for "Edit.CompleteWord" in Text Editor in Tools >> Options >> Environment >> Keyboard
I have problem only with option:
For each opening query window, please go to Query >> Intellisense Enabled
which is greyed out all the time:
I do not know, whether it is connected to my issue, but it might be.
So, how do I enable Autocomplete again?
it worked for me after pressing Alt+(Right Arrow)
I would recommend to forget about this issue and install 17.1 instead https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms. It is stable, free, looks beautiful and has more nice features than 2016.
Had the same problem: I did all the above mentioned. Solved it finally by disabling the SQLCMD Mode (which was activated)!
IntelliSense stopped working for me, due to offline databases. After bringing them online again, IntelliSense worked again.
My issue was solved by: Edit -> Intellisense -> Refresh Local Cache
I tried all the suggested solutions but nothing worked then I realized it didn't effect the query windows that was currently open.
Simply opening a new query window solved it.
SSMS version 18.12.1
I found that Intellisense was failing on an existing large SQL query window with many lines of different queries contained within.
I took the suggestion from Rikard Askelöf of opening up a NEW query window, and Intellisense started working to auto complete the table names after I put a DOT after the schema name in a new query line.
I finally found the problem was caused by this:
My large original query window had some "errors" in it from me pasting row data, and not commenting it out. I'm guessing Intellisense was getting so confused it just gave up.
Once I went through my query window and commented out all of the lines that had RED error's indicated by the scrollbar on the right, Intellisense works once again.
Invalid Linked Server Credentials
There is one additional case that I have seen. Took quite a bit of trouble to diagnose!
If the Server has a linked server and the credentials are no longer valid.
Autocompletion on objects freezes the cursor for a few seconds, then control comes back with no objects listed.
My issue was solved by: Edit -> Intellisense -> Toggle Completion Mode
While exporting a Solution from CRM, I dont get the prompt to save the exported solution.
I cleared Cookies and tried,
Upgraded to IE 9 also and tried,
I made sure that the Popup is not blocked, but these things didn't help.
This is the case with few other colleagues of mine also.\
Thanks
I usually get a popup right at the bottom of the window. Its not instant however, Crm has to generate the solution file, so if its particulary large it can take a minute or two. I would suggest clicking export, finish the dialog and then waiting 5 minutes to see if anything happens (it needs a loading icon really).
If that doesnt work, try the same again with a small solution (one entity).
I know it is too late but I am adding the solution here if someone faces the issue again.
The issue was due to URLScan. It was solved by removing URLScan from ISAPI filters for CRM web site.
Am I the only person annoyed by this? I don't even know what proc I'm clicking on if the file names have the same prefix, or are longer than the context window width.
I find the tab dropdown, as well as the tab names themselves, annoying. You can't widen either of them.
It helps to save each script to a file, even if only temporarily. I work in an environment where I need to save each script I write. I can see the file names if I hover over each tab. Not perfect, but it helps.
If you're running SSMS 2008 (or even just SSMS Express 2008), you can change certain property settings so that only certain things are shown in each tab: the current server, the current database, the filename, etc. If you only work in a single database, for instance, you could switch off everything except the filename.
But unless any of these suggestions help, there's really no way around those stupid tabs.
connect is garbage, they dont do anything
There isn't a way to make it any bigger.
I find this greatly annoying as well. There are a couple of connect items open about this.