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
Related
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?
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.........
I am getting this report not running, going to the database. I have to login to get it to work and it will work, but I don't want the users to have to log in. I have checked the connection. It connects from the boxes to the database in odbc. This report completely works before it is promoted. It is promoted from 4.1 to 4.1. Other reports using the same database are working, but others are still giving this prompt as well. Most are working, and they are using the same connection in BOE. This exact report works in Dev. Do you have any ideas?
In BOE when you upload the report, Right click and go to database configuration there select appropriate driver and provide database login credentials.
After providing the details select the radio button that will tell use the same database details every time... probably 3rd option and click on save.
Hi I fixed it by reinstalling the native client
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..
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.