1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vesna [10]
4 years ago
11

Explain why it might be more appropriate to declare an attribute that contains only digits as a character data type instead of a

numeric data type.
Computers and Technology
1 answer:
Alborosie4 years ago
7 0

Answer:

  • There can be string data type and numeric data type to declare the attribute and specify the type of value that can be contained by a column.
  • For example VARCHAR, CHAR etc are examples of commonly used string data types that can hold alphanumeric characters and also special characters.
  • INT, FLOAT, DECIMAL, etc are examples of numeric data types that can hold numerical values. For example you would not want to use numeric data type for name attribute of person entity.
  • However it might be better to declare an attribute that contains only digits as a string data type as character data type can also hold digits.
  • For example a social security number attribute can be declared as character data type instead of numeric data type. Although a social security number only consists of digits but it can be declared as a character data type because there is no need of performing any mathematical operations on a social security number. It is just a combination of digits and it might not need to be subtracted, added, multiplied etc.
  • Another example can be of a phone number. It also is a combination of digits but again there is no need to perform mathematical functions over a phone number attribute. But as we know there are different area codes for different countries, so there might be a need of adding or removing an area code with a phone number. So it is appropriate to declare such an attribute as a character data type.
You might be interested in
1. I write about my travel experiences on my own personal ____?
alekssr [168]

Answer:

Hello There!!

Explanation:

1.blog

2.laptop

hope this helps,have a great day!!

~Pinky~

4 0
3 years ago
What are the benefits of using presentations to organize and deliver information?
bearhunter [10]
Hello.

The benefits of using presentations to organize and deliver information are: it keeps things in order, keeps peoples attention longer, and it looks more professional.
4 0
3 years ago
An employee was watching Jessica, an IT employee, typing in many different confusing terms. Jessica explained that she needed to
zzz [600]

Answer:

Programming and Software Development

Explanation:

8 0
3 years ago
Read 2 more answers
How much do you think it would cost to develop an app?
netineya [11]

It really depends on the type of app. There are lots of free pieces of software but distribution is expensive.

Android - $20 one  time fee

IOS - $99 per year

5 0
3 years ago
Read 2 more answers
why is it important to include keywords that represent each of the essential concepts that make up your research question when y
SpyIntel [72]

Answer:

hi

Explanation: hi

7 0
3 years ago
Other questions:
  • Max needs to study more effectively to get a better grade on his next exam. What can he do to improve his study habits? Check al
    10·2 answers
  • What device consisting of a screen and keyboard was used to connect to a mainframe computer?
    6·1 answer
  • Hey I just got home I got a call back on and my car was in my bed I got a text and I didn’t get my text back from the house I wa
    12·1 answer
  • Write a function called show_info that takes a name, a home city, and a home state (a total of 3 arguments) and returns a full s
    12·1 answer
  • 1. Provide at least two statements that explain the relationship between the position of the Earth and the seasons.
    15·1 answer
  • You load an image file into a numpy array and look at its shape, which is (433, 650). What does this indicate?
    13·1 answer
  • Where can you get information on receiving financial help?
    12·1 answer
  • A type of user interface that features on- screen objects, such a menus and icons, manipulated by a mouse.
    7·1 answer
  • The sum of these 9 numbers is 36. 2, 2, 6, 2, 1, 8, 7, 5, 3 What is the mean of these 9 numbers?
    10·2 answers
  • CISC vs RISC processors might be used, and come up with environments where one processor would outperform the other.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!