special version of full_bearing for sql server