✅ databases name in sqlserver extension in vscode
as u can see in the two pics, in vscode , i can't see the name of the database, it show the content of it direct ((tables etc), but Azure studio it does. How i can get the name of the database as in azurestudio??
6 Replies
is it not in the root item of the tree, if you stretch the widget out to see all the text?
azurestudio or vscode??
the one on the right
the one that doesn't have it
that is azurestudio, i don't have any problem in it, as u can see i have folder for databases, but my problem in vscode i don't have foldr for databses,it not orginize the contents in database folder..... ok , that is the pic:
ahh, okay
that's quite different from what you initially said
from what it looks like, the difference is that you're NOT connecting to the whole server, in VS Code
you probably gave it a connection string, and it's using that
and a connection string specifies a specific database, not a whole server
in short, you can't, VS Code doesn't support it
just based on that screenshot and my lack of having ever used VS Code before
thanks, u r right, i review the connecion string for the two, i found azurestuido connection string use for database field default , but in vscode i used for database field name of the database(firstbase), i don't know what the diffrent ,and i don't know what the meaning with default and why that solved the problem(show databse folder),but any way it's good now