i have a table of purchase having bill field, another table of payments is linked with purchaseid as foreign key from purchase table. how may i have "0" instead of null in a view for the purchases for which no payment is made????????
default value in the view?
Collapse
X
-
Tags: None
-
What is the version of DatabaseOriginally posted by summiyashaheeni have a table of purchase having bill field, another table of payments is linked with purchaseid as foreign key from purchase table. how may i have "0" instead of null in a view for the purchases for which no payment is made????????
Sql Server or MS Access. -
Comment
-
Yes you can use isNull likeOriginally posted by summiyashaheensql sever. can i use isnull() in expressions to calculate outstanding amount of every purchase?
[CODE=sql]isNull(fieldNam e, Defaultvalue)[/CODE]Comment
Comment