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: | Fault occurs in data type Default value. | ||
---|---|---|---|
Product: | db | Reporter: | issues@www <issues> |
Component: | Code | Assignee: | Radko Najman <rnajman> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jf4jbug |
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
issues@www
2001-09-12 15:18:41 UTC
Fixed. Default values of character data types are encapsulated in one '(apostrophe) character now. Bug is not fixed correctly. How to reproduce: 1) Create table with one VARCHAR column with default value: "DEFVAL1". I'm using MSSQL driver. 2) Grab its structure. 3) Delete table. 4) Recreate table. 5) ERROR - See Command from recreating table. It is: create table "Test!" ( "COL" CHAR(20) default '('DEFVAL1')' ) 6) NOTE - It should be like this (no outter single-quotes exists): create table "Test!" ( "COL" CHAR(20) default ('DEFVAL1') ) Fixed in trunk. Workaround for MSSQLServer - default value is encapsulated in () so I can't generate '()' VERIFIED Resolved for 3.3.x or earlier, no new info since then -> closing. |