今天遇到一个问题,数据库:mariaDB, sit 执行insert失败,同样接口参数local test 没有问题,提示检查 当前db 版本操作手册,怀疑是版本问题导致的,local db version:10.3.8
sql
insert into
tb_part_account_asset
(created_date, created_by, updated_date, updated_by, asset_type, custodian, custody_account_no, others, participant_id, wallet_address)
values
('2021-04-29 11:26:43', 'ipauser07', '2021-04-29 11:26:43', 'ipauser07', 'BTC', 'DACA', '100001', null, 4, '2');
下面是报错信息
通过测试因为sql字段中有关键字 others. 可长点心吧。