This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
For example, if you add these lines: DECLARE @StartDate datetime, @EndDate datetime SET @StartDate = '2010-01-01' SET @EndDate = '2012-01-01' CC breaks throughout the file. Connecting to SQL server 2005. Product Version: NetBeans IDE Dev (Build 201107220600) Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02-383 System: Mac OS X version 10.7 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/alvin/.netbeans/dev
Please, describe in detail your problem. Where (on what caret) are you invoking CC. What is your expectation and what returns IDE. I'm sorry I have lack of information what went wrong. Thanks
For example: DECLARE @StartDate datetime, @EndDate datetime SET @StartDate = '2010-01-01' SET @EndDate = '2012-01-01' -- cursor after 'FROM' below SELECT * FROM Invoking CC after 'FROM' above should supply a list of table names. It doesn't.
Thanks, I see the problem now. I'm finding a way how to fix it.
core-main/rev/1b194784c122
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/1b194784c122 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #200367: CC does not work with use of DECLARE/SET
CC still brakes if you add this line: SET @PreviousDay = dateAdd(d, -1, @StartDate) Maybe it's the parentheses?
core-main/rev/422c72588a6b fixed this problem too.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/422c72588a6b User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #200367: CC doesn't work with use of LPAREN/RPAREN
Yup, but if you're not too busy CC doesn't work in the COALESCE function.