Issues with query tool in pgAdmin 4 - pgadmin-4

I've been using pgAdmin III for about three years, but we're now being forced over to pgAdmin 4 on our new PCs. I'm missing some of the functionality, and I haven't been able to find any answers to these questions in the documentation on the query tool, so I'm guessing maybe the things I want to do just aren't possible.
1) Can I open a new query tool instance in its own window, or am I stuck with tabs in the main pdAgmin window?
2) In pgAdmin III, you could easily switch between databases from a dropdown box at the top of the query window. I don't see any way to do that in the query tool tabs. Is the only way to open another instance in the correct database?

Yes, you can open Query tool in a separate window
After opening a tab, you can click and drag the tab out of the pgAdmin window to create its own window.
Update: The location of this setting has changed. Currently it can be found under Browser/Tab Settings:
Unfortunately, At a moment there is no way to change the database from Query tool window, each time you have open new query tool instance from required database but it's in TODO feature list, We will hope to get it soon :)
Ref: Link

Related

SQL Server Import Wizard not showing Database selection

It isn't there. I created a shortcut from the SSMS tasks import menu but now I can't select a database.
Where is the DB selection?
Oh crap, I just realized the box wasn't sized right and the database was hidden. Something about your answer prompted me to resize it.
Thanks.
Here is what I discovered. I have a laptop and an external monitor that is bigger than the laptop screen. I am extending the display and when I use the larger display for my work the rendering of the screens seems to use the smaller screen to determine what to show.
Go figure.

IntegrationServicesCatalog doesn't allow to create SSISDB

I am trying to create ssisdb on sql 2017 instance, i have configured clr , but for some reason the option to create SSISDB is not showing. Please see attachment and help.enter image description here
Ive had similar issues with several kinds of MS products like SSIS or SSMS, the OK or other buttons not showing, also users couldnt see values or filters in Power BI etc.
In these cases it was a display issue. Try display it on a larger monitor, try changing screen resolution, or move the box further up or try and resize the box in which the buttons should be in.
I also had cases where I couldnt see any buttons but they were displaying when a colleague set it up on his computer, so maybe you could ask a colleague if he/she can see the buttons.

SSAS measure display folders do not show up

I'm developing a cube using the multidimensional model on the Sql Server 2014 Dev edition. Having quite a few measures in a single group I'm trying to organise them into display folders that doesn't work though for some reason. The defined display folders do not show up in any client - Visual Studio, SSMS, Excel, Power BI - you name it. Using VS I can see the defined folders in the properties window, on the translation tab, everywhere except the browser tab. And yes, the visibility attribute for the measures is set to True.
Please let me know if anybody came cross this and fixed.
As it turned out display folders will not appear unless you provide captions for the all added translations.

Can I have multiple rows of tabs in SQL Server Management Studio

I'm wondering if it's possible to setup SQL Server to have multiple rows of tabs for files / queries.
I have a lot of queries I want to switch between, and could move them to different horizontal groups, but I think two rows would be much easier to navigate than that pin on the left that drops down the big list of open queries.
Visual Studio kind of supports this if you pin enough code windows to fill up the top bar.
Is there something similar in SQL Server?
Edit:
I'm trying to achieve something like this (screenshot from Visual Studio)
While SQL Server is more like this
It's now available in current ssms version. From menu => Tools => options:
By default SSMS includes Database name, File name, Login name and server name in each query tab title. So that we can see only 3 or 4 tabs at a time.
There is a work around for this,
go to Tools > Options > Text Editor > Editor Tab and Status Bar and change all of the "Tab Text" group options to false except for the file name.
This will reduce the tab name, so that SSMS will show more tabs at a time
I know of at least one plugin that will do this in SSMS (and Visual Studio). Because, yeah, it would be nice.
Tabs Studio - document tabs manager for Visual Studio IDE.
You can do this by pinning all the tabs. If tabs are pinned, they won't go out of sight but will go to the next tabline instead.
The last line in the picture is a result of "Show pinned tabs in a separate row" option described in this answer.
You can pin all tabs. Pinned tabs won't be hidden.
You can get a list of open tabs (Active Files) using the Ctrl-Tab shortcut. Continue pressing Tab to cycle through the list and release when the desired tab is highlighted. Or just mouse click on the required tab while keeping Ctrl depressed.
Some people do this by managing their files in an SSMS Solution and keeping the Solution Explorer loaded, but I find these to be inflexible and unwieldy.
SQL Prompt 6 has an "Open Tabs" list in the Tab History feature, which you might also find useful.

How to create a link in an iif condition in reporting services

I want to create a link in a condition in reporting services.
i have something like
iif(SomeField = "Canceled",SomeFiled,SomeField & link)
So the output would be:
Completed
Download Report (with link
to report)
But if i put html code like:
Somelink
It just spits out the html code, and no link is created.
So, how do i make a link?
The text box has properties that can be used to control this (called different things in each version).
Anyhow, the URL etc are properties that can be an expression that takes IIF.
SSRS 2008 "Go to URL"
SSRS 2005 "Jump to URL"
SSRS 2000 "Jump to URL":
You should be able to make it open in a new window: I've done it before but can't look at what I did just now.
How to create a hyperlink in Reporting Services that opens in a new window
I was at a client and the question came up "Can I jump to another web based tool from my report?". The answer seemed obvious ... YES. What was not straightfoward was how to open the other web based tool in another window. Here is a solution a found (someone else's idea) that helped.
When designing the report:
Open up a text box properties window
Go to Navigation
Enable Jump to URL
In the URL enter javascript:void(window.open( 'http://www.microsoft.com', '_blank')
Mike brown's blog not mine.

Resources