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.

Bug 79203 - Default column size
Summary: Default column size
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks: 152827
  Show dependency tree
 
Reported: 2006-06-27 13:30 UTC by Martin Schovanek
Modified: 2013-08-01 12:51 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-06-27 13:30:22 UTC
[#200606270200, jdk1.5.0, Derby]

Preset a useful default column size for varchar and similar data types. Current
implementaion presets the size to 0 which leads to invalid create table statement.
Comment 1 Andrei Badea 2006-06-30 19:52:25 UTC
... not on all databases (does on Derby, I know, but doesn't e.g. on PointBase).
Anyway, I assume most users would know that a varchar field is useful when a
length is specified for it.
Comment 2 _ ahimanikya 2008-07-17 17:59:08 UTC
If user has not specified varchar length, it should be assumed as 1; different database has different standard for
varchar default size.  
Comment 3 Jiri Rechtacek 2009-10-16 14:14:27 UTC
Reassigned to new owner.