Question

In: Computer Science

Assignment 2 – Data Types Research and find the best corresponding Data Types for the following...

Assignment 2 – Data Types

Research and find the best corresponding Data Types for the following Microsoft Access Data Types from the Micosoft SQL server as well as MySQL DBMS packages.

MS Access                                MS SQL Server                                      MySQL

Shorttext                                                

Longgtext                                            

Number (Byte)                                     

Number (Integer)                                 

Number (Long Integer)                         

Number (Decimal)   

Number (Double)   

Date/Time   

Currency

Yes/No

Solutions

Expert Solution

MS Access                                MS SQL Server                                      MySQL
Shorttext                                                 A char(size) can be used here Tinytext- Can hold 255 characters
Longgtext                                             varchar(max)Can store 2^31-1 bytes of data Longtext Can hold 2^32-1 bytes of data
Number (Byte)                                      tinyint(-128 to 127) tinyint(-128 to 127)
Number (Integer)                                  Int-----Signed range is from -2147483648 to 2147483647. Unsigned range is from 0 to 4294967295 Int -same
Number (Long Integer)                          BigInt (-2^63 to 2^63-1) BigInt
Number (Decimal)    decimal or numeric can be used l decimal or numeric can be used
Number (Double)    real can be used Double can be used
Date/Time    It has date,datetime,datetime2,smalldatetime,time,datetimeoffset,timestamp are there. The difference is in the data it can hold . It has date,timestamp,time,datetime
Currency It has smallmoney and money. The difference is in the data it can hold Here we can use numeric(15,2)
Yes/No Bit- Stores 1 and 0. True can be converted to 1 and false to 0 There are a multiple ways but tinyint(1) is the most suitable to store 1 and 0, true or false respectively

Related Solutions

Find the data for nominal GDP (GDP current US$) and the data of the corresponding deflators...
Find the data for nominal GDP (GDP current US$) and the data of the corresponding deflators (GDP deflator) for Australia, France, Germany, UK, USA and also the data for the countries of origin of each member of the group from 2000 to 2017. Present the data on a table. a. Present the data on a table b. Calculate the real GDP for all countries and present the data on a table. c. Calculate the growth rate of real GDP and...
Find the line y = b + mx of best fit through the data {(.1, .2),(.2,...
Find the line y = b + mx of best fit through the data {(.1, .2),(.2, .3),(.3, .7),(.5, .2),(.75, .8)}, using the least squares criterion. (Use one of the software tools: Excel, SPSS, Mathematica, or MATLAB to answer the following items, and print out your results directly from the software)
Using 2 examples for each, outline what types of data and processing are best suited to...
Using 2 examples for each, outline what types of data and processing are best suited to raster surface representation and vector surface representation? Justify your answer?
let A =[4 -5 2 -3] find eigenvalues of A find eigenvector of A corresponding to...
let A =[4 -5 2 -3] find eigenvalues of A find eigenvector of A corresponding to eigenvlue in part 1 find matrix D and P such A= PDP^-1 compute A^6
The following pieces of information need to be stored in variables. List the best data types...
The following pieces of information need to be stored in variables. List the best data types to use for the variables. Information to store Best data type Street address Average rainfall Machine error count
Find the characteristic equation and the eigenvalues (and corresponding eigenvectors) of the matrix. 2 −2 5...
Find the characteristic equation and the eigenvalues (and corresponding eigenvectors) of the matrix. 2 −2 5 0 3 −2 0 −1 2 (a) the characteristic equation (b) the eigenvalues (Enter your answers from smallest to largest.) (λ1, λ2, λ3) = the corresponding eigenvectors x1 = x2 = x3 =
Find all eigenvalues and their corresponding eigenspaces of the following matrix.
Find all eigenvalues and their corresponding eigenspaces of the following matrix. B=\( \begin{pmatrix}2&-3&1\\ 1&-2&1\\ 1&-3&2\end{pmatrix} \)
Find all eigenvalues and their corresponding eigenspaces of the following matrix.
Find all eigenvalues and their corresponding eigenspaces of the following matrix. A.\( \begin{pmatrix}3&0\\ 1&2\end{pmatrix} \)
Discuss the following types of quantitative research (1) Narrative research (2)phenomenology research (3) action research (4)...
Discuss the following types of quantitative research (1) Narrative research (2)phenomenology research (3) action research (4) ethnographical research (5) historical research
Discuss the following types of quantitative research (1) Narrative research (2)phenomenology research (3) action research (4)...
Discuss the following types of quantitative research (1) Narrative research (2)phenomenology research (3) action research (4) ethnographical research (5) historical research
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT