
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
	<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head><card id="MainCard" title="&#x6B22;&#x8FCE;&#x5149;&#x4E34;"><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a><br/>&nbsp;</p><p><b>&#x6807;&#x9898;&#x3A;</b> &#x83B7;&#x53D6;&#x4D;&#x53;&#x53;&#x51;&#x4C;&#x6240;&#x6709;&#x6570;&#x636E;&#x5E93;&#x540D;&#x3001;&#x6240;&#x6709;&#x8868;&#x540D;&#x3001;&#x6240;&#x6709;&#x5B57;&#x6BB5;&#x540D;</p><p><b>&#x4F5C;&#x8005;&#x3A;</b> &#x64;&#x6E;&#x61;&#x77;&#x6F;</p><p><b>&#x65E5;&#x671F;&#x3A;</b> &#x32;&#x30;&#x30;&#x38;&#x2D;&#x30;&#x36;&#x2D;&#x30;&#x37;&#x20;&#x31;&#x30;&#x3A;&#x30;&#x30;&#x20;&#x41;&#x4D;</p><p><b>&#x5206;&#x7C7B;&#x3A;</b> <a href="wap.asp?do=showLog&amp;cateID=5">&#x57;&#x65;&#x62;&#x7F16;&#x7A0B;</a></p><p><b>&#x5185;&#x5BB9;&#x3A;</b> &#x2460;.&#x83B7;&#x53D6;&#x6240;&#x6709;&#x5E93;&#x540D;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;sel&#101;ct name from master..sysdatabases o&#114;der by name<br/>&#x2461;.&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x5E93;&#x6240;&#x6709;&#x8868;&#x540D;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;sel&#101;ct name from sysobjects wh&#101;re xtype=&#39;U&#39; o&#114;der by name<br/>XType=&#39;U&#39;:&#x8868;&#x793A;&#x6240;&#x6709;&#x7528;&#x6237;&#x8868;; XType=&#39;S&#39;:&#x8868;&#x793A;&#x6240;&#x6709;&#x7CFB;&#x7EDF;&#x8868;; <br/>&#x2462;.&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x8868;&#x6240;&#x6709;&#x5B57;&#x6BB5;&#x540D;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;sel&#101;ct name from syscolumns wh&#101;re id=Object_Id(&#39;TableName&#39;)<br/>&#x2463;.&#x83B7;&#x53D6;&#x6307;&#x5B9A;&#x8868;&#x4E3B;&#x952E;&#xFF0C;&#x6240;&#x6709;&#x5B57;&#x6BB5;&#x6570;&#x636E;&#x7C7B;&#x578B;&#x3001;&#x957F;&#x5EA6;&#x3001;&#x5141;&#x8BB8;&#x7A7A;&#x3001;&#x9ED8;&#x8BA4;&#x503C;&#x3001;&#x8BF4;&#x660E;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;Sel&#101;ct<br/>a.Name as Caption, --&#x5217;&#x540D;<br/>(CASE WHEN (Sel&#101;ct count(*) FROM sysobjects Wh&#101;re <br/>(name in (Sel&#101;ct name FROM sysindexes Wh&#101;re (id = a.id)<br/>AND (indid in (Sel&#101;ct indid FROM sysindexkeys Wh&#101;re (id = a.id)<br/>AND (colid in (Sel&#101;ct colid FROM syscolumns Wh&#101;re (id = a.id)<br/>AND (name = a.name)))))))<br/>AND (xtype = &#39;PK&#39; ))&gt;0 then 1 else 0 end) as IsPrimaryKeyMember, --&#x4E3B;&#x952E;<br/>b.name as DataType, --&#x6570;&#x636E;&#x7C7B;&#x578B;<br/>a.Length as [Size], --&#x957F;&#x5EA6;<br/>(case when a.isnullable=1 then 1 else 0 end) as AllowDBNull, --&#x5141;&#x8BB8;&#x7A7A;<br/>isnull(e.text,&#39;&#39;) as DefaultValue, --&#x9ED8;&#x8BA4;&#x503C;<br/>isnull(g.[value],&#39;&#39; ) AS Description --&#x8BF4;&#x660E;<br/>FROM syscolumns a<br/>LEFT JOIN systypes b ON a.xtype=b.xusertype<br/>INNER JOIN sysobjects d ON a.id=d.id and d.xtype=&#39;U&#39; and d.name&lt;&gt; &#39;dtproperties&#39;<br/>LEFT JOIN syscomments e ON a.cdefault=e.id<br/>LEFT JOIN sys.extended_properties g ON a.id=g.major_id AND a.colid = g.minor_id<br/>Wh&#101;re d.name=&#39;Person&#39;<br/>o&#114;DER BY a.id,a.colorder</p><p> + <a href="#CommentCard">&#x67E5;&#x770B;&#x5F53;&#x524D;&#x65E5;&#x5FD7;&#x8BC4;&#x8BBA;</a> (0)</p><p>&nbsp;<br/><br/><a href="wap.asp?do=Login">&#x767B;&#x5F55;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.633&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="postCommentCard"><p><b>&#x6807;&#x9898;&#x3A;</b> <a href="#MainCard">&#x83B7;&#x53D6;&#x4D;&#x53;&#x53;&#x51;&#x4C;&#x6240;&#x6709;&#x6570;&#x636E;&#x5E93;&#x540D;&#x3001;&#x6240;&#x6709;&#x8868;&#x540D;&#x3001;&#x6240;&#x6709;&#x5B57;&#x6BB5;&#x540D;</a></p><p><br/>你没有权限发表评论</p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.633&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="CommentCard"><p>&#x6682;&#x65E0;&#x8BC4;&#x8BBA;</p><p><a href="#MainCard">&#x8FD4;&#x56DE;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.633&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card>
</wml>
