如何在OleDB连接中使用正则表达式?我试过这个:
Dim conn As New OleDbConnection
conn.ConnectionString = "my little secret"
conn.Open()
Dim cmd As New OleDbCommand( _
"SELECT * FROM books WHERE title REGEXP '^.*[a-z][a-z][0-9].*$'", cmd)
Dim dt As DataTable = cmd.ExecuteQuery()
但会导致语法错误(缺少运算符)。