mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update colums
This commit is contained in:
parent
738415ea85
commit
8256ab8531
@ -36,7 +36,7 @@ namespace SqlSugar
|
||||
then true else false end as IsNullable
|
||||
from (select * from sys_tables where UPPER(tablename) = UPPER('{{0}}') and lower(schemaname)='{GetSchema()}') ptables inner join sys_class pclass
|
||||
on ptables.tablename = pclass.relname inner join (SELECT *
|
||||
FROM information_schema.columns
|
||||
FROM information_schema.columns where UPPER(table_schema)=UPPER('{GetSchema()}')
|
||||
) pcolumn on pcolumn.table_name = ptables.tablename
|
||||
left join (
|
||||
select sys_class.relname,sys_attribute.attname as colname from
|
||||
|
Loading…
Reference in New Issue
Block a user