Hello people, i am a newbie with Sapdb and i have 2 questions please:

1- How i can hide the login window when try to connect a SAPDB Database and
use login by code? (Windows NT 4.0 and ODBC) 
2- When i try to make a ref. integrity between 2 tables :
        table 1 c00 with 
NAME DATATYPE DIM    CODE KEY NOTNULL DEFAULT       UNIQUE
IID     Fixed     10,0         x      x    SERIAL(1)    

and the table L00 with 

NAME DATATYPE DIM    CODE KEY NOTNULL DEFAULT       UNIQUE
CIID    Fixed     10,0         x      x    SERIAL(1)    

then in the ref. integrity dialog of alter table of L00 i create:
FOREIGN KEY NAME  REFERENCING COLUMNS REFERENCE  ON DELETE  COMMENT
minombre                CIID            DBA.C00->IID

i obtain:
Unexpected Error:
Module: SqlStudio.RefIntegrityDefinitionControl
Function: loadColumnTypes
Error No: 9
Error: The SubIndex is out of the interval

later:
Wrong Column Length
The datatype and length of referencing  and referenced columns must be the
same

??

why make wrong? any help is appreciated.

With Best Regards

Francisco Morosini

Skill without imagination is craftsmanship and gives us many useful
objects 
such as wickerwork picnic baskets.  Imagination without skill gives us 
modern art. 

 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to