There's a discussion here. Seems like "SELECT 1" is one way. http://stackoverflow.com/questions/2546868/cheapest-way-to-to-determine-if-a...
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/406#issuecomment-180283755