I am trying to delete particular tables routinely from the sys.tables in vb.net. here is code, but it does not work.
Try
Dim MyCommand As New Odbc.OdbcCommand("", MyConnection)
MyCommand.CommandText = "drop from sys.tables where tabname like '% " & span & "%'"
Dim result As Integer = MyCommand.ExecuteNonQuery
MyCommand.Dispose()
Catch ex As Exception
End Try