Erratic Tooltips

Provides intelligent code completion for SQL Server editors.

Moderators: David Atkinson, Anu Deshpande, Luke Jefferson

Erratic Tooltips

Postby Dave Pendleton » Thu Sep 10, 2009 9:22 pm

Why are tooltips present for some columns/objects and not for others?

When working on a SELECT statement with multiple JOIN clauses, tooltips appear for some columns/tables but not for others.

The syntax of the SELECT is correct and runs as expected.

Refresh Suggestions does nothing.
Dave Pendleton
 
Posts: 46
Joined: Sun Aug 19, 2007 3:17 am
Location: St. Paul, MN

Postby Anu Deshpande » Mon Sep 14, 2009 1:22 pm

Hello Dave,

Thanks for your post.

Can you kindly let us know the query using which I can replicate the issue?

This will help us to investigate the issue further.
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Anu Deshpande
 
Posts: 692
Joined: Mon Apr 20, 2009 3:53 pm
Location: Cambridge

Postby Dave Pendleton » Wed Sep 16, 2009 3:11 pm

There is no specific query that causes this to occur. Usually, it is just a SELECT with one or more JOIN clauses (and aliased tables).

I have also noticed erratic behavior when using table aliases without the AS keyword, although I don't know if this is related. Sometimes including AS and refreshing suggestions will help.

Usually, I cut the SQL from the Query Window, open a new window, paste the SQL, refresh suggestions and then tooltips will work as expected.
Dave Pendleton
 
Posts: 46
Joined: Sun Aug 19, 2007 3:17 am
Location: St. Paul, MN

Postby Anu Deshpande » Mon Sep 21, 2009 11:21 am

Thanks for the update Dave.

I am trying to replicate the issue but it works fine for me.

Can you kindly let us know whether the tooltips doesn't work for any specific objects?
Anuradha Deshpande
Product Support
Redgate Software Ltd.
E-mail: support@red-gate.com
Anu Deshpande
 
Posts: 692
Joined: Mon Apr 20, 2009 3:53 pm
Location: Cambridge

Postby Dave Pendleton » Tue Nov 30, 2010 5:35 pm

A year later, and this is still not resolved.

Is there a limit to the length of a SELECT statement?

I have a SELECT statement with 89 columns, many of which are CASE statements. After 79 columns, the tips stop working. Anything above that they work fine.
Dave Pendleton
 
Posts: 46
Joined: Sun Aug 19, 2007 3:17 am
Location: St. Paul, MN

Column metatdata does not appear

Postby Dave Pendleton » Tue Dec 07, 2010 5:14 pm

In addition, when opening this source file (a view in VS2005), tooltips appear for functions when I click the column name, e.g.

Code: Select all
LEN([My Column]) = 0


but no column metadata appears when I hover over (or click) the column name. The syntax of the SQL (as a whole) is correct.

Refreshing suggestions does not help.
Dave Pendleton
 
Posts: 46
Joined: Sun Aug 19, 2007 3:17 am
Location: St. Paul, MN


Return to SQL Prompt Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests

cron