You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExecuteNonQuery(String.Format("CREATE {0}{1} INDEX {2} ON {3} ({4}) INCLUDE ({5})",(index.Unique?"UNIQUE ":""),(index.Clustered?"CLUSTERED":"NONCLUSTERED"),name,table,string.Join(", ",columns),string.Join(", ",include)));
113
+
ExecuteNonQuery(string.Format("CREATE {0}{1} INDEX {2} ON {3} ({4}) INCLUDE ({5})",(index.Unique?"UNIQUE ":""),(index.Clustered?"CLUSTERED":"NONCLUSTERED"),name,table,string.Join(", ",columns),string.Join(", ",include)));
IDataReaderreader=base.ExecuteQuery(cmd,string.Format("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = '{0}' AND TABLE_NAME='{1}' AND COLUMN_NAME='{2}'",schema,table,column)))
@@ -185,14 +191,17 @@ public override bool TableExists(string table)
using(IDataReaderreader=base.ExecuteQuery(cmd,string.Format("SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='{0}' AND TABLE_SCHEMA='{1}'",table,schema)))
0 commit comments