我有两张桌子(前):
OPERATION_TYPE
ROWID(int, not null)
ID(PK, varchar(15), not null)
DESCRIPTION(varchar(40),null) ...
OPER_TYPE_BINARY
ROWID(int,not null)
OPERATION_TYPE_ID(PK, FK, varchar(15), not null)
TYPE(PK, char(1), not null)
BITS(image, null)
BITS_LENGTH(int, not null)
如何从OPER_TYPE_BINARY
插入OPERATION_TYPE
?
OPERATION_TYPE_ID = ID
TYPE = 'D'
BITS = DESCRIPTION
BITS_LENGTH =