हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

What is the advantage of declaring a column as “INTEGER PRIMARY KEY” - Computer Science

Advertisements
Advertisements

प्रश्न

What is the advantage of declaring a column as “INTEGER PRIMARY KEY”

टिप्पणी लिखिए

उत्तर

If a column of a table is declared to be an INTEGER PRIMARY KEY, then whenever a NULL will be used as an input for this column, the NULL will be automatically converted into an integer which will one larger than the highest value so far used in that column. If the table is empty, the value 1 will be used.

shaalaa.com
Querying a Date Column
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 15: Data manipulation through SQL - Evaluation [पृष्ठ ३१८]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 15 Data manipulation through SQL
Evaluation | Q 3. | पृष्ठ ३१८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×