Saved Bookmarks
| 1. |
While creating a table named “Employee”, Mr. Rishi got confused as which data type he should chose for the column “EName” out of char and varchar. Help him in choosing the right data type to store employee name. Give valid justification for the same. |
|
Answer» Varchar would be the suitable data type for EName column as char data type is a fixed length data type while varchar is a variable length data type. Any employee‟s name will be of variable length so it‟s advisable to choose varchar over char data type. |
|