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

121 lines
3.1 KiB
HTML

<HTML>
<HEAD>
<TITLE> MySQLMan Help - Properties</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1><font face="Verdana, Arial, Helvetica">MySQLMan Help</font></H1>
<TABLE width=100%>
<TR>
<TD align="right" valign="top">
<HR>
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=toolbar"><font face="Verdana, Arial, Helvetica" size="2">Tool bar</font></a>
</B>
&nbsp;&nbsp;&nbsp;
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=home"><font face="Verdana, Arial, Helvetica" size="2">HOME</font></a>
</B>
</TD>
</TR>
</TABLE>
<TABLE width=100% cellpadding=20>
<TR><TD>
<H2><font face="Verdana, Arial, Helvetica">Properties</font></H2>
<FONT face="Verdana, Arial, Helvetica" size="2">
<P>
You can see the property of a table by following the "properties" link in
<a href="<%script_url%>?<%do_param%>=help&help_topic=table_list">table list</a> or <a href="<%script_url%>?<%do_param%>=help&help_topic=toolbar">tool bar</a>. Two
tables will be displayed in the the page: property table and key table.
</P>
<UL>
<li>
<B>Property Table</B>
<BR>The table shows the result of a DESCRIBE <I>table_name</I> query. You can find the
following functions available at the end of each field in the property table:
<P>
<UL>
<a href="<%script_url%>?<%do_param%>=help&help_topic=col_def_change"><B>Change</B></a>
<BR>Change column definition
<P>
<B>Drop</B>
<BR>Remove the column from the table.
<BR><font color="green">(action will be confirmed)</font>
<P>
<B>Primary</B></a>
<BR>Set the column as the primary key for the table.
<P>
Please note that if you need a primary key consisting of two or more columns, you will need to specify it when
creating the table in MySQLMan. If there is a primary key already existed in the table, then you will receive the
error message <I>Duplicate key name 'key_name'</I>.
<P>
Also, if you set a column as the primary by clicking "primary", the column will be set to NOT NULL automatically.
<P>
<B>Index</B>
<BR>Set the column as a index key for the table.
<P>
<B>Unique</B>
<BR>Set the column as a unique key for the table.
</UL>
</P>
</li>
<P>
<li>
<B>Key Table</B>
<BR>A key table will be shown here as well if there are any keys defined in the table.
<P>
<UL>
<B>Droppign a key</B>
<BR>A key can be dropped by clicking on "Drop". <font color="red">Please note that you will not be prompted to
confirm the action to drop</font>.
</UL>
</P>
</li>
</UL>
</FONT>
</TD>
</TR>
</TABLE>
<TABLE width=100%>
<TR>
<TD align="right" valign="top">
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=toolbar"><font face="Verdana, Arial, Helvetica" size="2">Tool bar</font></a>
</B>
&nbsp;&nbsp;&nbsp;
<B>
<a href="<%script_url%>?<%do_param%>=help&help_topic=home"><font face="Verdana, Arial, Helvetica" size="2">HOME</font></a>
</B>
<HR>
</TD>
</TR>
<TR>
<TD>
<font face="Verdana, Arial, Helvetica" size="2">
Related topics:
<a href="<%script_url%>?<%do_param%>=help&help_topic=col_def_change">Change column definition</a> ,
<a href="<%script_url%>?<%do_param%>=help&help_topic=table_list">Table List</a>
</font>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>