meljun cortes data types

32
NUMBER Field Size: BYTE Description: stores numbers from 0 to 255 no fractions Decimal precision: None Storage size: 1 byte MELJUN CORTES MELJUN CORTES Data Types

Upload: meljun-cortes

Post on 16-Feb-2017

163 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: MELJUN CORTES data types

NUMBER Field Size: BYTEDescription: stores numbers from 0 to 255 no fractions

Decimal precision: None

Storage size: 1 byte

MELJUN CORTESMELJUN CORTES

Data Type

s

Page 2: MELJUN CORTES data types

NUMBER Field Size: DECIMALDescription: stores numbers from –10^38-1 thru 10^38-1

Decimal precision: 28

Storage size: 12 bytes

Page 3: MELJUN CORTES data types

NUMBER Field Size: INTEGERDescription: stores numbers from –32,768 to 32,768 no fractions

Decimal precision: None

Storage size: 2 bytes

Page 4: MELJUN CORTES data types

NUMBER Field Size: LONG INTEGERDescription: default stores numbers from –2,147,483,648 to

2,147,483,647 no fractions

Decimal precision: None

Storage size: 4 bytes

Page 5: MELJUN CORTES data types

NUMBER Field Size: SINGLEDescription: from –3.402823E38 to -1.401298E-45 for negative

values from 1.401298E-45 to 3.402823E38 for positive

valuesDecimal precision: 7

Storage size: 4 bytes

Page 6: MELJUN CORTES data types

NUMBER Field Size: DOUBLEDescription: stores numbers -1.79769313486231E308 through

-4.94065645841247E-324 for negative values stores numbers 4.94065645841247E-324 through

1.79769313486231E308 for positive valuesDecimal precision: 15

Storage size: 8 bytes

Page 7: MELJUN CORTES data types

NUMBER Field Size: REPLICATION ID

Description: Also referred to as GUID (Globally unique

identifier) A 16-byte field used to establish a unique

identification for replication Used to identify replicas, replica sets, tables,

records, and other objectsStorage size: 16 bytes

Page 8: MELJUN CORTES data types

NUMBER Format: GENERAL NUMBER

Description:defaultdisplay the number as enteredData:3456.789Display:3456.789

Page 9: MELJUN CORTES data types

NUMBER Format: CURRENCYDescription: Uses the thousand separator, e.g., a

character that separates units of text or number

Data: 3456.789 -3456.789

Display: $3,456.79 ($3,456.79)

Page 10: MELJUN CORTES data types

NUMBER Format: FIXEDDescription:Display at least one digit

Data: 3456.789 -3456.789 3.56645

Display:3456.79 -3456.79 3.57

Page 11: MELJUN CORTES data types

NUMBER Format: STANDARDDescription:Uses the thousand separatorData:3456.789Display:3,456.79

Page 12: MELJUN CORTES data types

NUMBER Format: PERCENTDescription:Multiply the value by 100 and append a

percent sign (%)Data:3 0.45Display:300% 45%

Page 13: MELJUN CORTES data types

NUMBER Format: SCIENTIFICDescription:Uses the standard scientific notationData:3456.789Display:3.46E+03

Page 14: MELJUN CORTES data types

DATE/TIME Format:GENERAL DATE

Description:DefaultCombination of Short Date and Long

time

Example4/3/93, 05:34:00 PM

Page 15: MELJUN CORTES data types

DATE/TIME Format:LONG DATE

Description:Same as the Long Date setting in

the Regional Settings Properties dialog box in Windows Control Panel

ExampleSaturday, April 3, 1993

Page 16: MELJUN CORTES data types

DATE/TIME Format:MEDIUM DATE

Description:Format d-mmm-yy

Example3-Apr-93

Page 17: MELJUN CORTES data types

DATE/TIME Format:SHORT DATE

Description: Same as the Short Date setting in the Regional

Settings Properties dialog box in Windows Control Panel

Example 4/3/93

Note: 1/1/00 – 12/31/29 year 2000 to 2029 1/1/30 – 12/31/99 year 1930 to 1999

Page 18: MELJUN CORTES data types

DATE/TIME Format:LONG TIME

Description:Same as the setting on Time tab in

the Regional Settings Properties dialog box in Window Control Panel

Example5:34:23 PM

Page 19: MELJUN CORTES data types

DATE/TIME Format:MEDIUM TIME

Description:Long time minus the seconds partOrdinary AM/PM time

Example5:34 PM

Page 20: MELJUN CORTES data types

DATE/TIME Format:SHORT TIME

Description:Military time without the seconds

part

Example17:34

Page 21: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

: Time separator/ Date separatorc Same as the General date

predefined format

Page 22: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

d day of the month: 1 to 31dd day of the month: 01 to 31ddd 3-letter weekday: Sun to Satdddd full name weekday: Sundayddddd Short date predefined formatdddddd Long date predefined format

Page 23: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

m month of the year: 1 to 12mm month of the year: 01 to 12mmm3-letter month: Jan to Decmmmm full name month: Januaryw day of the week: 1 to 7ww week of the year: 1 to 53

Page 24: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

y day of the year: 1 to 366yy last 2 digits of year: 01 to 99yyyy full year: 0100 to 9999q quarter of the year: 1 to 4

Page 25: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

h hour: 0 to 23hh hour: 00 to 23n minute: 0 to 59nn minute: 00 to 59s second: 0 to 59ss second: 00 to 59

Page 26: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

AM/PM 12-hour uppercaseam/pm 12-hour lowercaseA/P 12-hour uppercasea/p 12-hour lowercase

Page 27: MELJUN CORTES data types

DATE/TIME Format:CUSTOM FORMAT

ddd”,”mmm d”,”yyyyMon,Jun 2,1997

mmmm dd”,”yyyyJune 02,1997

“This is week number “wwThis is week number 22

“Today is “ddddToday is Tuesday

Page 28: MELJUN CORTES data types

TEXT and MEMO Format

@ Text character (either a characteror a space) is required

& Text character is not required< Force all characters to lowercase> Force all characters to uppercase

Page 29: MELJUN CORTES data types

TEXT and MEMO Format

Format Data Display

@@@-@@-@@@@ 465043799 465-04-3799

> davolioDAVOLIODavolio

DAVOLIODAVOLIODAVOLIO

< davolioDAVOLIODavolio

davoliodavoliodavolio

Page 30: MELJUN CORTES data types

INPUT MASK

a property field that allows you to set the form of data you expect the record to display for a particular field.

Page 31: MELJUN CORTES data types

INPUT MASKL letter should be entered in the positionA letter or digit must be entereda optional letter or digit can be enteredC optional character or space0 digit must be entered9 optional digit or space< convert character to lowercase> convert character to uppercase

Page 32: MELJUN CORTES data types

INPUT MASK

:;-/ placeholder or character separator# digit, space, -, or + sign can be

entered& character or space must be entered? optional letter can be entered