Ad Code

Integer Data Type

Is there "integer" data type exists in database?? can we use it to store numeric data?



Yes there is but it is actually 'int'. Like the following example:

Example

CREATE TABLE Employee ( Emp_id int NOT NULL Primary Key );

Insert into Employee (Emp_id) Values ('20');

Select * from Employee;
Reactions

Post a Comment

0 Comments