Q. What is data type? What are different types of data in MS Access? Write about common field properties used in MS Access. [10]

0
GK SIR
Feb 20, 2023 08:27 AM 0 Answers Database
Member Since Dec 2016
Subscribed Subscribe Not subscribe
Flag(0)

Data type
-Feature of a field that determines what kinds of data can be entered in the field.
- One field can have only one type of data
- It is Also called field type

Data types in MS Access
Based on latest version of MS Access data types available are:
Short Text: Formerly known as 'text' which stores alphanumeric value upto 255 characters
Long Text: Formerly known as 'memo stores alphanumeric value upto 65535 characters
Number: Stores numeric value with size 1, 2, 4, 8 and 16 bytes
Large Number: Numeric data with size 8 bytes, supported by SQL Date/Time: Date/time data with size 8 bytes.
Extended Date/Time: Date / time data with size 42 bytes, supported by SQ1.
Currency: Monetary data with 8 bytes • Autonumber: Unique sequential or random number generated by MS Access with size 4 bytes
Yes/No: Stores Boolean (true/false) data with size 1 bit, stores numeric value o for false, and -1 for tre
OLE Object: Picture, Sound or object with size upto 1GB
Hyperlink: Link to email, URL or file in local network, upto 2048 characters
Attachment: Attaches any document or file in the table, upto 2 GB Calculated: Expression that uses data from other fields.
Lookup Wizard: Displays data from another table in list box or combo box with size 4 bytes

Field Properties
The properties of the field that describes characteristic and behavior of the data to be enter in particular field. Common field properties available in MS Access are:

Field Size: Maximum Number of characters
Format: Appearance of value to be displayed
Input Mask: It specifies a pattern and controls value of records for all data to be entered
Caption: alternate name for the field upto 2048 characters
Default Value: specifies the value entered automatically
Validation Rule: Controls and limits the value to be entered
Validation Text: Text messaged to be displayed when data entered is not matched to validation rule
Required: specifies data must be entered or not
Indexed: speeds up sorting and searching data

Data type
-फिल्डको त्यो विशेषता हो जसले कुनै पनि फिल्डमा कस्तो डाटा राख्न मिल्छ भन्ने कुराको निर्धारण गर्छ ।
- एउटा फिल्डमा एक प्रकारको डाटा मात्र राख्न मिल्छ ।
- यसलाई फिल्ड टाइप पनि भनिन्छ ।

एम एस एक्सेसका डाटा टाइप
एम एस एक्सेसको पछिल्लो संस्करण अनुसार उपलब्ध डाटाका प्रकारहरू यी हुन्
Short Text: पुरानो संस्करणमा Text भनिने । २५५ वटा अक्षरसम्मका अल्फान्यूमेरिक डाटा राख्न मिल्छ
Long Test: पुरानो संस्करणमा 'Memo भनिने ६५५३५ वटा अक्षरसम्मका अल्फान्यूमेरिक डाटा राख्न मिल्छ ।
Number: सांख्यिक डाटा राख्न मिल्छ जसको साइज १, २,४,८ वा १६ बाइटको हुन्छ ।
Large Number: SQL ले सपोर्ट गर्ने सांख्यिक डाटा राख्न मिल्छ जसको साइज ८ बाइट हुन्छ।
Date / Time: मिति र समयका डाटा राख्न मिल्छ जसको साइज बाइट हुन्छ ।
Extended Date / Time: SQL से सपोर्ट गर्ने मिति र समयका डाटा राख्न मिल्छ जसको साइज ४२ वाइट हुन्छ ।
Currency: मौद्रिक डाटालाई राख्न मिल्छ जसको साइज ८ बाइट हुन्छ।
Autonumber: क्रमिक तथा अनियमित युनिक नम्बर सिर्जना गर्छ । यसको साइज ४ बाइटको हुन्छ ।
Yes/No. दुइटा मान नभएको डाटा राख्न सकिन्छ यसलाई एक्सेसले नम्बरको रूपमा सेभ गर्दा false को लागिर true को लागि ले जनाउँछ ।
OLE Object: तस्वीर, संगीत लगायत १ जिबीसम्मका मल्टिमिडया अब्जेक्टहरू राख्न मिल्छ । • Hyperlink] इमेल, वेबसाइट तथा नेटवर्कका फाइलहरूको लिंक राखिन्छ । जुन २०४८ अक्षर सम्मको हुन सक्छ ।
Attachment: २ जिबीसम्मको फाइललाई अट्याच गरेर राख्न मिल्छ ।
Calculated: टेबलमा रहेका अन्य फिल्डका डाटाहरूलाई हिसाब गरेर राख्न सकिन्छ ।
Lookup Wizard: अर्को टेबलको अर्को फिल्डमा भएको डाटालाई इप डाउन लिस्ट बनाएर देखाउन सकिन्छ। यसको साइज ४ वाइट हुन्छ ।

फिल्ड प्रोपर्टिज
फिल्डको विशेषता जसले कुनै पनि फिल्डमा राख्न सकिने डाटाको व्यवहार निर्धारण गर्छ सामान्यतया एक्सेमा प्रयोग हुने फिल्ड प्रोपर्टीहरू निम्नानुसार छन्:
Field Size: राख्न मिल्ने डाटाको अधिकतम साइज निर्धारण गर्छ ।
Format: टेबलमा राखिने डाटाको फम्पाटिङ निर्धारण गर्छ ।
Input Mask: प्रविष्टि गरिने डाटाको ढाँचा निर्धारण गर्छ ।
Caption: फिल्डको वैकल्पिक नाम जुन २०४८ अक्षरसम्मको हुन सक्छ ।
Default Value: कुनै पनि मान नदिँदा अटोमेटिक आउने मान हो ।
Validation Rule: प्रविष्टि गर्न मिल्ने मानलाई निर्धारण गर्छ ।
Validation Test: दिइएको डाटा गलत भएमा सन्देश देखाउने गर्दछ।
Required: डाटा राख्नु अनिवार्य छ कि छैन भनेर निर्धारण गर्छ ।
Indexed: डाटालाई शीघ्र खोज र भेट्टाउन सघाउ पुयाउँछ ।

0 Subscribers
Submit Answer
Please login to submit answer.
0 Answers
Sort By:

Leave a Reply

Your email address will not be published. Required fields are marked *

*