' query sql sentence like this ;'var' is your Variable; name city .. is other fields
sSQL = "SELECT " & "'" & var & "'" & " ,Name ,city FROM TABLE"
Dim conn As New SqlClient.SqlConnection("yourconnectionstring")
Dim cmd As New SqlClient.SqlCommand(sSQL, conn)
cmd.ExecuteNonQuery()