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.
Summary: | The '#' character used for temporary tables creates an error for MS SQL Server | ||
---|---|---|---|
Product: | db | Reporter: | SCHOLARgraeme |
Component: | SQL Editor | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | SCHOLARgraeme |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
SCHOLARgraeme
2012-11-22 17:27:09 UTC
http://hg.netbeans.org/core-main/rev/aeec33367fb4 The problem is that the # character is used by MySQL for line comments, so part of the statement was removed. Now the type of database is checked to decide whether # comments should be supported. Thank you for reporting. Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/aeec33367fb4 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #222617: The '#' character used for temporary tables creates an error for MS SQL Server Thanks, I can confirm that the issue has now been resolved at my end: CREATE TABLE #Yaks (YakID int,YakName char(30)) Executed successfully in 0 s. Line 1, column 1 Execution finished after 0 s, 0 error(s) occurred. |