for eg if i m getting various inputs from keyboard ie
Book accession number,
Subject code Book_id ,
Author ,
Year of Publication,
Title of the book,
Publisher’s name,
Price,
and i want do validations such that
year of publication must be before 1996, Book_id must be unique, Publisher, Author and the title of the Book cannot be entered blank, Subject code can only be either UNIX or C, The Book accession numbers must be in ascending order,
how do i store all values first and do validations for data types like date