<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span style="color: rgb(61, 60, 64); font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; background-color: rgb(255, 255, 255);">Hi,</span><div><span style="color: rgb(61, 60, 64); font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; background-color: rgb(255, 255, 255);"><br></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;">I’m using this code to add a TEXT field to an existing table</span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;"><br></span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;"> ALTER TABLE table1 ADD newField text DEFAULT '' NOT NULL</span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;"><br></span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;">However, the field that is edited is nullable. How do I add a non-nullable field?</span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;"><br></span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;">Thanks,</span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;"><br></span></font></span></div><div><span style="background-color: rgb(255, 255, 255);"><font color="#3d3c40" face="Lato, sans-serif"><span style="font-size: 15px; line-height: 22px;">Jon</span></font></span></div></body></html>