mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Update colums
This commit is contained in:
@@ -36,7 +36,7 @@ namespace SqlSugar
|
|||||||
then true else false end as IsNullable
|
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
|
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 *
|
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
|
) pcolumn on pcolumn.table_name = ptables.tablename
|
||||||
left join (
|
left join (
|
||||||
select sys_class.relname,sys_attribute.attname as colname from
|
select sys_class.relname,sys_attribute.attname as colname from
|
||||||
|
|||||||
Reference in New Issue
Block a user