Update Oracle

This commit is contained in:
sunkaixuan 2024-09-04 11:32:35 +08:00
parent 2cc582546f
commit c34ca95cc1

View File

@ -680,7 +680,7 @@ WHERE table_name = '"+tableName+"'");
}
private static void ConvertCreateColumnInfo(DbColumnInfo x)
{
string[] array = new string[] { "int"};
string[] array = new string[] { "int","date"};
if (array.Contains(x.DataType?.ToLower()))
{
x.Length = 0;
@ -690,6 +690,10 @@ WHERE table_name = '"+tableName+"'");
{
x.DataType = x.OracleDataType;
}
if(x.DecimalDigits>0&& x.DataType?.ToLower().IsIn("varchar", "clob", "varchar2", "nvarchar2", "nvarchar")==true)
{
x.DecimalDigits = 0;
}
}
#endregion
}