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 139275

Summary: There is no script just for table creation
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description Roman Mostyka 2008-07-08 15:44:52 UTC
1. Rightclick some DB table and choose "View Data".
2. Rightclick some row and choose "Show SQL Script for CREATE (With Data)".

Result: Script for the table creation is shown and also script for insert is shown (since row was selected by
rightclick). There is no possibility to see SQL script for CREATE without data. We should have such item.
Actually script for insert we already have, so or we remove "Show SQL Script for CREATE (With Data)" and add just "Show
SQL Script for CREATE" or we add "Show SQL Script for CREATE (Without Data)".
Comment 1 _ ahimanikya 2008-07-08 15:52:19 UTC
Will remove the INSERT
Comment 2 _ ahimanikya 2008-07-08 21:29:08 UTC
Fixed http://hg.netbeans.org/dbdataview/rev/71b6fc739807
Comment 3 _ ahimanikya 2008-07-08 21:30:41 UTC
I think since we already have INSERT, I just kept the CREATE, if user want both then they will get script from both
CREATE and INSERT...
Comment 4 Roman Mostyka 2008-07-09 14:37:53 UTC
Verified with build 080709