Re: SQL Server



Hello Steffen,

I had copied example2.dia into the same folder as the binary file dia2code
is and now the file Definition.sql was created successfully. But only if
the both files (example2.dia, dia2code.exe) are in the same directory, is
that correct?

I would like to create an Entity Relationship Diagram. I have to use an UML
Class Diagram? How can I define the Primarykey, Field options and so one??

Thanks for all.

Greet Olivier

-- Original-Nachricht --
Date: Tue, 18 Oct 2005 12:12:19 +0200
From: Steffen Macke <sdteffen gmail com>
To: discussions about usage and development of dia <dia-list gnome org>
Subject: Re: SQL Server
Reply-To: discussions about usage and development of dia <dia-list gnome org>


Hello Olivier,

What are the parameters you've used?
-t sql [filename]

Did you replace [filename] with the actual filename (e.g. sample.sql)?

If I run

dia2code -t sql example1.dia

a file DEFINITION.SQL is created with the following contents:

CREATE TABLE Base(
-- Attributes --
dummy int,
x int);

CREATE TABLE Derived(
-- Attributes --
);

CREATE TABLE PureAbstract(
-- Attributes --
);

Regards,

Steffen
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]