SELECT CAST(ROUND(RAND(),0) AS BIT)

或者

SELECT ROUND(RAND(),0)

 

相关文章: