Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Set Default Value

$
0
0

hlw, im a Beginners... i create a table which column name is ID,NAME,SUBJECT,MARKS,STATUS. Now i want to set like this, if i put less than 30 in theMarks column the Status column automatically put 'Fail' and if i put up to 30 in theMarks column the Status column automatically put 'Pass'. Does anyone know how to do that?

THANKS...


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>