- 更新 达梦 nullable 判断

This commit is contained in:
28810
2019-12-13 12:38:57 +08:00
parent 18176f3789
commit 2b85e2e22d
3 changed files with 11 additions and 4 deletions

View File

@ -182,7 +182,7 @@ a.data_length,
a.data_precision,
a.data_scale,
a.char_used,
case when a.nullable = 'Y' then 1 else 0 end,
case when a.nullable = 'N' then 0 else 1 end,
nvl((select 1 from user_sequences where sequence_name='{Utils.GetCsName((tboldname ?? tbname).Last())}_seq_'||a.column_name), 0),
nvl((select 1 from user_triggers where trigger_name='{Utils.GetCsName((tboldname ?? tbname).Last())}_seq_'||a.column_name||'TI'), 0),
b.comments