Hi Guys
Maybe an easy question, but I don't know how to do it....
I have a SQL Table that is filled from an External Application. What I like to do is the next:
I Have a field from this Table that now is filled with "NA" in every new record, this "NA" comes from the Default value on the SQL Table on this field (Because the application doesn't fill this field)
How can I tell this field that every record instead of NA put another value, but with a conditional, I mean where other key field is equal to something? Some fields will be with "NA" and others with "MyNewValue" (Depending of the condition)..
Is this one a constraint or something?
Thanks!
Maybe an easy question, but I don't know how to do it....
I have a SQL Table that is filled from an External Application. What I like to do is the next:
I Have a field from this Table that now is filled with "NA" in every new record, this "NA" comes from the Default value on the SQL Table on this field (Because the application doesn't fill this field)
How can I tell this field that every record instead of NA put another value, but with a conditional, I mean where other key field is equal to something? Some fields will be with "NA" and others with "MyNewValue" (Depending of the condition)..
Is this one a constraint or something?
Thanks!