Question

Java

Customers Table CustomerlD FirstName LastName Address City State Repeat Mays 1001 1002 1003 John Sally Michael Brake 100 Walk

Your database management tool lists the data type of the State column as “Var Char (255)”. Why is that a problem?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

State column as “Var Char (255)” . why ?

Data type of state column is shown as var char(255). because State column contains string values. string "NE" is given there in state column. since database management tool is showing the type of state.

var char is used to store string or text. it is a variable size character data type. its maximum length is 255 which is shown inside the bracket that you can vary.

***************END************PLS GIVE ME UPVOTE*****************

Add a comment
Know the answer?
Add Answer to:
Java Your database management tool lists the data type of the State column as “Var Char...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Oracle only database: DROP TABLE ORDERITEMS; DROP TABLE Orders; DROP TABLE BOOKAUTHOR; DRO...

    oracle only database: DROP TABLE ORDERITEMS; DROP TABLE Orders; DROP TABLE BOOKAUTHOR; DROP TABLE BOOKS; DROP TABLE PROMOTION; DROP TABLE AUTHOR; DROP TABLE CUSTOMERS; DROP TABLE PUBLISHER; CREATE TABLE Customers ( Customer# NUMBER(4), LastName VARCHAR2(10) NOT NULL, FirstName VARCHAR2(10) NOT NULL, Email VARCHAR(40), Address VARCHAR2(20), City VARCHAR2(12), State VARCHAR2(2), Zip VARCHAR2(5), Referred NUMBER(4), Region CHAR(2), CONSTRAINT customers_customer#_pk PRIMARY KEY(customer#) ); INSERT INTO CUSTOMERS VALUES (1001, 'MORALES', 'BONITA', 'bomor@gmail.com', 'P.O. BOX 651', 'EASTPOINT', 'FL', '32328', NULL, 'SE'); INSERT INTO CUSTOMERS VALUES...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT