How can we help you today? How can we help you today?

Schema & suggestions

When my tables names are unqualified (without schema) , SQL Prompt suggestions do not work. I have to qualify my table names with the schema to get suggestions.

Native intellisense works with unqualified table names on SSMS installation without  SQL Prompt.

For my environment, unqualified table names are the best.

Thanks!
mike
0

Comments

6 comments

  • Dan B
    Hi mp_

    Thanks for posting on the Redgate forums.

    When using the correct database SQL Prompt will suggest table names when entering something like 

    SELECT * FROM .... 

    Without me needing to specify the schema.

    Does the database you're seeing this issue on have multiple schemas? Could you confirm the version of SQL Monitor you are running, please?
    Dan B
    0
  • mp_

    Hi...The database I'm using has the dbo schema plus another schema. When I connect via SSMS without SQL Prompt installed, intellisense works fine. But with SQL Prompt installed I have to preface the table with the schema to get the auto suggestions.


    I'm not running SQL Monitor...just SQL Prompt, version 9.5.6.10002

    mp_
    0
  • Dan B
    Testing with two schema's I still do get suggestions before specifying the schema. I've attached the screenshot of what I see on my test also with SQL Prompt 9.5.6.



    Could you share what you are seeing vs what Intellisense shows you?


    Dan B
    0
  • mp_
    I see that as well, but once I select a table auto suggestions stop if no schema specified on the table name.  
    mp_
    0
  • Dan B
    I think some screenshots of what you are/aren't seeing would really assist here as Prompt does suggest all the correct column names for me. If you would prefer you can send screenshots into support@red-gate.com

    Dan B
    0
  • mp_
    Here's what I'm seeing. When selecting the table i get suggestions:


    Without the schema prefix, no suggestions for column names:


    with the schema prefix i get suggestions for column names:


    mp_
    0

Add comment

Please sign in to leave a comment.