pgAdmin Generate ERD stuck on load - pgadmin-4

When I open pgAdmin, right-click a database and press Generate ERD, it opens a new window and gets stuck on the "Fetching schema data..." screen.
Is this a bug that happens for everyone or does my pgAdmin not work for some reason?
Does anyone know of a solution?

Related

Refresh button not updating database in SSMS although query is successfully completed :(

I'm running different queries in SSMS it shows "command completed successfully" but when I refresh the database, can't see the updates in databse.
Though you can see in image that I have created two database as students and students1. I have deleted the database students1 and it shows that the command completed successfully but still students1 is present in object explorer.
I'm a noob trying to learn sql but theses kind of glitchs are making the experience worst for me. Can you please help me?enter image description here
right click on the "Databases" and press "Refresh". If you want to refresh list in the IntelliSense then in the query window press Crtrl+Shift+R

MS SQL Server Management Studio - How to create new schema

I want to create a new schema in SSMS with the Schema - New dialog box but I can't find how.
I know it's supposed to open when I right click on the Databases/xyz/Security/Schemas folder in the Object Explorer and select New Schema... but all I get is a query to create it.
I just started an edX course called Developing SQL Databases, there are no instructions there concerning the SSMS settings, the only instructions say that I should be able to get the Schema - New dialog box. I asked there in the discussion but nobody replies, actually there's no activity there whatsoever so probably nobody even knows I asked.
I did google it but the only relevant results I found say the same thing, right-click, New Schema... and the dialog box opens. But it doesn't.
So, what am I missing?
Expand the database in the Object Explorer, and right-click the Security folder, then select "New" (the Security folder under the database, NOT the Security folder under the server).
I realize your question is how to do this in SSMS, but the tsql code for this is only five words.
create schema MyNewSchema authorization dbo;
That seems much simpler to me.
Be sure you are searching in a right folder.
the security folder is under the database , not under the server.
as next screenshot:-
UPDATE:-
This issue is repeated here, and the soluation was the following:-
Full uninstall Manual
deletion of all MSSQL-folders in
AppData{Local|Roaming}
Reinstall
Checking for any updates
and everything is as expected, so try these steps.

Access - linking to an external database

I've linked to external databases before but all of sudden, I'm having trouble doing so. I open my database, then click on External Data > ODBC Database. when the pop-up appears, I click on the option that says "link to the data source by creating a linked table". Next I click OK. Then I click on the Machine Data Source tab. Select my data source and click ok. It looks like I'm going to get a pop up but it spins and spins and spins. Then I see not responding. This is a database created in Access 2000 that I opening in Access 2010. The password on the Machine Data Source that I'm trying to use had expired sometime over the weekend. I gave it a new password and checked that the password worked. I'm not sure what is going on. Any suggestions would be greatly appreciated. Thanks.........

When pressing F1 hotkey in SQL Server 2008 R2 hang my Maganement Studio?

Sometimes I miss the 1 or the F2 in my computer keyboard when using SQL Server Maganement Studio, that causes my SQL MS to hang and the I have to close it with the Task Manager, but many time I loss a lot from the queries I was working on, so I would like to fix this problem,
Maybe someone here has the same problem.
Microsoft Document Explorer
The Application Data folder for Microsoft Document Explorer could not be created
Right click on the SSMS program (in the start menu / desktop) and select "run as administrator". Do whatever you do to cause SSMS to hang, quit and re-run as normal user. This should remove that warning.
After many intents to solve this problem, I received this message:
External help is not available because Microsoft Document Explorer is
not installed. To view help, change your Help preferences to use the
Integrated Help Viewer or Install Microsoft Document Explorer
I tried to do it at Tools->Options->Help->General->
Show Help usaing: Integrated Help Viewer
Search Result per page: 20
Show Topic abstracts: checked
Reuse Topic window: checked
Highlight search termn: checked
I had to tried many times until SSMS wanted let me to do it.
Now the problem has been partially solved, when I press F1 the SSMS does not hang, but when I still try to change something in the help options, then chunks..

Command(s) completed successfully but... the tables are not created

I backed up my database table's and entire schema into .sql script using Visual Studio's Database Publishing Wizard.
I then tried to re-create those tables on another PC, not before re-creating the database itself, with the same exact name and everything (using a script that I created via SSMS's Script Database as).
I then open that tables .sql file using SSMS and execute it.
SSMS reports:
Command(s) completed successfully
But examining Object Explorer reveals that no tables were created.
Why is this happening?
What have I missed?
I've just been having the exact same problem symptoms also using Visual Studio's Database Publishing Wizard, - but with a slightly different cause / fix.
Even though SQL Server Management Studio says it is connected to the correct database (in the drop down in the ribbon, and in the status bar of the window), it wasn't actually connected to anything.
To identify and fix either:
SELECT DB_NAME() AS DataBaseName
If you get
master
(or any other unexpected database name) as the result, then you are connected to the wrong database and should select the correct DB from the dropdown. This was the cause of your problem.
If you get
Command(s) completed successfully
then somehow you aren't connected at all - this happened to me.
To fix, click the "change connection" button to disconnect and reconnect.
Check whether you have selected database. Most of the times we execute query in Master db by mistake.
-- Mark as answered if this answer really answered your question
Check if you are running "Execute" or jut Parsing the code. It was a late night, I was tired, and kept running a query to create a table, successfully, but no new table. The next day with a clear mind i noticed that i was not actually running the query, i was parsing it.

Resources