Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does a row get relocated if a column with NULL is updated with a value

Status
Not open for further replies.

HenryMonster

Programmer
Feb 21, 2002
74
US
Hi All,

Does anyone know the answer to this:

say there is a nullable column in a table;
the column type is DAYTIME; there is a record
sitting in the table where this column is NULL;
now we update the record changing just this
particular column giving it some not-null value;

question: will mySql relocate this record inside the
table thus leaving a hole or it will use the original
record space ?


Thank you in advance !

Henry M.
 
It will update your original record leving it intact except your updated column. Dave
ToeShot@Hotmail.com
Today Is Tomorrows Yesterday. So Why Wait
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top