Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

sql doubt  RSS feed

 
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)
);
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!