![]() |
Datenbank: SQL Server / Centura • Version: 2000 / 7.5.1 • Zugriff über: n/a
SQL Server -> SQLBase
Hallo allerseits,
ich muss ein paar Tabellen von MSSQL nach Centura SQLBase portieren, habe aber Probleme mit zwei Scripts: Aus dem hier:
SQL-Code:
wurde das:
CREATE TABLE DBA.pvlpe(
lpe_num_pe smallint NOT NULL PRIMARY KEY, lpe_peso numeric(16, 4), lpe_prog_fisc char(20) ) GO
SQL-Code:
Allerdings protestiert hier SQLBase und wirft mir ein "Invalid decimal precision" an den Kopf :wall:
CREATE TABLE pvlpe(
lpe_num_pe smallint NOT NULL, lpe_peso decimal(16, 4), lpe_prog_fisc char(20), PRIMARY KEY (lpe_num_pe) ); create unique index pvlpe_pk on pvlpe (lpe_num_pe asc); Und bei dem hier:
SQL-Code:
weiß ich nicht so recht, wie das REFERENCES in SQLBase geht :oops:
CREATE TABLE DBA.pvscd(
scm_num_pe smallint NOT NULL REFERENCES DBA.pvscm(scm_num_pe), scd_prog smallint NOT NULL, scd_rif_cod char(13), scd_cer char(6), scd_rif_des char(90), scd_cod_pr char(6), scd_uni_pr smallint, scd_ragsoc_pr char(40), scd_num_fi char(20) ) GO ALTER TABLE DBA.pvscd ADD PRIMARY KEY (scm_num_pe, scd_prog) GO Kann mir irgendjemand weiterhelfen? Greetz alcaeus |
Re: SQL Server -> SQLBase
Zitat:
Zitat:
SQL-Code:
CREATE TABLE DBA.pvscd(
scm_num_pe smallint NOT NULL, scd_prog smallint NOT NULL, scd_rif_cod char(13), scd_cer char(6), scd_rif_des char(90), scd_cod_pr char(6), scd_uni_pr smallint, scd_ragsoc_pr char(40), scd_num_fi char(20), FOREIGN KEY (scm_num_pe) REFRENCES DBA.pvscm(scm_num_pe) ) GO |
Re: SQL Server -> SQLBase
Hui...super, danke, dann werd ich das mal auf Arbeit ausprobieren.
Greetz alcaeus |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:31 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz