Notebook Not Recognizing Table Azure Data Studio; Query Has No Issue

e_byrd 21 Reputation points
2022-10-18T21:21:49.307+00:00

New to Azure Data Studio but, while a simple query such as Count(*) works fine with the connected server/database and associated table name in schema, once inside a notebook, fails with "Invalid Object Name" for table name in schema. Double checked that connection is active and identical. Have tried refreshing Intellisense multiple times. No luck. Is there a solution?251680-failure-in-notebook.jpg251650-success-in-query.jpg

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2022-10-18T21:32:44.937+00:00

    You could try queries like

       SELECT @@severname, db_name()  
       SELECT * FROM sys.tables  
    

    in the Notebook to verify where you are.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.