Results 1 to 5 of 5

Thread: .ddl files

  1. #1
    Join Date
    Dec 2002
    Posts
    6

    Unanswered: .ddl files

    anyone working with .ddl files? I generate then from MagicDraw(UML) but seems not be sql valid.
    anyidea...
    laurent

  2. #2
    Join Date
    Dec 2002
    Posts
    6

    the code...

    just wanted to add an exemple :

    my script.ddl :
    ==========================
    DROP TABLE myDB.user;
    CREATE TABLE myDB.user
    (
    id int4 (4),
    username varchar (255),
    pwd varchar (255),
    CONSTRAINT user_pkey PRIMARY KEY( id )
    );
    ==========================
    and "myDB.user" and "int4 (4)" buggs.

  3. #3
    Join Date
    Sep 2001
    Location
    Vienna
    Posts
    400

    defenitly wrong

    this is wrong

    CREATE TABLE [NAME]

    id int4,
    http://www.postgresql.org
    --Postgresql is the only kind of thing--

  4. #4
    Join Date
    Dec 2002
    Posts
    6

    Re: defenitly wrong

    yes I know, but I just wonder why a UML soft like MagicDraw
    generates me a .ddl file formated like this.

  5. #5
    Join Date
    Sep 2001
    Location
    Vienna
    Posts
    400

    ??

    if this is a magic Draw specirfic question why don't you ask the company which wrote tghe software??


    and second:
    In many cases when there is a postgresql support written on the website it's not suer if there is a postgres support there
    Because many of the idiots thin postgres = mysql with the sql-syntax

    AND THATS VERY WRONG
    http://www.postgresql.org
    --Postgresql is the only kind of thing--

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •