connStr = "Provider=OraOLEDB.Oracle.1; User ID=DM; Data Source=LXBNET; Password=REDHAT; "
Dim query As String = "SELECT * FROM HU.TESTCASE;"
query = query
Dim conn As OleDb.OleDbConnection = New OleDb.OleDbConnection(connStr)
Dim myCommand As New OleDb.OleDbCommand(query, conn)
Catch e As Exception
' connection unAvailable
Cause: A required part of a clause or expression has been omitted. For example, a SELECT statement may have been entered without a list of columns or expressions or with an incomplete expression. This message is also issued in cases where a reserved word is misused, as in SELECT TABLE.
Action: Check the statement syntax and specify the missing component.