Question : Database

I was wondering,
When we declare a column say

Employee_Name varchar(100)

Does it mean that for each record 100 character would be blocked
in the database memory irrespective of the actual length of the
employee  or the number just represent the maximum size.

The memory taken up will depend on the employee name

If the later is true then what should prevent us from giving
huge numbers in those brackets??


Answer : Database

>Does it mean that for each record 100 character would be blocked
no. that would be if you had written:

Employee_Name char(100)
Random Solutions  
 
programming4us programming4us