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 - There is no script just for table creation
Summary: There is no script just for table creation
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: _ ahimanikya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-08 15:44 UTC by Roman Mostyka
Modified: 2008-07-09 14:37 UTC (History)
0 users

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 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