r/SQLServer • u/Sad_Maximum_799 • Apr 28 '26
Question Sql newbie- struggling
Hi im new to SQL. My work uses Microsoft SQL server and they gave me access to their database with host info and no admin help for me to figure out. I use a core imaged macbook with VPN for any work. Now with MS not being available on Mac, I tried to connect to database using docker/VSCode and DBeaver/kerberos setup.
With both methods and lots of struggles I am able to see the database. It connects and shows me the folders but I see all of them empty. I see no tables under the tables folders of each database. What could I possibly doing wrong? They just told me that they have granted me permissions to the database and thats it. Do I need to run queries to see the tables in the database? Shouldn't I see them right away?
Sorry if this is a dumb question, im learning.
4
u/jshine13371 6 Apr 29 '26
Likely you weren't granted the right permissions. If you don't have read access explicitly granted at any level (directly on an object, a schema, or the database via a role such as
db_datareader) then you won't see any objects.2
u/RuprectGern Apr 29 '26
Since you're just starting out before you do anything, contact the admins and ask them if they're backing up the database server and if they've set up any database backups.
I can't tell you how many times I've read your exact story a couple of months later asking how to recover deleted objects.
1
u/rhbcub Apr 29 '26
Would be easier on a windows machine with ssms but can select from sys.tables.
Also, might ask what permissions you've been granted
1
u/SuperDuperDBA Apr 29 '26
What were you hired for?
1
u/reggatta Apr 29 '26
If you are working on a Mac, RazorSQL works well as a Mac native application for working with SQL server.
1
u/rdeheld69 Apr 30 '26
the granted db acces, ( created a user for login) but dit not grant any dbrole or acces to the tables or schema
1
u/FirmAndSquishyTomato Apr 29 '26
select * from information_schema.tables
-2
u/Reddityard Apr 29 '26
Download and install SQL Server Express on your workstation, and follow the step from 0 to Finish. Open it in SQL Server Management Studio, create a new database, or import a sample database. Compare it with your PROD database.
1
u/[deleted] May 11 '26
[removed] — view removed comment