Book a Demo

Author Topic: Creating database  (Read 6351 times)

kkilpone

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
  • Simpsons rocks
    • View Profile
Creating database
« on: November 07, 2006, 09:57:00 am »
Hi

Is there any way to create a complete database (Access) direct from EA.

I meen what is the ide to put 1000 hours on layout when you cant use it as starting platform when creating complete database solution.

MSAccess don't understand DDL that EA is producing.

Or are I missing somting here ...

thomaskilian

  • Guest
Re: Creating database
« Reply #1 on: November 08, 2006, 12:32:41 am »
If you have set the table DB type to be MS Access, then EA should generate the correct DDL. If it doesn't the you should report this as a bug.

kkilpone

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
  • Simpsons rocks
    • View Profile
Re: Creating database
« Reply #2 on: November 09, 2006, 08:57:45 am »
Hi

MSAccess don't understand DDL when there is multiply Create.

It understand only if I runnig one line.

ex this will create a SYNTAX ERROR at the second CREATE TABLE

CREATE TABLE Kieli (
Kieli_index Long NOT NULL,
Kieli_Nimi Text(20) NOT NULL
)
;

CREATE TABLE KunnossapitoTaso (
KuTa_index Long NOT NULL,
KuTa_Taso Text(5) NOT NULL,
KuTa_SN_Vmax Double,
KuTa_P_kN Double,
KuTa_KiskoPaino Text(10),
KuTa_Ratapölky Text(50),
KuTa_Tukikerros Text(10)
)
;

And this will work

CREATE TABLE KunnossapitoTaso (
KuTa_index Long NOT NULL,
KuTa_Taso Text(5) NOT NULL,
KuTa_SN_Vmax Double,
KuTa_P_kN Double,
KuTa_KiskoPaino Text(10),
KuTa_Ratapölky Text(50),
KuTa_Tukikerros Text(10)
)
;

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Creating database
« Reply #3 on: November 09, 2006, 01:25:47 pm »
That is a limitation of MS Access.

You will need to write some code or an add in to run a full ddl script in Access.

Search for "ms access ddl script" in Google for suggestions.

kkilpone

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
  • Simpsons rocks
    • View Profile
Re: Creating database
« Reply #4 on: November 10, 2006, 09:17:39 am »
Hi

Okej..... that is very bad for me of course,  >:( if I may ask what is your suggest of DBMS, MSSQL, MySQL or someting else? :-/

MSAccess is very flexible when working with data. :'(

kkilpone

  • EA User
  • **
  • Posts: 22
  • Karma: +0/-0
  • Simpsons rocks
    • View Profile
Re: Creating database
« Reply #5 on: November 14, 2006, 09:04:38 pm »
Hi

I found a very handy program to my needs ;D

http://www.johnmacintyre.ca/SQLBE.asp

The SQL file need some editing