Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

PatelManav
Copy link

No description provided.

Copy link
Owner

@bhumijgupta bhumijgupta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check reviews. Open for your opinion on the same.

@@ -74,7 +74,7 @@ You can directly copy and paste all the commands from the text given here into t
c_pass VARCHAR(10) NOT NULL,
Name VARCHAR(20) NOT NULL,
Address VARCHAR(20) NOT NULL,
Pincode NUMBER(6) NOT NULL,
Pincode int NOT NULL,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A pincode is always of 6 digits, so NUMBER(6) would be a better choice. Open for your opinion.

@@ -92,7 +92,7 @@ You can directly copy and paste all the commands from the text given here into t

CREATE TABLE Seller_Phone_num
(
Phone_num NUMBER(10) NOT NULL,
Phone_num int NOT NULL,
Copy link
Owner

@bhumijgupta bhumijgupta Apr 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A phone number is of 10 digits, NUMBER(10) enforces that constraint. If changed to int, we would also have to add a constraint in schema to make sure that length of Phone_num is 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants