select cast(id as varbinary(4)) from tableTest 转载于:https://www.cnblogs.com/zhaogaojian/p/9207558.html