MSSQL temp table autocomple not work
See original GitHub issueSystem information: Operating system (distribution) and version: Windows 10 OS Build 2104 DBeaver version: 21.0.3 Java version “1.8.0_191” No Additional extensions
Describe the problem you’re observing: Column hints (a.k.a intellisence or autocomplete) doesn’t work with MS-SQL temp tables.
Steps to reproduce:
- Create a temp table
select 1 as col1, 'a' as col2
into #temp
- invoke “column hint” via table alias:
select
t. -- <- col1, col2 should appear
from #temp t
Actual behavior: Column hint doesn’t appear.
Workaround: Type full-qualified name to a temp table:
select t. -- <- col1, col2 are shown
from tempdb.dbo.[#test_______________________________________________________________________________________________________________000000001C52] t
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
sql server - IntelliSense not working but it is enabled
Go to Tools -> Options -> Text Editor -> Transact-SQL -> General -> IntelliSense · Go to Query -> IntelliSense should be selected...
Read more >Autocomplete stopped working on SSMS 2016 - Stack Overflow
Enabled statement completion : please go to Tools >> Options >> Text Editor >> Transact-SQL >> General, and checked on Auto list members...
Read more >SSMS IntelliSense doesn't not recognize local temporary table
I'm using SSMS 2008 R2 and honestly, this is so irritating that IntelliSense doesn't work on local temporary table.
Read more >Using and troubleshooting SQL Server IntelliSense - SQLShack
When a new object is added to a database the IntelliSense cache needs to be refreshed. This can be done by pressing CTRL+SHIFT+R...
Read more >SQL Complete Temp table intellisense - Devart Forums
3. I have RedGate SQL prompt on a different computer (albeit with a different SSMS version) and the issue does not exist at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Implemented:
FYI
#temp
and#test___...___000000001C52
are not the same names.We can improve proposal analyzer, so it will lookup tables ~without this madness-looking hash at the end~ from
tempdb
.