SQLSERVER 设置默认值

DECLARE @test int
SET @test=null
select isnull(@test,0)

原文地址:https://www.cnblogs.com/sntetwt/p/9240543.html