discourse-legacysite-perl/site/slowtwitch.com/cgi-bin/articles/admin/mysqlman/templates/alter_col.html
2024-06-17 21:49:12 +10:00

111 lines
3.0 KiB
HTML

<HTML>
<HEAD><TITLE>
MySQLMan: Change Column Specification
</TITLE></HEAD>
<BODY BGCOLOR="#CCCCCC">
<table border=1 bgcolor="#FFFFFF" cellpadding=5 cellspacing=3 width="100%" align=center valign=top>
<tr><td bgcolor="navy">
<FONT FACE="MS Sans Serif, arial,helvetica" size=1 COLOR="#FFFFFF">
<b>MySQLMan: Change Column Specification</b>
</td></tr>
<tr><td>
<%include header.txt%>
<FORM METHOD="POST" ACTION="<%script_url%>">
<INPUT TYPE="hidden" name="<%do_param%>" VALUE='alter_table'>
<INPUT TYPE="hidden" NAME=data_source VALUE="<%data_source%>">
<INPUT TYPE="hidden" NAME=table VALUE="<%table%>">
<INPUT TYPE="hidden" NAME=col VALUE="<%col%>">
<INPUT TYPE="hidden" NAME=action VALUE="do_alter_col">
<INPUT TYPE="hidden" NAME=num_of_fields VALUE="1">
<table border="2" BGCOLOR="#FFFFCC">
<tr>
<th>Field</th>
<th>Type</th>
<th>Length/Set</th>
<th>Attributes</th>
<th>Null</th>
<th>Default</th>
<th>Extra</th>
</tr>
<tr>
<td width="103" height="1">
<INPUT TYPE="text" NAME="field_0" VALUE="<%field%>">
</td>
<td width="103" height="1" valign="middle" align="center">
<select size="1" name="type_0" VALUE="<%type%>">
<%type_select%>
<option>TINYINT</option>
<option>SMALLINT</option>
<option>MEDIUMINT</option>
<option>INT</option>
<option>BIGINT</option>
<option>FLOAT</option>
<option>DOUBLE</option>
<option>DECIMAL</option>
<option>DATE</option>
<option>DATETIME</option>
<option>TIMESTAMP</option>
<option>TIME</option>
<option>YEAR</option>
<option>CHAR</option>
<option>VARCHAR</option>
<option>TINYBLOB</option>
<option>TINYTEXT</option>
<option>BLOB</option>
<option>TEXT</option>
<option>MEDIUMBLOB</option>
<option>MEDIUMTEXT</option>
<option>LONGBLOB</option>
<option>LONGTEXT</option>
<option>ENUM</option>
<option>SET</option>
</select>
</td>
<td width="103" height="1">
<INPUT TYPE="text" NAME="length_set_0" VALUE="<%length_set%>">
</td>
<td width="103" height="1">
<select size="1" name="attributes_0" VALUE="<%attributes%>">
<%attribute_select%>
<option></option>
<option>BINARY</option>
<option>UNSIGNED</option>
<option>UNSIGNED ZEROFILL</option>
</select>
</td>
<td width="103" height="1">
<select size="1" name="null_0" VALUE="<%null%>">
<%null_select%>
<option>NULL</option>
<option>NOT NULL</option>
</select>
</td>
<td width="103" height="1">
<INPUT TYPE="text" NAME="default_0" VALUE="<%default%>">
</td>
<td width="103" height="1" valign="middle" align="center">
<select size="1" name="extra_0" VALUE="<%extra%>">
<%extra_select%>
<option></option>
<option>AUTO_INCREMENT</option>
</select>
</td>
</tr>
</table><P>
<table>
<tr><td><INPUT TYPE="submit" value=" Update Column Specification ">
</FORM>
</td><td><FORM METHOD="POST" ACTION="<%script_url%>">
<INPUT TYPE="hidden" name="<%do_param%>" VALUE='property'>
<INPUT TYPE="hidden" NAME=data_source VALUE="<%data_source%>">
<INPUT TYPE="hidden" NAME=table VALUE="<%table%>">
<INPUT TYPE="submit" value=" Cancel ">
</FORM></td></table>
</td></tr></table>
</BODY></HTML>