0

我有两张桌子(例如):

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_BINARYfrom OPERATION_TYPE

  • OPERATION_TYPE_ID = ID
  • TYPE = 'D'
    ? BITS = DESCRIPTION
    ?BITS_LENGTH =
4

0 回答 0