Jul 20, 2011 12:23 PM|chandrashekar|LINK
I couldn't understand what exactly is your requirement or your problem but there is an error your query.
1. In below query is svrName value is column name in Devices table?
"SELECT Customer from Devices WHERE + svrName + = ID"
Probably your query would be as follows: try the below one
"SELECT Customer from Devices WHERE ID = " + svrName;