chore: refactor for sonarqube issues
SonarQube Analysis / sonarqube (pull_request) Successful in 6m3s
SonarQube Analysis / sonarqube (pull_request) Successful in 6m3s
This commit is contained in:
@@ -44,12 +44,6 @@ public static partial class SqlUtils
|
||||
try
|
||||
{
|
||||
// Would need to execute SQL here - skipping for this conversion
|
||||
// var cmd = new StrataSimpleSQLRunner.SimpleSQLCommand("select * from sys.schemas where principal_id=1");
|
||||
// var dt = StrataSimpleSQLRunner.ExecuteDatatable(cmd);
|
||||
// foreach (DataRow row in dt.Rows)
|
||||
// {
|
||||
// list.Add(row[0].ToString());
|
||||
// }
|
||||
|
||||
// Remove system schemas
|
||||
return list.Except(GetSystemSchemas()).ToList();
|
||||
|
||||
Reference in New Issue
Block a user