sql - Define default value for columns in View -


I have a view in SQL Server, in a column (data type int64) it returns zero value! But I want to display zero in it. How can I define a default value for the columns in the scene?

Use your problem like velow <

  Select as dbo.MyView by col1, col2, isnull (numriccal3, 0) to mytable < 

Comments