Can we use the asterisk character * for a search action in SQL database?
MASQLComm = New SqlCommand("SELECT COUNT(*) AS [RecCount]
From " & tName & "
WHERE " & tName & fName & " = '" & {*} & ".Temp' ",
SQLConn)
Please advice me with a code for this.
Use
LIKEoperator to do that.Also I would strongly recommend against building your SQL query like that. Do it if there is no other way.