-
how to make this query?
Hello all,
I have the following table:
create table Sale(
bankname char(8) null,
controlename char(10) not null,
creditcardnummer numeric(19) null,
username char(10) not null,
accountnummer numeric(7) null,
constraint pk_username primary key(username)
)
I want to make a case/trigger where the following happens:
If the word "Creditcard" has been inserted in controlename then creditnummer must contain numbers else it will be NULL.
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|