Bookmark Topic Watch Topic
  • New Topic

sql doubt

 
RabiDas Sharma
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi everyone
please explain he meaning of following sql command

alter table Customers add check(Credit_Limit<10001);

and this is the customer table---

create table Customers
(
CustNo number(4) primary key,
First_Name varchar2(30) not null,
Last_Name varchar2(30) not null,
CustType char(1) not null,
Credit_Limit number(7,2),
Credit_Card_No number(16),
Credit_Card_Type varchar2(8)
);
 
    Bookmark Topic Watch Topic
  • New Topic