Update Oracle GetIndexList

This commit is contained in:
sunkaixuan 2024-08-07 09:25:21 +08:00
parent 57d7b1d8f7
commit 634a7146e4
2 changed files with 2 additions and 2 deletions

View File

@ -355,7 +355,7 @@ WHERE table_name = '"+tableName+"'");
public override List<string> GetIndexList(string tableName)
{
var sql = $"SELECT index_name FROM user_ind_columns\r\nWHERE upper(table_name) = upper('{tableName}')";
return this.Context.Ado.SqlQuery<string>(sql);
return this.Context.Ado.SqlQuery<string>(sql).Distinct().ToList();
}
public override List<string> GetProcList(string dbName)
{

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.167-preview11</version>
<version>5.1.4.167-preview24</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>