facebook

DB Explorer – Generate SQL

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236130 Reply

    gcormier
    Member

    I think there’s a bug in the Generate SQL command when you right click on a table. Say we have a table

    
    C REATE TABLE ME_TEST (
      NUMBER ID NOT NULL,
      NAME VARCHAR2(32) DEFAULT '');
    

    This creates a simple table with a default empty string.

    When you “Generate SQL” on this table, it looks like ME is escaping the single quotes so you get

    
    C REATE TABLE ME_TEST (
      NUMBER ID NOT NULL,
      NAME VARCHAR2(32) DEFAULT '''');
    

    Which is setting the default to.. well…. it’s setting the default value to a single quote.

    ps. Bug in phpBB… I had to mess up the CREATE keyword or I get an error “Cannot access /index.php”

    #236156 Reply

    Riyad Kalla
    Member

    Thank you for the report, that does infact look wonky.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: DB Explorer – Generate SQL

You must be logged in to post in the forum log in