???????? - ??????? http://www.haxv.top/ ??????? zh-cn http://www.haxv.top Copyright 2010 http://www.haxv.top, All Rights Reserved 2016/5/23 0:10:06 [SQL Server]2000w???????????bak?????????? http://www.haxv.top//tech/5262.html www.haxv.top SQL Server 2015/12/11 22:22:41 <p><strong>2000w???????????bak??????????</strong></p><p>???????bak?????SQL??????????????????SQL??????????????</p><p>???????????</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/201310211017790010.jpg"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110172410237.jpg"/></p><p>???????????7GB+</p><p>1??????SQL server 2012 express(????????)</p><p>2??????????&quot;??°??&quot;;</p><p>3???? SQL server management studio</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/201310211018157426.jpg"/></p><p>4????????????&quot;?????&quot;-----&quot;????????&quot;;</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110184473942.jpg"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110184840320.jpg"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110185142957.jpg"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/201310211019516896.jpg"/></p><p>???????---??????</p><p>????????????????</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110194960251.jpg"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/201310211020222709.jpg"/></p><p>????????????1000?У????????????</p><p>????????????Щ?????????????1000?е????</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110204597060.jpg"/></p><p>??????????? ??? top 1000</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/201310211021823284.jpg"/></p><p>???????</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110214051228.jpg"/></p><p>?????????</p><p>???????????</p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110232149079.png"/></p><p><img border="0" alt="2000w???????????bak??????????" src="http://pic.downcc.com/upload/tech/UploadPic/2014-4/2013102110234156975.jpg"/></p><p>???&quot;???&quot;;</p><p>???????????</p><p>????ssd????????????10???????????????λ????????ɡ?</p> [SQL Server]Win7 ??????SQL Server 2008??????????? http://www.haxv.top//tech/4135.html downcc.com SQL Server 2015/6/14 23:26:38 <p>?????????????????SQL Server 2008?????Web?????????????Щ??飬?????????????????????????????????SQL Server 2008?????????????????裬???????????????????????????????????????Σ???????????????????????????????????????????&quot;??????δ??????????&quot;?????????????????涼??????????????????????????????????SQL Server2008?????????ж???????360?????????????????????????????????&quot;???????????????&quot;???????????????????????????????????????????????Administrator?????</p><p>1??????????????setup.exe????????????????&quot;???????????????&quot;????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143624635.jpg"/></p><p>2?????????????????е?setup.exe???????????????????&quot;SQL Server???????&quot;?????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143624221.jpg"/></p><p>3??????????????????????&quot;???SQL Server??????????????а????????&quot;???????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143624589.jpg"/></p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143627982.jpg"/></p><p>4???????&quot;SQL Server 2008???????&quot;??????У?????&quot;?????????????&quot;?????????????Щ???????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143627363.jpg"/></p><p>5?????????????????????????????????????????????????????????&quot;JD8Y6-HQG69-P9H84-XDTPG-34MBB&quot;???????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143627706.jpg"/></p><p>6??????????????????????????&quot;????????????&quot;????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143628566.jpg"/></p><p>7????????&quot;?????????????&quot;????У?????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143628404.jpg"/></p><p>8????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143629399.jpg"/></p><p>9??????????&quot;?????????????&quot;??棬??з??????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143629172.jpg"/></p><p>10????&quot;???????&quot;????У?????????????????ù??????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143629618.jpg"/></p><p>11????&quot;???????&quot;????У????????????????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143630117.jpg"/></p><p>12????&quot;?????????&quot;????У?????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143630647.jpg"/></p><p>13????&quot;??????????&quot;????У??????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143630414.jpg"/></p><p>14????&quot;?????????????&quot;????У??????????????????????????????????????????sa??????????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143631525.jpg"/></p><p>15????&quot;Analysis Services????&quot;????У?????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143632336.jpg"/></p><p>16????&quot;Reporting Services????&quot;????У????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143632464.jpg"/></p><p>17????&quot;???????????????&quot;????У?????????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143632704.jpg"/></p><p>18????&quot;???????&quot;????У??????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143632914.jpg"/></p><p>19????&quot;??????&quot;????У?????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143632870.jpg"/></p><p>20????&quot;???????&quot;????У??????????????SQL Server 2008??????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633942.jpg"/></p><p>21????????????????SQL Server 2008?????????????????д?????????δ?????????????????????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633504.jpg"/></p><p>22????&quot;???&quot;????У????????&quot;SQL Server 2008??????????&quot;?????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633852.jpg"/></p><p>23?????SQL Server 2008,????????е?Microsoft SQL Server 2008?μ?SQL Server???ù??????????SQL Server????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633357.jpg"/></p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633505.jpg"/></p><p>24???????????????????????????????????е????SQL Server Manager Studio????????????????????????????????</p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633115.jpg"/></p><p><img style="CURSOR: hand" alt="Win7 ??????SQL Server 2008???????????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143633733.jpg"/></p><p>????</p> [SQL Server]SQL Server ????15023????????????????? http://www.haxv.top//tech/5432.html ???????? SQL Server 2015/5/5 11:45:42 <p><strong>SQL Server????15023:??????????????????????</strong></p><p>????????????????????????????????, ?????&quot;???&quot;???????&quot;???&quot;?????????,???????? ??????15023:????????????????????????</p><p><img alt="SQL Server ????15023?????????????????" src="/upload/2015-5/2015050511435047663.png" width="503" height="96"/></p><p><strong>???</strong></p><p>sql server?С?????????????????????????????????????????????????????????????????????????????????????????? (SID) ?????????????????????????????????????????а???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????SQL Server??????????15023:????????????????????????</p><p><strong>?????</strong></p><p>??????????????????????洢????sp_change_users_login???????÷????£?</p><p>Use Northwind<br/>go<br/>sp_change_users_login &#39;update_one&#39;, &#39;test&#39;, &#39;test&#39;<br/>????Northwind??????????????????update_one??洢??????????????????????????????test???????????????test?????????????????SQL????????????????test???? Northwind ??????????test????????????????????????????????????????</p> [SQL Server]MS SQL ??????????????????? http://www.haxv.top//tech/4117.html downcc.com SQL Server 2015/4/5 17:12:57 <p>??MS SQL ?о???????? xxxx_log.ldf ??????????</p><p>????????G??????G??????????????????????????????°?????????????????</p><p>???????????????????????</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/soft/UploadPic/2012-8/2012861112352053.jpg"/></p><p><table style="BORDER-BOTTOM: 0px; TEXT-ALIGN: left; BORDER-LEFT: 0px; LINE-HEIGHT: 18px; MARGIN: 10px auto; BORDER-SPACING: 1px; WIDTH: 400px; BORDER-COLLAPSE: separate; BACKGROUND: #000; COLOR: #333; FONT-SIZE: 12px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" cellspacing="1"><tbody><tr class="firstRow"><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; WIDTH: 100px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #ffffff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">SQL??????????</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????汾??</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">?????</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">?????С??</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">315KB</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">????</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">WinXP, WinAll</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px"><a style="COLOR: #d50000; FONT-WEIGHT: bold; TEXT-DECORATION: underline" href="http://www.haxv.top/soft/10995.html">SQL??????????</a></td></tr></tbody></table></p><p>&nbsp;?????????С?????????????????????????????????????????????С???????????????</p><p>???????????????????????????????????</p><p><strong>????????????????:</strong></p><p><br/>1?????????????????????????????????????<br/>2???????????<br/>3???????????????????????????????????????</p> [SQL Server]?????????????SQL SERVER??????????????????????? http://www.haxv.top//tech/4335.html www.haxv.top SQL Server 2015/4/4 23:47:03 <p>?????????????SQL Server???й????г????????????????MSSQLSERVER?????????????????Щ???????????????????????????????????????</p><p>????ASP???л????????????Windows XP SP2??IIS??汾?????5.1????????SQL Server 2005(MDAC?汾?2.8)</p><p>???????????????????MSSQLSERVER?????????????????Щ??????????????????????????????</p><p>1.???--&gt;??????????--&gt;????</p><p>2.???SQL Server??MSSQLSERVER ?? 3.????????????????MSSQLSERVER?????????????????Щ??????????????????????????????</p><p>????????????????????MSSQLSERVER?????????????????Щ??????????????????????????????</p><p>1.??SQL Server 2005?е????ù???SQL Server Configure Manager????VIAЭ?????</p><p>2.???????SQL Server??MSSQLSERVER ??????? ?????????????MSSQLSERVER?????????????????Щ???????????????????????????????????</p> [MySQL]ubuntu?°????mysql 5 server????root????????? http://www.haxv.top//tech/4275.html www.haxv.top MySQL 2015/4/4 23:44:10 <p>??ubuntu?°????mysql 5 server,??????????????????????root???????????????????ζ????????????????????????????????????mysql??root?????????????£????????·??????????????root???????<br/><br/>ubuntu?°????mysql5 server ??????root?????????????????root???????</p><p>??mysql????</p><p>????????:</p><pre>root@webserver:/home/webmaster#&nbsp;service&nbsp;mysql&nbsp;stop</pre><p>??????ú???????????????′??????mysql????</p><p>????????:</p><pre>root@webserver:/home/webmaster#&nbsp;mysqld&nbsp;--user=mysql&nbsp;--skip-grant-tables&nbsp;--skip-networking&nbsp;&amp;</pre><p>??????????PID????????????</p><p>????????:</p><pre>[1]&nbsp;3591&nbsp;&nbsp;&nbsp;root@webserver:/home/webmaster#&nbsp;121005&nbsp;2:59:27&nbsp;[Note]&nbsp;Plugin&nbsp;&#39;FEDERATED&#39;&nbsp;is&nbsp;disabled.&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;The&nbsp;InnoDB&nbsp;memory&nbsp;heap&nbsp;is&nbsp;disabled&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;Mutexes&nbsp;and&nbsp;rw_locks&nbsp;use&nbsp;GCC&nbsp;atomic&nbsp;builtins&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;Compressed&nbsp;tables&nbsp;use&nbsp;zlib&nbsp;1.2.3.4&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;Initializing&nbsp;buffer&nbsp;pool,&nbsp;size&nbsp;=&nbsp;128.0M&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;Completed&nbsp;initialization&nbsp;of&nbsp;buffer&nbsp;pool&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;highest&nbsp;supported&nbsp;file&nbsp;format&nbsp;is&nbsp;Barracuda.&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:27&nbsp;InnoDB:&nbsp;Waiting&nbsp;for&nbsp;the&nbsp;background&nbsp;threads&nbsp;to&nbsp;start&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:28&nbsp;InnoDB:&nbsp;1.1.8&nbsp;started;&nbsp;log&nbsp;sequence&nbsp;number&nbsp;1595685&nbsp;&nbsp;&nbsp;121005&nbsp;2:59:28&nbsp;[Note]&nbsp;mysqld:&nbsp;ready&nbsp;for&nbsp;connections.&nbsp;&nbsp;&nbsp;Version:&nbsp;&#39;5.5.24-0ubuntu0.12.04.1&#39;&nbsp;socket:&nbsp;&#39;/var/run/mysqld/mysqld.sock&#39;&nbsp;port:&nbsp;0&nbsp;(Ubuntu)</pre><p><br/>?????mysql????</p><p>????????:</p><pre>root@webserver:/home/webmaster#&nbsp;mysql&nbsp;-u&nbsp;root&nbsp;mysql</pre><p>?????mysql?????????root??????????μ?????&#39;mynewpasswd&#39;:</p><p>????????:<br/>&nbsp;</p><pre>Type&nbsp;&#39;help;&#39;&nbsp;or&nbsp;&#39;\h&#39;&nbsp;for&nbsp;help.&nbsp;Type&nbsp;&#39;\c&#39;&nbsp;to&nbsp;clear&nbsp;the&nbsp;current&nbsp;input&nbsp;statement.&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt;&nbsp;update&nbsp;user&nbsp;set&nbsp;Password=PASSWORD(&#39;mynewpasswd&#39;)&nbsp;where&nbsp;user=&#39;root&#39;;&nbsp;&nbsp;&nbsp;Query&nbsp;OK,&nbsp;3&nbsp;rows&nbsp;affected&nbsp;(0.00&nbsp;sec)&nbsp;&nbsp;&nbsp;Rows&nbsp;matched:&nbsp;3&nbsp;Changed:&nbsp;3&nbsp;Warnings:&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt;&nbsp;FLUSH&nbsp;PRIVILEGES;&nbsp;&nbsp;&nbsp;mysql&gt;&nbsp;quit;&nbsp;&nbsp;&nbsp;Bye</pre><p>???mysql???????(PID 3591?????????????????????)?? <br/>????????:<br/>&nbsp;</p><pre>root@webserver:/home/webmaster#&nbsp;kill&nbsp;3591</pre><p>??????? mysql????????????????mysql??????????? <br/>????????:<br/>&nbsp;</p><pre>root@webserver:/home/webmaster#service&nbsp;mysql&nbsp;start&nbsp;&nbsp;&nbsp; root@webserver:/home/webmaster#mysql&nbsp;-u&nbsp;root&nbsp;-pmynewpasswd</pre> [Oracle]ORA-18008: cannot find OUTLN schema????????? http://www.haxv.top//tech/4154.html downcc.com Oracle 2015/4/4 23:34:49 <p><strong>???????????ORA-18008: cannot find OUTLN schema</strong></p><p><strong>????????<br/></strong>?????汾 Oracle 11g r2<br/>hrdb1&gt;startup<br/>Oracle ????????????</p><p>Total System Global Area 4392697856 bytes-<br/>&nbsp;</p><p>Fixed Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2233616 bytes<br/>Variable Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1090521840 bytes<br/>Database Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3288334336 bytes<br/>Redo Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11608064 bytes<br/>????????????<br/>ORA-01092: Oracle instance terminated. Disconnection forced<br/>ORA-18008: cannot find OUTLN schema<br/>???? ID: 5294<br/>?? ID: 683 ???к?: 3</p><p><br/>hrdb1&gt;!oerr ora 18008<br/>18008, 00000, &quot;cannot find OUTLN schema&quot;<br/>// *Cause:&nbsp; The database creation script that creates this schema must not<br/>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; have been executed.<br/>// *Action: Review the log files to see what happened when the database<br/>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; was created.</p><p><strong>???????<br/>outlin??????????</strong></p><p><strong>?????????</strong></p><p>????metalink??????????????replication_dependency_tracking??????????????outln????????????ɡ?</p><p>1???????mount???????replication_dependency_tracking????<br/>alter system set replication_dependency_tracking =false scope=spfile;</p><p>2????????????open??<br/>hrdb1&gt;shutdown immediate<br/>hrdb1&gt;startup</p><p>3????н??doptim.bsq??Oracle 10g?汾??ο???и?????<br/>@$Oracle_HOME/rdbms/admin/doptim.bsq</p><p>?????????????</p><p>hrdb1&gt;select username from dba_users;</p><p>USERNAME<br/>------------------------------<br/>OUTLN</p><p><br/>4??????replication_dependency_tracking?????true</p><p>alter system set replication_dependency_tracking =true scope=spfile;</p><p><br/>5???????????????????????<br/>hrdb1&gt;shutdown abort<br/>Oracle ???????????<br/>hrdb1&gt;startup<br/>Oracle ????????????</p><p>Total System Global Area 4392697856 bytes<br/>Fixed Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2233616 bytes<br/>Variable Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1090521840 bytes<br/>Database Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3288334336 bytes<br/>Redo Buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11608064 bytes<br/>????????????<br/>????????????<br/>hrdb1&gt;select username from dba_users;</p><p>USERNAME<br/>------------------------------<br/>WJ<br/>OUTLN<br/>SYS<br/>SYSTEM<br/>HR<br/>STRMADMIN</p><p>?????6?С?</p><p><br/>????汾??Oracle 11g??????????????????oracle 10g?汾????ο???Script to Create User OUTLN in 10.2 [ID 422983.1]??</p><p>????????????????????????????????????????<br/>REPLICATION_DEPENDENCY_TRACKING enables or disables dependency tracking for read/write operations to the database. Dependency tracking is essential for propagating changes in a replicated environment in parallel.</p><p>?ο??????<br/>Unable To Start The Database With OUTLN Schema Dropped ORA-01092&amp; ORA-18008 [ID 855104.1]<br/>Script to Create User OUTLN in 10.2 [ID 422983.1]</p> [MySQL]????????μ?MYSQL??????????????????? http://www.haxv.top//tech/4150.html downcc.com MySQL 2015/4/4 23:31:49 <p>????mysql?????У??????log?????λ?y?????????</p><p>??my.cnf ?м???</p><p>[mysqld]</p><p>port&nbsp;&nbsp;= 3306</p><p>socket&nbsp;&nbsp;= /tmp/mysql.sock</p><p>skip-locking</p><p>key_buffer_size = 16M</p><p>max_allowed_packet = 1M</p><p>table_open_cache = 64</p><p>sort_buffer_size = 512K</p><p>net_buffer_length = 8K</p><p>read_buffer_size = 256K</p><p>read_rnd_buffer_size = 512K</p><p>myisam_sort_buffer_size = 8M</p><p>????log-error = /var/log/mysql/mysql_error.log</p><p>????log-bin = /var/log/mysql/binlog</p><p>????MYSQL??????????</p><p>??LOG????</p><p>Can&#39;t start server : Bind on unix socket: Permission denied</p><p>????????????????????鷢?? ???????log ?????????</p><p>???chown??????? ????????????</p><p>Do you already have another mysqld server running on socket: /tmp/mysql.sock ?</p><p>chmod 777 /tmp ???????</p><p>????ò??е?????????????mysql?????????? mysql:mysql??</p><p>chown -R mysql:mysql /usr/local/mysql</p><p>??t???????????????????</p> [Oracle]win 7????Oracle 10g?????????????????????? http://www.haxv.top//tech/4137.html downcc.com Oracle 2015/4/4 23:28:53 <p style="TEXT-ALIGN: left">??????????Win7?????????oracle10g?????????????????????????????????????????Σ???ж??????Σ???????????С????Oracel10g?????Win7?????????????????Щ????????????????д?????????????????????°??????????????Oracle??????????????</p><p style="TEXT-ALIGN: left"><strong>???Oracle????????????????????????????????????</strong></p><p>????Win7???????????????????Vista?汾??Oracle 10g??????????????????????????http://www.oracle.com/technetwork/cn/database/10203vista-088351-zhs.html?????????????????????????????Win7??????????????e??????Щ???ù?????</p><p>?????????????????????е?????refhost.xml????????????db\Disk1\stage\prereq\db??\db\Disk1\stage\prereq\db_prereqs\db???????????б?????????′???Σ?</p><p>&lt;!--Microsoft Windows vista--&gt; <br/>&lt;OPERATING_SYSTEM&gt; <br/>&nbsp;&nbsp; &lt;VERSION VALUE=&quot;6.0&quot;/&gt; <br/>&lt;/OPERATING_SYSTEM&gt; <br/>?????????? <br/>&lt;!--Microsoft Windows 7--&gt; <br/>&lt;OPERATING_SYSTEM&gt; <br/>&nbsp; &lt;VERSION VALUE=&quot;6.1&quot;/&gt; <br/>&lt;/OPERATING_SYSTEM&gt;</p><p>? ???Oracle ?????????????windows7??汾????????汾?????????oracle?????version?6.1??windows OS??????oracle???????oracle 10g for vista and windows2K8 x86??for windows?????vista?????windows7???????2008???vista??????????????????????????????????Oracle??? ??汾??????????????</p><p>???????????????????\db\Disk1\ setup.exe??db\Disk1\install\oui.exe???????????????????????????????&quot;????&quot;?????????????Vista SP2???????</p><p>?????????????????db\Disk1\install\ oraparam.ini ???????λ????????????á?</p><p style="TEXT-ALIGN: left">[Windows-6.1-required]</p><p style="TEXT-ALIGN: left">#Minimum display colours for OUI to run</p><p style="TEXT-ALIGN: left">MIN_DISPLAY_COLORS=256</p><p style="TEXT-ALIGN: left">#Minimum CPU speed required for OUI</p><p style="TEXT-ALIGN: left">#CPU=300</p><p style="TEXT-ALIGN: left">?????????????????????????????????????????о??棬????????????????????</p><p style="TEXT-ALIGN: left">????????????????????豸?????????????????????????????????????????????′????У???????????????????</p><p style="TEXT-ALIGN: left">&nbsp;<img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503825.jpg"/></p><p style="TEXT-ALIGN: left">??????????????????????????????????????????????????????????????</p><p style="TEXT-ALIGN: left"><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503697.jpg"/></p><p style="TEXT-ALIGN: left">???????????????????????????????IP?????????У?????IP?????????????????о??С?????????????????????????</p><p style="TEXT-ALIGN: left">???????????</p><p style="TEXT-ALIGN: left">1????Oracle????????????????????????Oracle????????????漰???????????????????????????????????oracle???????????\db\Disk1\ setup.exe?????????????????′???</p><p style="TEXT-ALIGN: left"><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503886.jpg"/></p><p>???ù???????????????????????????棬????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503510.jpg"/></p><p>2????????????????Oracle Datebase 10g ???-???????????????????????У?????Oracle????????λ???????Oracle????????λ???????????????????????????????????????п??????????????????????棬?????????????????????????????????????D??\Oracle10g\Oracle10g?????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503960.jpg"/></p><p>3?????????????????????????????й???????????????????顱???????????????????????±?????????????ν???????????????????????????????棬??????????????????????????????????????????????????????????????Oracle???????е???????????ò????????????檔???????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503298.jpg"/></p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503258.jpg"/></p><p>????о?????????????????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503378.jpg"/></p><p>4????????????????У????????????????????п??????????????????Щ?????????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814503700.jpg"/></p><p>5????????????????????????У?????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504146.jpg"/></p><p>6????????????????μ??????????????????????????????????о??????????????????????????ε????????????????????????????????????????e?????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504766.jpg"/></p><p>7?????????????????????????????????п????????????????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504591.jpg"/></p><p>8??????????????????????μ????????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504835.jpg"/></p><p>?????????SCOTT????????????????????????tiger??????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504210.jpg"/></p><p>??????Oracle?м???????????????????????????????</p><p>???????sys&nbsp;&nbsp;&nbsp;&nbsp; ????:change_on_install&nbsp;&nbsp;</p><p>???????system&nbsp;&nbsp;&nbsp;&nbsp; ????:manager&nbsp;&nbsp;</p><p>???????internal&nbsp;&nbsp;&nbsp;&nbsp; ????:oracle&nbsp;&nbsp;</p><p>???????scott&nbsp;&nbsp;&nbsp;&nbsp; ????:tiger</p><p>9????????????Oracle10g?????????????</p><p>????????????????????й?Oracle????????????????????????????ο??????????????????????????檔</p><p>????????</p><p><img style="CURSOR: pointer" title="????????" alt="win 7????Oracle 10g??????????????????????_downcc????????" src="/upload/tech/UploadPic/2012-8/201282814504139.JPG"/></p><p>????Win7????????????????????????????????????????????</p><p><strong>????Oracle????????ж??</strong></p><p>1??????????ORACLE???????</p><p>2.?????OUI??Oracle Universal Installer??ж??Oracle?????</p><p>?????????-&gt;</p> [MySQL]Win7?????MySQL5.5.21????? http://www.haxv.top//tech/4136.html downcc.com MySQL 2015/4/4 23:25:42 <p>???????MySQL??????С?С???????????????????????????????????????????????а?????????????????SQL Server 2008??Oracle 10g??????????JDBC??????????????г???????????????java????MySQL?????????????????????????????????????????????JDBC????MySQL???????????????JDBC???????MySQL???????????????????????????????????????????????????????????.??????????MySQL???????????????????????????????£????????ε?????????????MySQL??????????????????????????????????????????MySQL???????????????Щ??????????????????????????????????????????????????????????????????????5.5.21????汾?????????????????裺</p><p>1?????????MySQL5.5.21???????????????????????????棬??????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143924356.jpg"/></p><p>2???????????У?????????Э?飬??????next?????????????????:</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927711.jpg"/></p><p>3????????????????????У??С?typical????????????Complete?????????????Custom?????????壩????????????????Custom?????????????????????????????????????????????????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927281.jpg"/>&nbsp;</p><p>4???????????尲??????????mysql????????·??,??????????????d:\Program File\MySQL??????????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927241.jpg"/></p><p>5??????????????????????棬???????????????????????????????back?????????д?????????Install??????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927640.jpg"/></p><p>6????????Install?????????????????????????棬????????????MySQL?????????????????MySQL???????棬????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927705.jpg"/></p><p>??????浥????next?????С?</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143927270.jpg"/></p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143928913.jpg"/></p><p>????????????Launch the MySQL Instance Configuration Wizard????????????MySQL?????????????Finish??????????????y??檔</p><p>7??MySQL?????????????????????????????????????????????????μ????y?????????????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143928839.jpg"/></p><p>8??????????????????????????????????Detailed &nbsp;Configuration???????????????????Standard Configuration????????????????????????????????Detailed Configuration???????????????????????next????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143928162.jpg"/></p><p>9????????????У??????????????????Developer Machine??????????????????Server Machine???????????????????Dedicated MySQL Server Machine????????????????????????????????????????????????У???????next????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143928334.jpg"/></p><p>10???????????y????????mysql?????????????Multifunctional Database?????????????????Transactional Database Only???????????????????Non-Transactional Database Only????????????????????????????????? ??e??????????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143929840.jpg"/></p><p>11????????????У????ж?InnoDB Tablespace??????????????InnoDB ???????????????洢????????????????λ?????????????????????????????????????????????????????????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143929747.jpg"/></p><p>12???????????У????mysql???????????????????????Decision Support(DSS)/OLAP??20?????????????Online Transaction Processing(OLTP)??500?????????????Manual Setting???????????????15?????????????????????????next????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143929734.jpg"/></p><p>13???????????????????????TCP/IP??????趨??????????????????????????????????mysql?????????????????java???????????????3306?????????????????????????next????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930855.jpg"/></p><p>14???????????????????У?????mysql?????????????????????????????????????????utf8????????????????????????utf-8??????gbk,??????next?????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930370.jpg"/></p><p>15??????????????????mysql????windows?????????????Service Name??????????????????mysql??bin??????Windows PATH??????????????????bin?μ????????????????????????????????mysql ?Cu username ?Cp password;?????????,??????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930218.jpg"/></p><p>16??????????????????????????root?????????????????????????????????New root password?????????????????????????????????root?????????????????????????????????next???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930410.jpg"/></p><p>17???????????е????ò????????????????Execute???????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930503.jpg"/></p><p>18???????????????????μ????????????MySQL??????????????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="Win7?????MySQL5.5.21?????_downcc????????" src="/upload/tech/UploadPic/2012-8/2012828143930173.jpg"/></p><p>19????????н?mysql??????????????????????????mysql ?Ch localhost ?Cu root -p&amp;rdq</p> [SQL Server]SQL?????????? http://www.haxv.top//tech/4096.html downcc.com SQL Server 2015/4/4 23:18:23 <p>???????<br/>???????????????????????????????????????????????????????????????????????????????????????????????????????Sql??????????????????????ж?????????????Щ???????????Sql???????????????Ч???<br/>???????????????У?????????????????????????????????????????????????????????С???????????????????????????????????????е????????????????????????????????????????????????κ?????????μ????????????????崴???μ???????????????в????<br/>?????????SELECT ????FROM????WHERE????н??????????????FROM?????????????????????????????WHERE????е?????????????????????????Transact-SQL?????????????????</p><p>??????????????<br/>SQL-92??????????FROM????????????????</p><pre>FROM&nbsp;join_table&nbsp;join_type&nbsp;join_table&nbsp;[ON&nbsp;(join_condition)]</pre><p>????join_table??????????????????????????????????????????????????????????????????????????????????<br/>join_type ?????????????????????????????????????????????????(INNER JOIN)?????????????б???(Щ)?????????????????г???Щ?????????????????????????С????????????????????<br/>1????????????????????????????????????????<br/>2??????????????????(LEFT OUTER JOIN??LEFT JOIN)??????????(RIGHT OUTER JOIN??RIGHT JOIN)?????????(FULL OUTER JOIN??FULL JOIN)?????????????????????????????г??????????????????У??????г????(?????????)?????(?????????)????????(????????)?????з??????????????????С?<br/>3??????????(CROSS JOIN)???WHERE ?????????????????????????е??????????????????е????????????????????з??????????????????????????????з?????????????????????<br/>????????е?ON (join_condition) ???????????????????????????е??к??????????????????????ɡ?<br/>??????????????????text??ntext??image?????????н?????????????????????????н??м??????????磺</p><pre>SELECT&nbsp;p1.pub_id,p2.pub_id,p1.pr_info&nbsp;????FROM&nbsp;pub_info&nbsp;AS&nbsp;p1&nbsp;INNER&nbsp;JOIN&nbsp;pub_info&nbsp;AS&nbsp;p2&nbsp;????ON&nbsp;DATALENGTH(p1.pr_info)=DATALENGTH(p2.pr_info)</pre><p>(?)??????<br/>?????????????г????????????????????У??????????????????????е??????????????????<br/>1?????????????????????????????(=)??????????????е????????????????г?????????е??????У????????е?????С?<br/>2??????????? ????????????ó?????????????????????????????????????е????????Щ?????????&gt;??&gt;=??&lt;=??&lt;??!&gt;??!&lt;??&lt;&gt;??<br/>3????????????????????????????(=)??????????????е?????????????????б?????????????????????????У????????????е?????С?<br/>??????????????????г?authors??publishers????λ???????е??????????磺</p><pre>SELECT&nbsp;*&nbsp;????FROM&nbsp;authors&nbsp;AS&nbsp;a&nbsp;INNER&nbsp;JOIN&nbsp;publishers&nbsp;AS&nbsp;p&nbsp;????ON&nbsp;a.city=p.city&nbsp;&nbsp;????SELECT&nbsp;a.*,p.pub_id,p.pub_name,p.country&nbsp;FROM&nbsp;authors&nbsp;AS&nbsp;a&nbsp;INNER&nbsp;JOIN&nbsp;publishers&nbsp;AS&nbsp;p&nbsp;ON&nbsp;a.city=p.city</pre><p>?????????????????????б??????authors ??publishers ?????????(city??state)??<br/>(??)??????<br/>???????????????????????е?????????????( WHERE ?????????? HAVING ????)?????????????С??????????????????????????????????е???????????????????????У?????????????(?????????)?????(?????????)??????????(???????)?е??????????С?<br/>1??left join??left outer join(????????)<br/>?????????(???????????????????????????У????????????????????????ж???????е??У?????????????????????????NULL???????????????????????????????????)????????????????????У????????????????????????<br/>?????????<br/>1<br/>select field1,field2 from table1 left join table2????on field1=field2(?????Σ???????)????where table1.field3=table2.field3</p><p>2??right join??right outer join(????????)<br/>???????(???????????????????????????У????????????????????????ж???????е??У?????????????????????????NULL???????????????????????????????????)<br/>?????????????!<br/>(??)????????<br/>???????????WHERE ??????????????????????????????е??????????????????????е????????????????????з??????????????????????????????з?????????????????????<br/>????titles??????6????飬??publishers??????8??????磬?????н????????????????????????6*8=48?С?</p><pre>SELECT&nbsp;type,pub_name&nbsp;????FROM&nbsp;titles&nbsp;CROSS&nbsp;JOIN&nbsp;publishers&nbsp;????ORDER</pre> [MySQL]??????MySQL???????????????????? http://www.haxv.top//tech/832.html ???? MySQL 2015/4/4 21:20:13 <p>??CentOS????MySQL????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p><p>1??????????? mysql -u root -p mysql????????????????root?????????????????????mysql???????????????????mysql??????????????mysql?????????????????????</p><p>2????mysql???????? GRANT ALL PRIVILEGES ON *.* TO &#39;root&#39;@&#39;%&#39; IDENTIFIED BY &#39;MyPassword&#39; WITH GRANT OPTION;</p><p>3????mysql?????????????е? &#39;root&#39;@&#39;%&#39; ???????????: root?????????%??????????IP??????????%??????????????IP???????????滻????????????????????Ψ???IP?????&#39;MyPassword&#39;??????????????????????????????????????????????????????????????????????????????GRANT??????????????http://dev.mysql.com/doc/refman/5.1/en/grant.html</p><p>4????????????????mysql???????? select host, user from user; ??????????????????????????????????</p><p style="TEXT-ALIGN: center"><img border="0" alt="" src="/upload/tech/UploadPic/2010-2/201027133944150.jpg" width="550" height="289"/></p> [MySQL]??????KB967723???MySQL?????????????????????????????? ??Can not connect to MySQL server?? http://www.haxv.top//tech/2728.html downcc.com MySQL 2015/3/29 12:44:20 <p><strong>?????????????????????????<br/></strong>????????MySQL?????????????????????????飬??????????????????????????????£????????????????????Windows??????MySQL????????????????????????KB967723?????μ????????????????????<br/><br/><strong>??????ж??KB967723????<br/></strong>????????????????????? ?? ??????????? ?? ????????????????????????????????????μ?KB967723???????????????ж???????????ж???ж???л?????????ж???????3??????г??????????????????????ж???ж??????????????????????<br/><br/><strong>?????????????</strong><br/>????????????????????????????Bug??????????????????????? TCP ???????? 5000 ??????????а????????С? ????Щ????????????2????? ???????????????????????в????????</p><p>??? ?? ???? ?? ????regedit ?? ???????????? <br/>???????????????????????? ???? ?? <br/>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters<br/>?? ?? ???????? ?????????????????????? <br/>???????? MaxUserPort <br/>?????: DWORD<br/>?????? 65534<br/>??Ч??Χ?? 5000-65534 (?????)<br/>?????? 0x1388 (5000 ?????)<br/>????? ??????????????????????κο???????????????????????? ?????1024 ?????????? 5000 ??????????? ????) ????<br/>???????????????????????????? <br/>???????????http://support.microsoft.com/kb/q196271</p> [MySQL]Can't connect to MySQL server on 'localhost' http://www.haxv.top//tech/2727.html downcc.com MySQL 2015/3/29 12:43:20 <p><strong>???????</strong>2003</p><p><strong>?????????</strong></p><p>???????? <span style="TEXT-DECORATION: none">MySQL</span>???????????????????</p><p>1??MySQL ???????????????????????????? MySQL ?????????μ?????????????????my.ini ?? MySQL ?? basedir ·???????????</p><p>2??MySQL ??????????????????????????<br/>&nbsp;</p><p><strong>?????????</strong></p><p>1??????????????????????????????????????????? MySQL ????????????????? MySQL ??????????????? localhost????</p><p>2???????????????????????й??????????????????沽???飺</p><p>1????????????? MySQL ????</p><p>Windows ???????????????????????????????????????ó???????? MySQL ??????????????????????</p><p>&nbsp;<img style="CURSOR: hand" border="0" alt="Can" src="/upload/tech/UploadPic/2011-5/2011517141142901.gif" on="" t="" mysql="" server="" to="" connect=""/></p><p>Linux??????????????? service mysql start ??? MySQL ????</p><p>2????????????????????????????????????????????á?</p><p>3????? my.ini ??? basedir&nbsp;??MySQL ????????&nbsp;?? datadir ???????????????????????????????????????????? MySQL ????</p><p>4?????????o?????????????????????????Windows????????????СWindows??TcpTimedWaitDelay???????????????????????240??δ??????????????????????????????????????????λ?y???????HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpTimedWaitDelay&nbsp; ????????????TcpTimedWaitDelay??????????????????????????????????DWORD??????????????30 ~ 60 ??伴??</p><p><img style="CURSOR: hand" border="0" alt="Can" src="/upload/tech/UploadPic/2011-5/2011517141142314.gif" on="" t="" mysql="" server="" to="" connect=""/></p><p><strong>????????<br/></strong><a href="http://www.haxv.top/tech/2728.html" target="_blank"><strong>??????KB967723???MySQL??????????????????????????????</strong></a></p> [SQL Server]SQL Server Native Client???? ?????? SQL Server Native Client http://www.haxv.top//tech/3416.html downcc.com SQL Server 2015/3/23 20:11:33 <p>???? SQL Server 2008 ?? SQL Server ?????????????? Microsoft SQL Server Native Client 10.0?????????????????? SQL Server Native Client ?? SQL Server 2005 ?汾???? SQL Server Native Client 10.0 ????????汾???а????<br/><br/>Microsoft SQL Server Native Client 10.0?????<a href="http://www.haxv.top/soft/8474.html" target="_blank" textvalue="http://www.haxv.top/soft/8474.html">http://www.haxv.top/soft/8474.html</a>&nbsp; ??<br/><br/>SQL Server Native Client ?????sqlncli10.dll??sqlnclir10.rll ?? s10ch_sqlncli.chm?????????????λ???<br/><br/>%SYSTEMROOT%\system32\<br/><br/><strong>???</strong> <br/>SQL Server Native Client OLE DB ??????? SQL Server Native Client ODBC ???????????????????????????????????????ɡ?<br/><br/>SQL Server Native Client ????????????sqlncli.h ?? sqlncli10.lib???????????λ???<br/><br/>%PROGRAMFILES%\Microsoft SQL Server\100\SDK<br/><br/>??????? SQL Server ??????????????? SQL Server Native Client ???????????? SQL Server ????????????λ???????? sqlncli.msi ??????????????<br/><br/>%CD%\Setup\<br/><br/>????????? sqlncli.msi ??? SQL Server Native Client??????????????ó???????????????? SQL Server Native Client???????????????????????????????????????????????????????????????????????й?????????????? Authoring a Custom Bootstrapper Package for Visual Studio 2005??? Visual Studio 2005 ?????????????????????????????????????<br/><br/>sqlncli.msi ?? x64 ?? Itanium ?汾???? SQL Server Native Client ?? 32 λ?檔?????????ó???????????????????儷??????????????????? Microsoft ??????????????? x64??Itanium ?? x86 ?? sqlncli.msi ?汾??<br/><br/>????? sqlncli.msi ???????????????????????????Щ?????????????Щ?????????? SQL Server Native Client ????????ó???????????????? SDK ???????????????????? ADDLOCAL=All?????磺<br/><br/>msiexec /i sqlncli.msi ADDLOCAL=ALL APPGUID={0CC618CE-F36A-415E-84B4-FB1BFF6967E1}<br/><br/>ж?? SQL Server Native Client<br/>--------------------------------------------------------------------------------<br/><br/>??????? SQL Server ???????? SQL Server ??????????ó????????? SQL Server Native Client???????????ж????????????ó?????????ж?? SQL Server Native Client??????????????ó????????? SQL Server Native Client ????棬???? MSI ????? APPGUID ???????????????<br/><br/>msiexec /i sqlncli.msi APPGUID={0CC618CE-F36A-415E-84B4-FB1BFF6967E1}<br/><br/>????? APPGUID ???????????????????????? Microsoft Installer ??????ó????????????????????????</p> [SQL Server]???SQL2005??SQL Server Management Studio ??г??????????? http://www.haxv.top//tech/4709.html www.haxv.top SQL Server 2015/3/18 21:54:45 <p><strong>???????????? sqlServer2005 ? ??????????????棺</strong></p><p>1 Com+ ?????</p><p>2 Edition change check</p><p>?????????????????????棬??????????????????????????????£???????</p><p>????????????? ??&nbsp;???????????????????(T)??</p><p>??????????????????????????????????????????????????????????</p><p>???????</p><p>1 ??????????塱----????????????---??micorsoft sql server 2005??</p><p>2 ???????????????????micorsoft sql server 2005 ?????</p><p>3 ??? ?? sql server 2005 ??????????????????????????????????????</p><p>4 ???? ????????????? ??????micorsoft sql server ??</p><p>5 ???????????????????micorsoft sql server ??</p><p>6 ??????°?????&nbsp;???????????????????(T)??</p><p>7 ????????????????msdtc????????????????????????????????????????????????????</p><p>8 ????????</p><p>?????????????????桱??????????????????????????????</p><p><strong>??2??????????sql2005?????SQL Server management studio?????????</strong></p><p>1????????????SQL 2000 ??VS2005</p><p>??? ?????management ????й? ????????SQL Server management studio expree?????</p><p>?????SQL2000????????????ü?????????SQL?????????????????05???????????????齨????????SQL Server management studio,????????????????汾???????????????????????С?????1.4G????????????????????????SQL 2000??????????????й????</p><p>2??SQLserver 2005???????SQL Server Management Studio?????</p><p>????????????????汾???????????????????????????</p><p>??????????SQL Server 2005 Express Edition?棬????????????????????</p><p>SQL Server 2005 Express????????????????????????????????????????????????????????????????????????????????SQL Server 2005 Express Edition??????????????????SQL Server 2005????????????????????????????????????????????Express?汾SQL??????д???λ????????????????????????????????????????</p><p>SQL Server 2005 ??????ν??湤???? <a href="http://www.haxv.top/soft/12940.html" target="_blank" textvalue="Microsoft SQL Server Management Studio Express">Microsoft SQL Server Management Studio Express</a>???????????????????????汾?????</p><p>??????????Microsoft SQL Server 2005 Express Edition ??????????Microsoft SQL Server 2005 Express Edition ?????????Microsoft SQL Server Management Studio Express?????檔</p><p>????????????????????SQL Server 2005 ?????????????Microsoft SQL Server Management Studio Express????????????й?????ɡ?</p><p>??????????????????棬???????????????????汾?????</p><p><strong>?????????????????????????</strong></p><p>?????????????????????Express?棬???????????Microsoft SQL Server 2005 Development Edition(??????????)??????汾????????????????????????????????κβ???????????????????????????????????Development???????????棬???????????????????????汾???????й?????????????????????????????????????????????????????????????????????????????????5???????????μ??????????????????Development?檔</p><p>???????????????????????е????£??????????????????????</p><p>???????????Microsoft Visual Studio 2005/2008???????Microsoft SQL Server 2005 Development Edition???????????????SQLserver 2005???????SQL Server Management Studio???????????Visual Studio 2005/2008????????????????????SQL server Express????????????SQL Server 2005 Development?????????????????????????????????а汾?????????????汾??Express?棬???????????п????????????????????????????????汾??Express?棬????Microsoft SQL Server Management Studio Express??????????????????????????????????????棬????SQL server Express??????</p><p>??????????????????????????????????棬????Microsoft SQL server 2005?????????????Щ????????????ж???????????????!</p> [MySQL]MYSQL????????????????????????? http://www.haxv.top//tech/202.html ?????? MySQL 2015/2/23 14:03:14 <p><a href="http://www.haxv.top/soft/583.html" target="_blank" textvalue="Mysql">Mysql</a>??????????????????????????????????????????/????????????ó????????????????????????????.</p><p>Mysql???????????????</p><p>1.?????????????????????????????</p><p>2.??????泬??5?????????</p><p>3.?????г??????????????????????????????????</p><p>4.?????????ü?????Ч??</p><p>Mysql???????????</p><p>???Mysql?????</p><p>C:\&gt;cd Mysql5.0\bin</p><p>C:\Mysql5.0\bin&gt;mysqld ?Cinstall ???Mysql????</p><p>C:\Mysql5.0\bin&gt;net start mysql ???Mysql????</p><p>????????????????</p><p>????mysql</p><p>????????Mysql??????????????????????????????????????????????????????????????IP?????????????λ?á?</p><p>C:\Mysql5.0\bin&gt;mysql -h localhost -u root -p</p><p>Enter password: ****</p><p>Welcome to the MySQL monitor. Commands end with ; or \g.</p><p>Your MySQL connection id is 6 to server version: 5.0.18-nt</p><p>Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer.</p><p>mysql&gt;</p><p>???????????????</p><p>mysql&gt; select version(),current_date;</p><p>mysql&gt; select version();select now();</p><p>????????????????</p><p>Mysql&gt;create database mydb;</p><p>Mysql&gt; drop database mydb;</p><p>??????????????</p><p>mysql&gt; use mysql</p><p>Database changed</p><p>????????????</p><p>mysql&gt; show databases;</p><p>?????????????</p><p>mysql&gt; desc func;</p><p>????????</p><p>mysql&gt; create database school;</p><p>Query OK, 1 row affected (0.00 sec)</p><p>?????</p><p>mysql&gt; create table user01(</p><p>-&gt; id varchar(20) NOT NULL,</p><p>-&gt; userName varchar(10) NOT NULL,</p><p>-&gt; age int(11) default&#39;0&#39;,</p><p>-&gt; sex char(2) NOT NULL default&#39;m&#39;,</p><p>-&gt; PRIMARY KEY (id)</p><p>-&gt; )TYPE=InnoDB;</p><p>Query OK, 0 rows affected, 1 warning (0.02 sec)mysql&gt;desc student;</p><p><span style="DISPLAY: none">[page_break]</span></p><p>???????????е?????</p><p>Create table student(stuName varchar(20),age varchar(20),id varchar(20),set0 char(1));</p><p>????</p><p>mysql&gt; insert into student(id,stuName) values(&#39;1&#39;,&#39;tomcat&#39;);</p><p>Query OK, 1 row affected (0.00 sec)</p><p><br/>???</p><p>mysql&gt; delete from student where id=&#39;1&#39;;</p><p>Query OK, 1 row affected (0.01 sec)</p><p>???????????????</p><p>mysql&gt; truncate table student;</p><p>Query OK, 1 row affected (0.01 sec)</p><p>?????</p><p>mysql&gt; create table temp(t varchar(1));</p><p>Query OK, 0 rows affected (0.00 sec)</p><p>mysql&gt; drop table temp;</p><p>Query OK, 0 rows affected (0.00 sec)</p><p>??????????????????</p><p>mysql&gt; grant all privileges on *.* to dbuser@localhost identified by &#39;1234&#39;</p><p>with grant option;</p><p>????Mysql???????</p><p>c:\Mysql5.0\bin&gt;mysqladmin -u root -p password 1234</p><p>Enter password: ****</p><p>???????????</p><p>??????mysqldump???????????????</p><p>c:\mysql\bin\&gt;mysqldump ?Cu root ?Cp 3306 mysql&gt;d:\backup.sql</p><p>??д???佫??mydb ?????D???backup.sql?????</p><p>????????????</p><p>c:\mysql\bin\&gt;mysqldump ?Cu root ?Cp 3306 school user01 user &gt;d:\backup.sql</p><p>??????????school???е?user01???user????????????屸???D??backup.sql????С?</p><p>???????е??????</p><p>c:\myql\bin&gt;mysqldump ?Cu root ?Cp 3306 ?Call ?Cdatabase&gt;d:backup.sql</p><p>???Mysql?????</p><p>c:\mysql\bin\mysql ?Cu root ?Cp 3306 school</p><p>??????е??????</p><p>mysql&gt; source d:\books.sql;</p><p>ERROR:</p><p>Unknown command &#39;\b&#39;.</p><p>Query OK, 0 rows affected (0.00 sec)</p><p>Query OK, 1 row affected (0.00 sec)</p><p>???Mysql????</p><p>mysql&gt;quit(exit)</p><p>???mysql????</p><p>C:\mysql\bin&gt;net mysql</p> [MySQL]MySQL???????????????????????????? http://www.haxv.top//tech/984.html ??????? MySQL 2015/2/23 11:52:20 <p><strong>???????</strong></p><p>??????????????????????????????????????????????????????????????????Щ??MySQL??Я?????????????????????????????????????????????????????????????????С??</p><p>??????????????????????????????????????????Щ???????????????????????Щ????????????Ч???????????????????????????????????????????????????</p><p>??????????????????????????????????????????????????????????mysqlhotcopy????????????Shell?????????????????????????????????????????????????????????????Shell??</p><p><strong>???????????????????</strong></p><p><strong>[1] ?????????????</strong></p><p>????????????????????????????????????????η???????Shell???????????????????????????</p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@CentOS ~]# vi mysql-backup.sh?? &amp;larr; ???????????????????????£? <br/><br/>#!/bin/bash <br/><br/>PATH=/usr/local/sbin:/usr/bin:/bin <br/><br/># The Directory of Backup <br/>BACKDIR=/backup/mysql <br/><br/># The Password of MySQL <br/>ROOTPASS=********?? ?????????滻??MySQL??root???? <br/><br/># Remake the Directory of Backup <br/>rm -rf $BACKDIR <br/>mkdir -p $BACKDIR <br/><br/># Get the Name of Database <br/>DBLIST=`ls -p /var/lib/mysql | grep / | tr -d /` <br/><br/># Backup with Database <br/>for dbname in $DBLIST <br/>do <br/>mysqlhotcopy $dbname -u root -p $ROOTPASS $BACKDIR | logger -t mysqlhotcopy <br/>done</td></tr></tbody></table></p><p>[2] ??????????????????</p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@CentOS ~]# chmod 700 mysql-backup.sh?? ???????????????????root?????? <br/>[root@CentOS ~]# ./mysql-backup.sh ?? ???н?? <br/>[root@CentOS ~]# ls -l /backup/mysql/ ?? ????????????? <br/>total 8 <br/>drwxr-x--- 2 mysql mysql 4096 Sep 1 16:54 mysql ?? ?????????/backup/mysql????</td></tr></tbody></table></p><p><strong>[3] ?????????????????????</strong></p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@sample ~]# crontab -e?? &amp;larr; ????????й?????????????????????vi?? <br/>00 03 * * * /root/mysql-backup.sh ?? ???????е?????У??????????????賿3?????</td></tr></tbody></table></p><p>??????????????????????????????????</p><p>???????????????????????????????????????????</p><p><strong>[1] ???????????????????</strong></p><p>??????????????????????</p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@CentOS ~]# mysql -u root -p ?? &amp;larr; ??root?????MySQL?????? <br/>Enter password:?? &amp;larr; ????MySQL??root??????? <br/>Welcome to the MySQL monitor. Commands end with ; or \g. <br/>Your MySQL connection id is 8 to server version: 4.1.20 <br/><br/>Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer. <br/><br/>mysql&gt; create database test;?? &amp;larr; ???????????????????test <br/>Query OK, 1 row affected (0.00 sec) <br/><br/>mysql&gt; use test?? &amp;larr; ????????????? <br/>Database changed <br/><br/>mysql&gt; create table test(num int, name varchar(50));?? &amp;larr; ????????н???????? <br/>Query OK, 0 rows affected (0.07 sec) <br/><br/>mysql&gt; insert into test values(1,&#39;Hello,CentOS&#39;);?? &amp;larr; ??????????????????????&quot;Hello,CentOS&quot;????? <br/>Query OK, 1 row affected (0.02 sec) <br/><br/>mysql&gt; select * from test;?? &amp;larr; ????????е????? <br/>+------+-----------------+ <br/>| num | name | <br/>+------+-----------------+ <br/>|1?? | Hello,Centos |?? &amp;larr; ???????????е??????? <br/>+------+------------------+ <br/>1 row in set (0.01 sec) <br/><br/>mysql&gt; exit?? &amp;larr; ???MySQL?????? <br/>Bye</td></tr></tbody></table></p><p>??????и????????????????????????????????????????</p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@sample ~]# cd??&amp;larr; ???????????root???????? <br/>[root@sample ~]# ./mysql-backup.sh?? &amp;larr; ???н?????????????</td></tr></tbody></table></p><p>??????????????ε????MySQL???????У???????????????????????test???????????????????????</p><p><table style="BORDER-BOTTOM: #0099cc 1px solid; BORDER-LEFT: #0099cc 1px solid; TABLE-LAYOUT: fixed; BORDER-TOP: #0099cc 1px solid; BORDER-RIGHT: #0099cc 1px solid" border="0" cellspacing="0" cellpadding="6" width="95%" align="center" uetable="null"><tbody><tr class="firstRow"><td style="WORD-WRAP: break-word" bgcolor="#ddedfb">[root@Centos ~]# mysql -u root -p?? &amp;larr; ??root?????MySQL?????? <br/>Enter password:?? &amp;larr; ????MySQL??root??????? <br/>Welcome to the MySQL monitor. Commands end with ; or \g. <br/>Your MySQL connection id is 13 to server version: 4.1.20 <br/><br/>Type &#39;help;&#39; or &#39;\h&#39; for help. Type &#39;\c&#39; to clear the buffer. <br/><br/>mysql&gt; use test?? &amp;larr; ????????????test????? <br/>Reading table information for completion of table and column names <br/>You can turn off this feature to get a quicker startup with -A <br/><br/>Database changed <br/>mysql&gt; drop table test;?? &amp;larr; ????????е?? <br/>Query OK, 0 rows affected (0.04 sec) <br/><br/>mysql&gt; drop database test;?? &amp;larr; ??????????????test <br/>Query OK, 0 rows affected (0.01 sec) <br/><br/>mysql&gt; show databases; <br/>+---------------+ <br/>| Database | <br/>+---------------+ <br/>| mysql |??</td></tr></tbody></table></p> [MySQL]???navicat 8??????????????????? ????????????[??????] http://www.haxv.top//tech/3921.html downcc.com MySQL 2015/2/20 14:06:01 <p>???濴????ù????????????????????<a href="http://www.haxv.top/soft/804.html" target="_blank"><span style="COLOR: #41b80f">navicat</span></a> 8 ??????</p><p>1</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????1" src="/upload/tech/UploadPic/2012-4/2012419183327600.jpg" width="489" height="446"/></p><p>2</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????2" src="/upload/tech/UploadPic/2012-4/2012419183327384.jpg" width="496" height="336"/></p><p>3</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????3" src="/upload/tech/UploadPic/2012-4/2012419183329426.jpg" width="478" height="505"/></p><p>4</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????4" src="/upload/tech/UploadPic/2012-4/2012419183329472.jpg" width="491" height="433"/></p><p>5</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????5" src="/upload/tech/UploadPic/2012-4/2012419183329417.jpg" width="487" height="426"/></p><p>6</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????6" src="/upload/tech/UploadPic/2012-4/2012419183329370.jpg" width="425" height="351"/></p><p>7</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????7" src="/upload/tech/UploadPic/2012-4/2012419183329722.jpg" width="402" height="232"/></p><p>8</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????8" src="/upload/tech/UploadPic/2012-4/2012419183329957.jpg" width="434" height="353"/></p><p>9</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????9" src="/upload/tech/UploadPic/2012-4/2012419183329771.jpg" width="633" height="416"/></p><p>10</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????10" src="/upload/tech/UploadPic/2012-4/2012419183329878.jpg"/></p><p>11</p><p><img style="CURSOR: pointer" title="????????" alt="???navicat 8??????????????????? ????????????11" src="/upload/tech/UploadPic/2012-4/2012419183329713.jpg" width="401" height="357"/></p><p>12?????????<br/><br/><strong>2???????????????????????</strong></p><p>????????????????root??MySQL???????????????????в??????????MySQL?????????????????????????ж??????????????????????????????????????в????????????????????????????????????????</p><p>?????????????????????????????????ù???????????????????????????£?</p><p>???????????localhost_3306?? ??????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2012-4/2012419183329166.jpg"/></p><p>???????????????????д???????????????????????磺xunmei????????????????????????????????????????</p><p>?????????????????????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2012-4/2012419183330362.jpg"/></p><p>?????????????????????У????????????????????????????????????xmuser????????????????localhost????????????????????????????????????????xunmei123?????????????</p><p>????????????????????<img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2012-4/2012419183330129.jpg"/> ????????????????????????????????????xunmei????????????????????????桱?????xunmei??????????????????????????xmuser?????xunmei??????й??????????????</p><p style="TEXT-ALIGN: center"><img style="CURSOR: pointer" title="????????" border="0" alt="" src="/upload/tech/UploadPic/2012-4/2012419183330459.jpg"/></p><p>?????????ɡ???????????????????????????????????????????xmuser??????xunmei123??????localhost?????????????????????????????xunmei???????????information_schema?????????????????????????????????????????</p> [SQL Server]???Sql Server 2000?????????Sql???????????? http://www.haxv.top//tech/4294.html www.haxv.top SQL Server 2015/2/14 10:12:33 <p>???????... ????SQL????????????????????????????SQL?????????????°???????????????????SQL????????? <br/>???????????????????????????????????????????? ?????Щ????????????????????????????????????£?????????????????????????????????????????????? <br/>??? ??? ???? ????regedit ???????????????HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager???PendingFileRenameOperations ???????SQL?????????????????????Щ??????????????????????????????°??????? <br/>???sql server??????? ????sql server????????????????????????????????????????????????????а?????????????????????????????????????????? ?ο??й??????,???2?????????????? <br/>1?????/????????г??????sql server?? <br/>2????????????sql server?????????<br/>3???????????????HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ Session Manager?????PendingFileRenameOperations????????????????????????????????????? <br/>4??????????и?sql server????? SQL Server ??????,????????? ???SQL Server 2000??????????????????????????????????????????????????????????????????????а??????????????????????????????????????????????????????н??????????????????? <br/>A: ????????? SQL Server 2000,??????????? Program Files\\Microsoft SQL Server ?????.<br/>B: ??????, ??&quot;???&quot;--&quot;????&quot;???? &quot;regedit&quot; ;?????????????; + HKEY_LOCAL_MACHINE , + SOFTWART, + Microsoft, + Windows, + CurrentVersion, + Setup , + ExceptionComponents,3 ?? ExceptionComponents ????????????????!, ?? {60BFF50D-FB2C-4498-A577-C9548C390BB9} {60BFF50D-FB2C-4498-A577-C9548C390BB9} {60BFF50D-FB2C-4498-A577-C9548C390BB9} {60BFF50D-FB2C-4498-A577-C9548C390BB9} <br/>C: ???SQL Serverж????????????????Microsoft SQL Server??????????,??????????,??HKEY_CURRENT_USER\\Software\\Microsoft\\Microsoft SQL Server????HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SQL Server???????(??????Microsoft SQL Server????????????),???????</p><p>?????? <br/>??.1 ????????????????????????????????????????м?????????????????ALT+Tal???л???<br/>????????-???С???????regedit?????????? <br/>2 ?????HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 3 ??????е??PendingFileRenameOperations??(???????????£?PendingFileRenameOperations???λ??Session Manager???????????Session Manager?????????????????) 4 ??????? 5 ?????????SQL Server 2000?????OK???????? ???????????????</p><p>????????????SQL?????????? ?????棺<a href="http://www.haxv.top/soft/11962.html" target="_blank" textvalue="http://www.haxv.top/soft/11962.html">http://www.haxv.top/soft/11962.html</a></p> [Access]???ACCESS??????????9????? http://www.haxv.top//tech/669.html ??????? Access 2015/2/12 0:31:18 <p>&nbsp;&nbsp;&nbsp; ??????????mdb?asp???????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ??????????animator????????£???data.mdb????????data.asp????????wwwroot??????? ??IE??????data.asp·????????IE????????????- &gt;???????????????±???????????????mdb???????ACCESS????????????????????????????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????Flashget????????data.asp???????????data.mdb???????????ACCESS??????????????? ???????Щ?????????????????????????mdb????asp????????????????????????????????????asp+a ccess??????????????????????徵??????????????????????£??????????????9?????????????????????????</p><p>&nbsp;&nbsp;&nbsp; 1.?????????????????????????????????????????????????????????????????????????????????????·???????????????????????????????????list???????????????????·?????????????????????????????о????????????????????С?????????????ε?????????? ???????????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 2.?????????????ASA??ASP??&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????????Щ??????Щ???????????????????????????? <br/>&nbsp;&nbsp;&nbsp; ??1?????????????????????????????-_-+???? <br/>&nbsp;&nbsp;&nbsp; ??2?? ?????????м???&lt;%??%&gt;??IIS???ASP?????????????????500?????????????????????? ????????????????????????????μ???&lt;%??????????ACCESS??????е???????д??????????????????? &lt; %????????????Ч????????????? &lt;%????OLE?????????????????????????????????????????notepad??????????? &lt;% ?? ??????????????????浵??&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ???????Access???????????????????????????????????????????????OLE???????Σ??????????????? ????????????????????????????????????????????????μ????&quot;?????????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 3.??????????&quot;#&quot;?????????????????????#????????????????????????conn.asp???е?????????????????????????????&amp; nbsp??#??????????????????????????????????????http://www.domain.com/date/# 123.mdb?????????????????????IE????FLASHGET???μ??????http://www.domain.com/date/index.htm??index.asp?? default.jsp??????IIS?????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????????????????б????Щ???????????????????HTTPЭ???????????????????????????&quot;%&quot;????http ://www.domain.com/date/123 ??456.mdb????????http://www.domain.com/date/123 %456.mdb.?????????????????123%456.mdb?????????? ???????????Ч????????????????????????????????????±??????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 4.?????????????????&quot;????-&gt; ???-&gt;????/?????????????????磺employer.mdb??????????????? ??????&quot;?????????????&quot;??????????? employer1.mdb.????employer.mdb???????????? employer1.mdb&amp;hellip;&amp;hellip;????????????????????????????????????????????????????????????????????? ?????????????????????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????????????????????????????????????? e mployer1.mdb???????????&quot;???&quot;????????????????&quot;????-&gt;???-&gt;?????????????&quot;???????????????ɡ????????????????employer1.mdb??????????????????????? emplo yer1.mdb???&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ????????????????????? ?磺conn.open &quot;driver={microsoft access driver&amp;nb sp????*.mdb??}??uid=admin??pwd=?????????dbq=?????·??&quot;????????????????????????????????????????????????????????е???????б?й???&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ????????????????Access???????????????????????????????????????????????????????????????? ??????????????????&quot; ???&quot;???γ?????????????????洢??*.mdb???????&quot;&amp;H42&quot;????????????????? ????????????????????????????е?С????????????????κ?Access????????????????????????????????? ???????δ?????</p><p>&nbsp; 5.????????WEB?????????????????????????????????????WEB????e??\webroot??????????????e??\data????????????e??\webroot???????? ????????????????????????&quot;&amp;hellip;&amp;hellip;/data/???????&quot; ??????????????????????????????????????????? ???????WEB???????????????????????????????????&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 6.???ODBC???????&nbsp; <br/>&nbsp;&nbsp;&nbsp; ??ASP?????????У????????????????????ODBC???????????????????д??????У????????????????ASP????? ???????????????磺 DBPath = Server.MapPath??&quot;&amp;hellip;&amp;hellip;/123/ abc/asfadf.mdb &quot;??&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; conn.open &quot;driver={Microsoft Access Driver&amp;nb sp????*.mdb??}??dbq=&quot;&amp; DBPath????????????????????????????????????ASP?????????????????????????????????ODBC?????????? ??????????????????&nbsp; conn.open &quot;ODBC-DSN??&quot; ??????????????????? ????????????????????????????????????????7??8????&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp; 7.??????????????MDB?????????????????????????IIS???????????????IIS???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????IIS???? &amp;mdash;&amp;mdash;????&amp;mdash;&amp;mdash;????&amp;mdash;&amp;mdash;???&amp;mdash;&amp;mdash;??ó??????????????mdb???????y?????????????????D LL????EXE???????????????????????????MDB????????????????? ?????ò?????? ??asp.dll????????????????????????????????????磺http://www.domain.com/data/dvbbs6.mdb.??????404??50 0?????&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 8????á?net????????????????д???????????????????&quot;WBAL ??????????&quot;.?????????http://www.9seek.com/WBAL/ ?????? ????????????????????? ????????????????????????????????????????????5???? ??????????????NET?????????????????????&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????????У???е?7??8????????????????????ú??????????????????????????????????????????????? ?????????????????鷳???????????????????????????????????&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp; ?????6????????????5????????????????????????????????????????net?????????????????鷳??????????????? 5????????????????????μ?6???????????????????????????????????????????????????????????????????????????? ?????????????????&nbsp;</p><p>&nbsp;&nbsp;&nbsp; 9.????NTFS????????????????</p><p>&nbsp;&nbsp;&nbsp;&nbsp; ????????????ASP.NET ????? ADO.NET ???????????? OleDb ???????????? Access ?????&amp;mdash; &amp;mdash;???????????????????????????????? ASP.NET ?п??????????????????????п???Access 2000 ?? Access XP ???????????????????????????????????????????????????????????????????????????????????????????? ASP. NET ??&nbsp; Access ?????????? NTFS ????????????μ???? .&nbsp;&nbsp;&nbsp;&nbsp;</p> [SQL Server]MS SQL Server 2008???????????????????????? http://www.haxv.top//tech/3517.html downcc.com SQL Server 2015/2/11 9:56:08 <p>SQL Server 2008????????????????/??????????ж????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????á???????????????????????????????????</p><p>&nbsp;????????????????????????????????????????????SQL Server 2008??????????SQL Server 2008?????????????????????????????????????????????????????л???????????????????????????????????????е?????????????SQL Server Management Studio?У?????????????????????????????????κ??????????????????????С????????????????????????е????????????????С???н???????????л?????????????????????????????????????killkillд??SQL Server 2005 ????????????????????????????????????????????</p><p>??????????????SQL Server 2008????????</p><p>???????????????????????????β???SQL Server 2008????????</p><p>?????????Windows Server 2008 R2 + SQL Server 2008 R2?????棩???????????????????????????CNBlogsDB1??????????????????CNBlogsDB2??</p><p>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p><p style="text-indent: 0px"><img title="grid.ai" alt="grid.ai" src="/upload/tech/UploadPic/2012-2/201229193812488.gif" border="0"/></p><p>??????SQL Server????????</p><p>????????ò??裺</p><p>????????????????????SQL Server 2008 R2???????????????Database Engine(??SQL Server Replication)??Management Tools??</p><p>?????????????????????????????????????</p><p>1. ??????????????CNBlogsDB1???????????CNBlogsDemo?????Recovery mode????????Full??????????????????????????????????????????磺CNBlogsTest??</p><p style="text-indent: 0px"><img title="cnblogs_test" alt="cnblogs_test" src="/upload/tech/UploadPic/2012-2/201229193813416.jpg" border="0"/></p><p>2. ??????????????У?</p><p>????????????????????′??????????У????????????????????????????????????????????????????????????????</p><p>???Replication??Local Publications?????????????????????Publishers?????????</p><p style="text-indent: 0px"><img title="20100826-8" alt="20100826-8" src="/upload/tech/UploadPic/2012-2/201229193814874.jpg" width="600" border="0"/></p><p>????????????????????????</p><p style="text-indent: 0px"><img title="20100826-9" alt="20100826-9" src="/upload/tech/UploadPic/2012-2/201229193814132.jpg" border="0"/></p><p>??Default Snapshot Folder???????????????·????</p><p>3. ????????????????????????</p><p>??Replication??Local Publications?????New Publication??????????????????????????????CNBlogsDemo??????????????Transational publication?????????</p><p style="text-indent: 0px"><img title="Transationalpublication" alt="Transationalpublication" src="/upload/tech/UploadPic/2012-2/201229193814331.jpg" border="0"/></p><p>???Next?????????</p><p style="text-indent: 0px"><img title="20100826-1" alt="20100826-1" src="/upload/tech/UploadPic/2012-2/201229193814254.jpg" border="0"/></p><p>??????????????????????????????CNBlogsTest???????н?????????????????????????????????????</p><p>????????????????</p><p style="text-indent: 0px"><img title="20100826-2" alt="20100826-2" src="/upload/tech/UploadPic/2012-2/201229193814439.jpg" border="0"/></p><p>??Next??Next??????Snapshot Agent????????Create a snapshot immediately and keep the snapshot available to initialize subscriptions?????????</p><p style="text-indent: 0px"><img title="20100826-3" alt="20100826-3" src="/upload/tech/UploadPic/2012-2/201229193814954.jpg" border="0"/></p><p>Next??????Agent Security??</p><p style="text-indent: 0px"><img title="20100826-4" alt="20100826-4" src="/upload/tech/UploadPic/2012-2/201229193814966.jpg" border="0"/></p><p>???Security Settings???????????????????</p><p style="text-indent: 0px"><img title="20100826-5" alt="20100826-5" src="/upload/tech/UploadPic/2012-2/201229193814706.jpg" border="0"/></p><p>?????????????Snapshot Agent??Windows??????????????????SQL Server Agent??????????</p><p>????????????????????????SQL??????????????????????????????sa?????</p><p>??????OK??Next??Next??????????????????</p><p>&nbsp;<img title="20100826-7" alt="20100826-7" src="/upload/tech/UploadPic/2012-2/201229193814822.jpg" border="0"/></p><p>???Finish???????????????????????????????????′????</p><p style="text-indent: 0px"><img title="20100826-10" alt="20100826-10" src="/upload/tech/UploadPic/2012-2/201229193814895.jpg" border="0"/></p><p>?????????????У??????unc????У?????????????????????С?</p><p>??????????????????????????????????????????????????????С?</p><p>??????????????????????Щ????????????????????е????????????????????????????????????????????????????????????????????????????FTP?????????????????????????????????????FTP????????????</p><p>4. ????????FTP????</p><p>??????????????????????FTP?????????????????????е?FTP??????ú????????????FTP??????????????????????????????FTP????????á????÷??????£?</p><p>??Replication??Local Publications???????????????[CNBlogsDemo]:CNBlogsDemo_Publication??????????FTP Snapshot?????????</p><p>&nbsp;<img title="20100826-11" alt="20100826-11" src="/upload/tech/UploadPic/2012-2/201229193814802.jpg" width="600" border="0"/></p><p>???Allow Subscribers to download snapshot files using FTP???????????FTP???????????????????????????????????????????FTP????????????Path from the FTP root folder????????????????????????/ftp????</p><p><span style="display: none">[page_break]</span></p><p>???OK??????????????????д??????ftp????У?????????????????????????</p><p>?????????????????????ú??????????????????????</p><p>??????????????????????????????????????</p><p>???????????CNBlogsDB2??????????????????????????CNBlogsDemo???????????????</p><p>??Replication??Local Subscriptions?????New Subscriptions??????????</p><p>Next??????????????????????????Find SQL Server Publisher???????????????????</p><p style="text-indent: 0px"><img title="20100826-12" alt="20100826-12" src="/upload/tech/UploadPic/2012-2/201229193814711.jpg" border="0"/></p><p>???????????Server Name????????д?????????????????????????????????????????hosts????м????IP?????????</p><p>????????????????????????????????????????????????????????</p><p style="text-indent: 0px"><img title="20100826-13" alt="20100826-13" src="/upload/tech/UploadPic/2012-2/201229193815741.jpg" border="0"/></p><p>Next??????&quot;??????????λ??&quot;????????</p><p style="text-indent: 0px"><img title="20100826-14" alt="20100826-14" src="/upload/tech/UploadPic/2012-2/201229193815455.jpg" border="0"/></p><p>???????????pull subscriptions??????????????????????????????????????????Щ??</p><p>Next???????????????????????????????????????????????????????????</p><p>Next??????????????????????</p><p style="text-indent: 0px"><img title="20100826-15" alt="20100826-15" src="/upload/tech/UploadPic/2012-2/201229193815471.jpg" border="0"/></p><p>?????????????????????????</p><p style="text-indent: 0px"><img title="20100826-16" alt="20100826-16" src="/upload/tech/UploadPic/2012-2/201229193815350.jpg" border="0"/></p><p>???????????Connect to the Distributor????????????????????sa?????</p><p>OK, Next, Next, Next:</p><p style="text-indent: 0px"><img title="20100826-17" alt="20100826-17" src="/upload/tech/UploadPic/2012-2/201229193815753.jpg" border="0"/></p> [SQL Server]Windows7?°??sql server 2008 express??????????? http://www.haxv.top//tech/3495.html downcc.com SQL Server 2015/2/3 20:32:47 <p>???????????????sql server 2008 express sp1?棬????????????????????<br/><br/>????????dot net 3.5 sp1</p><p>???????????????????????????????°???????????????????</p><p>?????administrator????°??</p><p>??ù??360??????????????????Щ????????????</p> [MySQL]MYSQL-Front????????????? http://www.haxv.top//tech/4086.html downcc.com MySQL 2015/1/24 9:29:58 <p>???????MYSQL??????MYSQL-Front????棬??????????<a href="http://www.haxv.top/soft/9338.html" target="_blank" textvalue="MYSQL-Front?????">MYSQL-Front?????</a>??????????????? ???????????????<br/>????????????????MySQL-Front.exe???????????????????????????????????汾 ??<br/><img style="CURSOR: pointer" title="MYSQL-Front?????????????1" alt="" src="/upload/tech/UploadPic/2012-6/2012626104940591.jpg"/><br/><br/>??????????????????MYSQL?????????????????? <br/><br/><img style="CURSOR: pointer" title="MYSQL-Front?????????????2" alt="" src="/upload/tech/UploadPic/2012-6/2012626104942165.jpg"/><br/><br/>???????MYSQL????????IP????????磺202.101.98.55??????? <br/><br/><img style="CURSOR: pointer" title="MYSQL-Front?????????????3" alt="" src="/upload/tech/UploadPic/2012-6/2012626104942516.jpg"/><br/><br/>?塢????MYSQL??????????????????????MYSQL???????????????????????&quot;??&quot;????????? <br/><br/><img style="CURSOR: pointer" title="MYSQL-Front?????????????4" alt="" src="/upload/tech/UploadPic/2012-6/2012626104942998.jpg"/><br/><br/>????????????MYSQL??????IP???????????????????????????????????????????? ???-&gt; SQL???? ??MYSQL??????臨???SQL?????У???????????MYSQL?????????? <br/><br/><img style="CURSOR: pointer" title="MYSQL-Front?????????????5" alt="" src="/upload/tech/UploadPic/2012-6/2012626104942536.jpg"/><br/><br/>???MYSQL???????? ???????????????????? ???????????????????????????? <br/>?????????MySQL-Front???????????????????????MYSQL????????????????????????????????????????Щ??ò???????????????ξ?????????</p> [MySQL]mysql??????mysql5.6.10??????????? http://www.haxv.top//tech/4707.html www.haxv.top MySQL 2015/1/5 21:48:46 <p>MySQL????????????SQL????????????????MySQL AB????????????????MySQL ????????????????????????????????????á??????????????????PHP ??MYSQL????????</p><p>???????MySQL??????????????????????????????????????&quot;setup.exe&quot;?????????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201824861.jpg"/></p><p>mysql????????1</p><p>mysql????????????&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201827691.jpg"/></p><p>mysql????????2</p><p>???????????&quot;Typical??????&quot;??&quot;Complete???????&quot;??&quot;Custom?????????壩&quot;??????????????&quot;Custom&quot;???и??????????????????????:</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201828663.jpg"/></p><p>mysql????????3</p><p>??&quot;Developer Components????????????&quot;??????????????&quot;This feature, and all subfeatures, will be installed on local hard drive.&quot;????&quot;??????????????????????????????????????&quot;?????????&quot;MySQL Server??mysql????????&quot;??&quot;Client Programs??mysql????????&quot;??&quot;Documentation???????&quot;????????????????????????????&quot;Change...&quot;???????????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201831447.jpg"/></p><p>mysql????????4</p><p>???????????????&quot;F:\Server\MySQL\MySQL Server 5.0&quot;??????鯔??????????????????????????????????????????????????????&quot;OK&quot;??????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201832368.jpg"/></p><p>mysql????????5</p><p>?????????棬??&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201834331.jpg"/></p><p>mysql????????6</p><p>?????????????????????????&quot;Back&quot;????????????&quot;Install&quot;????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201836950.jpg"/></p><p>mysql????????7</p><p>???????У?????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201837625.jpg"/></p><p>mysql????????8</p><p>?????????????????????mysql.com????????????????е??????mysql.com??????????????&quot;Skip Sign-Up&quot;????&quot;Next&quot;???????衣</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201839113.jpg"/></p><p>mysql????????9</p><p>???????????????????????????棬?????????????????mysql????????????????????????????????????????my.ini????? &quot;Configure the Mysql Server now&quot;????????????&quot;Finish&quot;????????????????mysql????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201841542.jpg"/></p><p>mysql????????10</p><p>mysql????????????棬??&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201842294.jpg"/></p><p>mysql????????11</p><p>??????÷????&quot;Detailed Configuration?????????????&quot;??&quot;Standard Configuration??????????&quot;?????????&quot;Detailed Configuration&quot;????????????ù????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201844660.jpg"/></p><p>mysql????????12</p><p>?????????????&quot;Developer Machine????????????mysql??ú????????&quot;??&quot;Server Machine?????????????mysql??y???????&quot;??&quot;Dedicated MySQL Server Machine??????????????????mysql??????п????????&quot;???????????????????????????&quot;Server Machine&quot;????????????????????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201846466.jpg"/></p><p>?13</p><p>???mysql??????????????&quot;Multifunctional Database??????????????&quot;??&quot;Transactional Database Only???????????????????????????&quot;??&quot;Non-Transactional Database Only????????????????????????Щ?????????????MyISAM?????????????????non-transactional???????????????????????????????&quot;Transactional Database Only&quot;????&quot;Next&quot;??????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201849140.jpg"/></p><p>?14</p><p>??InnoDB Tablespace??????????????InnoDB ???????????????洢????????????????λ????????????????????????????????????????????????????????????????????????????????????????????????????????λ???????&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201850640.jpg"/></p><p>?15</p><p>???????????????mysql????????????????????&quot;Decision Support(DSS)/OLAP??20???????&quot;??&quot;Online Transaction Processing(OLTP)??500???????&quot;??&quot;Manual Setting??????????????????????&quot;?????????&quot;Online Transaction Processing(OLTP)&quot;????????????????ù????????&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201853768.jpg"/></p><p>?16</p><p>???????TCP/IP??????趨??????????????????????????????????mysql???????????????????????????????Port Number??3306????????????????????????&quot;????????&quot;??Enable Strict Mode????????MySQL??????????С????????????????????????????????????????????鷳???????MySQL?????????????????????????????к??????????????????????&quot;Next&quot;????</p><p><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2013-3/2013322201854279.jpg"/></p><p>?17</p><p>??????????????????????utf8????????????????????????????????????????Character Set????????????&quot;gbk&quot;????????????&quot;gb2312&quot;?????????gbk?????????????????gb2312?????к???????????????????????????????????&amp;mdash;&amp;mdash;???mysql??????????????????????????????&quot;SET NAMES GBK;&quot;????????ξ??????GBK?????滻???????????????????????????????????????ú?????????????????????????????????????? &quot;Next&quot;??????</p> [SQL Server]SQL 2005 ???????????_SQL2005?????? http://www.haxv.top//tech/4157.html downcc.com SQL Server 2014/11/10 17:34:34 <p>downcc??????????????????SQL SERVER 2005 ???????????? 200???G?????????,????????????С?</p><p>???????</p><p><a href="http://www.haxv.top/soft/9851.html">http://www.haxv.top/soft/9851.html</a></p><table style="TEXT-ALIGN: left; LINE-HEIGHT: 18px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 10px auto; BORDER-SPACING: 1px; WIDTH: 450px; BORDER-COLLAPSE: separate; BACKGROUND: #000; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #333; FONT-SIZE: 12px; BORDER-LEFT-WIDTH: 0px" cellspacing="1"><tbody><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; WIDTH: 100px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #ffffff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">MS SQL server ???????????(???mssql .LDF???)</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????汾??</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">&nbsp;</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">?????С??</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">252KB</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">????</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px">WinXP</td></tr><tr><th style="TEXT-ALIGN: center; PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #0476b3; COLOR: #fff; PADDING-TOP: 8px">????????</th><td style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #fff; PADDING-TOP: 8px"><a style="COLOR: #d50000; FONT-WEIGHT: bold; TEXT-DECORATION: underline" href="http://www.haxv.top/soft/9851.html">MS SQL server ???????????(???mssql .LDF???)</a></td></tr></tbody></table><p>?????????????????????</p><p>????????????????????????? ?????????????????????????????????μ?????????</p><p><strong><span style="COLOR: #ff0000">?м??????????SQL?ú???????£?????????????????????????????Ρ?</span></strong></p><p>????? ???????????????????</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922276855.jpg"/></p><p>??????????????IIS????????????????????????£??????????????????</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922277874.jpg" width="600"/></p><p>??????????? ??????? ????????????????</p><p>???????λ???????????????λ??</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922277985.jpg"/></p><p>?????????????????? qq2.mdf?????????????? qq2_log.ldf ???????????????(200G?????????????????????)??</p><p>????????????????????</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922277385.jpg"/></p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922277159.jpg" width="600"/></p><p>??????????? mdf?????????????????? .ldf ??????????</p><p style="TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2012-9/20129922277421.jpg" width="600"/></p><p>???????????? .ldf??????????????</p><p>????????????????????????????????????μ? ldf ???&nbsp; 504KB</p><p>????????????????????????????£???????岻?????????????????????</p> [Oracle]sql server 2005?????????oracle 11g http://www.haxv.top//tech/5340.html www.haxv.top Oracle 2014/11/10 16:37:29 <p>????????MS?????ole db provider???????????</p><p>1.???????????????????-?????????????-??????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321013139.png" width="600"/></p><p>2.????oracle?????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321013431.png" width="600"/></p><p>3.???????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321014438.png" width="600"/></p><p>4.?????</p><p>????sqlserver??t-sql??oracle??pl/sql??????????????????????????????????</p><p>int -&gt; number ?????????number??????</p><p>nvarchar -&gt; varchar2 (?????nvarchar2,??ms?????????????????)</p><p>datetime -&gt; date</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321014988.png" width="600"/></p><p>?????????sql?????pl/sql???д?????????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321014116.png" width="600"/></p><p>5.?????datetime???date???о?????????????????????????????????????:</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321014688.png" width="600"/></p><p>6.??????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321015234.png" width="600"/></p><p>??oracle em???????????????????????</p><p style="TEXT-ALIGN: center; TEXT-INDENT: 0px"><img style="CURSOR: pointer" title="????????" alt="" src="/upload/tech/UploadPic/2014-7/201472321015133.png" width="600"/></p> [SQL Server]MSSQL?????滻??? ??SQL SERVER???????滻?????????? http://www.haxv.top//tech/5381.html www.haxv.top SQL Server 2014/10/16 22:37:14 <p><strong>?????:(???????????,???????ε?????????text ntext??????????,?????????????滻?????????)</strong> <br /> <br /> varchar??nvarchar?????????replace????????????text??????8000???????????????????????????replace <br /> <br /> ?滻 text ntext ??????????ε???? <br /> &nbsp;</p> <div ><br /> <strong>update ???? set ?????=replace(cast(??????????????? as varchar(8000)) ,'???????','????滻????') </strong><br /> <br /> <strong>??????:(?滻??????????????ε????,???????в?????)</strong> <br /> <br /> &nbsp;</div> <div ><strong>update [????] set ????? = replace(???????????????,'???????','????滻????') <br /> </strong></div> <p><strong>?????????</strong></p> <p><strong>1??????????滻ntext???????????? <br /> </strong>?????????? <br /> ????????????News???е????content?е??Щ????????滻?? <br /> ???content?????ntext?????? <br /> <br /> ?????滻???????content??Σ???????????www.haxv.top?滻??http://www.haxv.top???滻??????? <br /> <br /> update News <br /> set content = replace(cast(content as varchar(8000)), <br /> 'www.haxv.top', <br /> 'http://www.haxv.top') <br /> <br /> <strong>2??????????滻varchar??nvarchar????</strong> <br /> varchar??nvarchar?????????replace????????????text/ntext??????8000/4000???????????????????????????replace?? <br /> update ???? <br /> set text?????????=replace(convert(varchar(8000),text?????????),'??滻?????','?滻????') <br /> update ???? <br /> set ntext?????????=replace(convert(nvarchar(4000),ntext?????????),'??滻?????','?滻????') <br /> <br /> ??????????????????text??ntext??γ???8000??????????????????????asp???????????????????滻?????浽??????С?<br /> <br /> ????????????????????????????????????滻????????????и?ò???????????????</p> [SQL Server]sqlserver??汾???汾?? http://www.haxv.top//tech/5379.html www.haxv.top SQL Server 2014/10/14 21:38:23 <p>????????<a target="_blank" href="http://www.haxv.top/zhuanti/sqlserver.html">sqlserver</a>??????汾????????????????????ЩSQL Server?汾???sql???,?????SQL Server 2000 ??2005 ??2008?汾??</p> <p>????????????????sqlserver2008 ?????R2?汾?????????£??????????????????????????£?????汾??????</p> <p>??????????sql server?????汾????????????????,?????</p> <p><strong>1???? SQL Server 2005/2008 ?汾??</strong></p> <p><strong>select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition')</strong></p> <p>?????? SQL Server 2005 ?汾????????????<br /> version level edition<br /> &mdash;&mdash;&mdash;&mdash; &mdash;- &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;-<br /> 9.00.3042.00 SP2 Enterprise Edition<br /> ?±??? SQL Server 2005 ?汾???????<br /> SQL Server 2005 ?汾?? SQL Server 2005 ?汾????<br /> &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash; &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br /> 2005.90.1399 RTM (Release to Manufacturing)<br /> 2005.90.2047 SQL Server 2005 SP1<br /> 2005.90.3042 SQL Server 2005 SP2<br /> 2005.90.4035 SQL Server 2005 SP3<br /> 2005.90.5000 SQL Server 2005 SP4<br /> ?±??? SQL Server 2008 ?汾???????<br /> SQL Server 2008?汾?? SQL Server 2008 ?汾????<br /> &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash; &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br /> 10.0.1600.22 RTM<br /> 10.00.2531.00 SQL Server 2008 SP1<br /> 10.00.4000.00 SQL Server 2008 SP2<br /> 10.50.1600.1 SQL Server 2008 R2 (RTM)</p> <p><strong>?????? SQL Server 2000 ?汾??</strong></p> <p><strong>select serverproperty('productversion') ,serverproperty('productlevel'),serverproperty('edition')</strong></p> <p>?????? SQL Server 2000 ?汾????????????<br /> version level edition<br /> &mdash;&mdash;&mdash;&mdash; &mdash;- &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;-<br /> 8.00.2039 SP4 Enterprise Edition<br /> ?±??? SQL Server 2000 ?????汾???????<br /> SQL Server 2000 ?汾?? SQL Server 2000 ?汾????<br /> &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&ndash; &mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;<br /> 2000.80.194.0 RTM (Release to Manufacturing)<br /> 2000.80.384.0 SQL Server 2000 SP1<br /> 2000.80.534.0 SQL Server 2000 SP2<br /> 2000.80.760.0 SQL Server 2000 SP3/SP3a<br /> 2000.8.00.2039 SQL Server 2000 SP4</p> <p>?? SQL Server ?汾?????÷?????@@version</p> <p>select @@version <br /> Microsoft SQL Server 2000 &ndash; 8.00.2039 (Intel X86)<br /> May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation<br /> Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)<br /> Microsoft SQL Server 2005 &ndash; 9.00.3042.00 (Intel X86)<br /> Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation<br /> Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)</p> <p>?????????@@version ?汾?????л????? OS ?汾?????<br /> ?????????????? SQL Server ?????????? SQL Server ??????????? SQL Server 2008 R2 ?? SQL Server 2008 ??????????????????á?<br /> SQL Server ????????汾???? MM.nn.bbbb.rr?????????????????<br /> MM &ndash; ???汾<br /> nn &ndash; ??汾<br /> bbbb &ndash; ????汾??<br /> rr &ndash; ???????汾??</p> <p>?? SQL Server ????????汾???汾?У?????????e汾????????????汾??????????汾??????????????????????????????????汾???????????????????滻??????????????????????汾?????????????????????</p> <p>SQL Server 2008 R2 ?? SQL Server 2008 ??????????????????ζ?????? SQL Server 2008 ????????????汾?????????????汾???SQL Server 2008 R2 ?????汾? 10.50.bbbb.rr????????????SQL Server 2008 ?????汾?? 10.0.bbbb.rr??</p> [SQL Server]???????? SQL Server 2005 ?汾??? http://www.haxv.top//tech/5378.html www.haxv.top SQL Server 2014/10/14 21:33:17 <p>??????????????????????????? <a target="_blank" href="http://www.haxv.top/soft/13332.html">SQL Server 2005</a> ?汾????????????裬???????????????????????????????????????????????μ?????????????????????????????и???????<strong> </strong></p> <p><strong>?? SQL Server 2005 ?汾?? </strong></p> <pre><ol ><li ><span><span>select&nbsp;serverproperty(&amp;#039;productversion&amp;#039;) &nbsp;</span></span></li><li><span>,serverproperty(&amp;#039;productlevel&amp;#039;) &nbsp;</span></li><li ><span>,serverproperty(&amp;#039;edition&amp;#039;)&nbsp;</span></li></ol></pre> <p>?????? SQL Server 2005 ?汾????????????</p> <p><strong>????? SQL Server 2005 ?汾?? </strong></p> <pre><ol ><li ><span><span>select&nbsp;serverproperty('productversion') &nbsp;</span></span></li><li><span>,serverproperty('productlevel') &nbsp;</span></li><li ><span>,serverproperty('edition')&nbsp;</span></li></ol></pre> <p>?????? SQL Server 2005 ?汾????????????</p> <pre><ol ><li ><span><span>version&nbsp;level&nbsp;edition &nbsp;</span></span></li><li><span>9.00.3042.00&nbsp;SP2&nbsp;Enterprise&nbsp;Edition&nbsp;</span></li></ol></pre> <p>?±??? SQL Server 2005 ?汾???????</p> <p>SQL Server 2005 ?汾?? SQL Server 2005 ?汾????</p> <pre><ol ><li ><span><span>2005.90.1399&nbsp;RTM&nbsp;(Release&nbsp;to&nbsp;Manufacturing) &nbsp;</span></span></li><li><span>2005.90.2047&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;SP1 &nbsp;</span></li><li ><span>2005.90.3042&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;SP2&nbsp;</span></li></ol></pre> <p><strong>?????? SQL Server 2000 ?汾?? </strong></p> <pre><ol ><li ><span><span>select&nbsp;serverproperty('productversion') &nbsp;</span></span></li><li><span>,serverproperty('productlevel') &nbsp;</span></li><li ><span>,serverproperty('edition')&nbsp;</span></li></ol></pre> <p>?????? SQL Server 2000 ?汾????????????</p> <pre><ol ><li ><span><span>version&nbsp;level&nbsp;edition &nbsp;</span></span></li><li><span>8.00.2039&nbsp;SP4&nbsp;Enterprise&nbsp;Edition&nbsp;</span></li></ol></pre> <p>?±??? SQL Server 2000 ?????汾???????</p> <p>SQL Server 2000 ?汾?? SQL Server 2000 ?汾????</p> <pre><ol ><li ><span><span>2000.80.194.0&nbsp;RTM&nbsp;(Release&nbsp;to&nbsp;Manufacturing) &nbsp;</span></span></li><li><span>2000.80.384.0&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;SP1 &nbsp;</span></li><li ><span>2000.80.534.0&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;SP2 &nbsp;</span></li><li><span>2000.80.760.0&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;SP3 &nbsp;</span></li><li ><span>2000.80.760.0&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;SP3a &nbsp;</span></li><li><span>2000.8.00.2039&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;SP4&nbsp;</span></li></ol></pre> <p>?? SQL Server ?汾?????÷?????@@version&nbsp;</p> <pre><ol ><li ><span><span>select&nbsp;@@version &nbsp;</span></span></li><li><span>Microsoft&nbsp;SQL&nbsp;Server&nbsp;2000&nbsp;-&nbsp;8.00.2039&nbsp;(Intel&nbsp;X86) &nbsp;</span></li><li ><span>May&nbsp;3&nbsp;2005&nbsp;23:18:38&nbsp;Copyright&nbsp;(c)&nbsp;1988-2003&nbsp;Microsoft&nbsp;Corporation &nbsp;</span></li><li><span>Enterprise&nbsp;Edition&nbsp;on&nbsp;Windows&nbsp;NT&nbsp;5.2&nbsp;(Build&nbsp;3790:&nbsp;Service&nbsp;Pack&nbsp;1) &nbsp;</span></li><li ><span>Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;-&nbsp;9.00.3042.00&nbsp;(Intel&nbsp;X86) &nbsp;</span></li><li><span>Feb&nbsp;9&nbsp;2007&nbsp;22:47:07&nbsp;Copyright&nbsp;(c)&nbsp;1988-2005&nbsp;Microsoft&nbsp;Corporation &nbsp;</span></li><li ><span>Enterprise&nbsp;Edition&nbsp;on&nbsp;Windows&nbsp;NT&nbsp;5.2&nbsp;(Build&nbsp;3790:&nbsp;Service&nbsp;Pack&nbsp;2)&nbsp;</span></li></ol></pre> <p>?????????@@version ?汾?????л????? OS ?汾??????? @@version ????? SQL Server 6.5 ?????汾??</p> <p>????????????????? SQL Server 2005 ?汾????????????????????</p> [SQL Server]win7??SQLServer2008 ??????????sqlcmd ????? http://www.haxv.top//tech/5371.html www.haxv.top SQL Server 2014/9/29 16:05:52 <p><strong>01 ????<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a></strong></p> <p>Win7?£????SQLServer??????????????/???г???/Microsoft <a target="_blank" href="http://www.haxv.top/zhuanti/sqlserver.html">sql server</a> 2008/SQL Server Management Studio??</p> <p>????&ldquo;????????????????&rdquo;</p> <p>1 ?????????? ?? ?????????<br /> 2 ?????????? ?? 127.0.0.13 ?????? ?? Windows??????</p> <p>?????????????????&ldquo;<strong>(local)</strong>&rdquo;??&ldquo;<strong>.</strong>&rdquo;??&ldquo;<strong>loacalhost</strong>&rdquo;,??????δ???????????????????&ldquo;(local)&rdquo; &nbsp;??????????????</p> <p>??????????????SQLServer ???????????sa???????</p> <p>??????????????&ldquo;?????????????&rdquo;???????????</p> <p><strong>02 ???????????</strong></p> <p>???????????????λ?????</p> <p>???127.0.0.1???&ldquo;+&rdquo;???????????&mdash;????????</p> <p>???????????????????????????????????????????????</p> <p>??????????????????????????ForStudy????????????????????....</p> <p>??????????????????????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201492916821707.jpg" /></p> <p>????????????&ldquo;????&rdquo;??????????????????????Table_1??</p> <p>???ú???????????????????е??????????????е?????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201492916822192.jpg" /></p> <p>Ctrl+S ???漴??</p> <p>??&ldquo;?????????????&rdquo;?????ε??????????????????????dbo.student??</p> <p>????????200?У?????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201492916822333.jpg" /></p> <p>?????????????????????????????????????????????</p> <p><strong>??????????????????????????????????????????????????????</strong></p> <p><strong>???????д?????????????????????????????????ж??????...</strong></p> <p><strong>03 ??ò??????????</strong></p> <p>???&ldquo;??????&rdquo;???????????????????????????????м???</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201492916822683.jpg" /></p> <p><strong>04 ????????????</strong></p> <p>??????????????????????????????????????</p> <p>???????????????????&ldquo;ForStudy&rdquo;???-????-???????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201492916823361.jpg" /></p> <p>???&ldquo;???&rdquo;?????????????????????????????????</p> <p><strong>05 ?????????</strong></p> <p>??????????????μ???</p> <p>???????????????????&ldquo;?????&rdquo;?????&ldquo;????&rdquo;</p> <p>????????????????&ldquo;???&rdquo;???????????????????????.mdf??????</p> <p>?????????ForStudy.mdf,????????????</p> <p><strong>С?????</strong></p> <p>???sqlcmd???sa????</p> <p>CMD????????????123456??????I2e456??</p> <p><span style="color: rgb(255,0,0); font-size: 18px"><strong>sqlcmd ??ù???</strong></span></p> <p>??? sqlcmd ??ù????????????????????????? SQLCMD ???μ?&ldquo;???????&rdquo;?С??? Windows ???????л????? SQL Server ?????????????? (Cmd.exe) ????????????? Transact-SQL ????????????????? ????ù?????? ODBC ??? Transact-SQL ???????</p> <p><strong>??????</strong></p> <p>????????????????? SQLCMD ???£?SQL Server Management Studio ??? Microsoft .NET Framework SqlClient ?????????? ???????????? sqlcmd ???sqlcmd ??? ODBC ???????? ?????????ò??????????????? SQL Server Management Studio SQLCMD ????????? sqlcmd ??ù???????????????????????????????????</p> <p>?????sqlcmd ?????????????????????? ????????????汾?У??????????????????????????</p> <p><strong>??</strong></p> <p>&nbsp;sqlcmd &nbsp;</p> <p>&nbsp; &nbsp;-a packet_size&nbsp;</p> <p>&nbsp; &nbsp;-A (dedicated administrator connection)</p> <p>&nbsp; &nbsp;-b (terminate batch job if there is an error)</p> <p>&nbsp; &nbsp;-c batch_terminator&nbsp;</p> <p>&nbsp; &nbsp;-C (trust the server certificate)</p> <p>&nbsp; &nbsp;-d db_name&nbsp;</p> <p>&nbsp; &nbsp;-e (echo input)</p> <p>&nbsp; &nbsp;-E (use trusted connection)</p> <p>&nbsp; &nbsp;-f codepage | i:codepage[,o:codepage] | o:codepage[,i:codepage]</p> <p>&nbsp; &nbsp;-h rows_per_header&nbsp;</p> <p>&nbsp; &nbsp;-H workstation_name&nbsp;</p> <p>&nbsp; &nbsp;-i input_file&nbsp;</p> <p>&nbsp; &nbsp;-I (enable quoted identifiers)</p> <p>&nbsp; &nbsp;-k[1 | 2] (remove or replace control characters)</p> <p>&nbsp; &nbsp;-K application_intent&nbsp;</p> <p>&nbsp; &nbsp;-l login_timeout&nbsp;</p> <p>&nbsp; &nbsp;-L[c] (list servers, optional clean output)</p> <p>&nbsp; &nbsp;-m error_level&nbsp;</p> <p>&nbsp; &nbsp;-M multisubnet_failover&nbsp;</p> <p>&nbsp; &nbsp;-N (encrypt connection)</p> <p>&nbsp; &nbsp;-o output_file&nbsp;</p> <p>&nbsp; &nbsp;-p[1] (print statistics, optional colon format)</p> <p>&nbsp; &nbsp;-P password&nbsp;</p> <p>&nbsp; &nbsp;-q &quot;cmdline query&quot;&nbsp;</p> <p>&nbsp; &nbsp;-Q &quot;cmdline query&quot; (and exit)</p> <p>&nbsp; &nbsp;-r[0 | 1] (msgs to stderr)</p> <p>&nbsp; &nbsp;-R (use client regional settings)</p> <p>&nbsp; &nbsp;-s col_separator&nbsp;</p> <p>&nbsp; &nbsp;-S [protocol:]server[\instance_name][,port]</p> <p>&nbsp; &nbsp;-t query_timeout&nbsp;</p> <p>&nbsp; &nbsp;-u (unicode output file)</p> <p>&nbsp; &nbsp;-U login_id&nbsp;</p> <p>&nbsp; &nbsp;-v var = &quot;value&quot;&nbsp;</p> <p>&nbsp; &nbsp;-V error_severity_level&nbsp;</p> <p>&nbsp; &nbsp;-w column_width&nbsp;</p> <p>&nbsp; &nbsp;-W (remove trailing spaces)</p> <p>&nbsp; &nbsp;-x (disable variable substitution)</p> <p>&nbsp; &nbsp;-X[1] (disable commands, startup script, environment variables and optional exit)</p> <p>&nbsp; &nbsp;-y variable_length_type_display_width&nbsp;</p> <p>&nbsp; &nbsp;-Y fixed_length_type_display_width&nbsp;</p> <p>&nbsp; &nbsp;-z new_password &nbsp;</p> <p>&nbsp; &nbsp;-Z new_password (and exit)</p> <p>&nbsp; &nbsp;-? (usage)</p> [MySQL]???mysql??pid?????????????????????? http://www.haxv.top//tech/5367.html www.haxv.top MySQL 2014/9/23 9:14:57 <p><strong>?????&ldquo;Starting MySQL&hellip;&hellip; ERROR! Manager of pid-file quit without updating file&rdquo;????????</strong></p> <p>?????mysql?????????????????????mysql????????????,?????????С????Щ?????????????????????????????</p> <p>??????????????,????mysql??var????cd<br /> /usr/local/mysql/var/?????vi<br /> mysql-bin.index,????????????????????????ɡ??????????н????var???μ?*.err?????????ж??</p> <p>???mysql???????????????</p> <p>vi /etc/my.cnf</p> <p>log-bin=mysql-bin</p> <p>binlog_format=mixed</p> <p>?????????У????????</p> [SQL Server]???sql server 2008 ??????????????? http://www.haxv.top//tech/5363.html www.haxv.top SQL Server 2014/9/11 20:34:35 <p>??????????????????????????SQL 2008???????????SQL?????汾???????????????????????????????????????????????????????????????????????·??</p> <p><strong>????1??&amp;#65279;???<a target="_blank" href="http://www.haxv.top/zhuanti/sqlserver.html">sql server</a> 2008 R2?????????????????????????????? Microsoft Visual Studio 2008 ??????汾</strong>???????? SQL Server 2008 ??? Microsoft Visual Studio 2008 ?????? SP1??</p> <p>???????????????<a target="_blank" href="http://www.haxv.top/soft/12904.html">vs2008</a>???????????????????SP1???????????800??M???С???????????????????????鷳????????????????????????????????????????????????????????????????????£?</p> <p><strong>?????????</strong></p> <p>????????</p> <p><span style="color: rgb(255,0,0)">???????????HKEY-Local-Machine/Software/Microsoft/DevDiv??????????</span>??</p> <p>????ú?????????</p> <p>??SQL Server???????????????????????????????????????????</p> <p><strong>????2?????SQL2008????????SQL2005Express???????????</strong></p> <p>????SQL2008????????????SQL2005EXPRESS????????????????????????????????????????????????????????????????:HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM????ShellSEM????????????????ɡ?</p> <p><strong>?????? SQL Server 2008 Management Studio Express</strong></p> <p>????????</p> <p>??windows7??????????SQL Server 2008 Express ????????????SP3????????????????SQL Server 2008 Management Studio Express ??????????????????У??????? Management ????????</p> <p>?????????</p> <p>?????sql server2008???????(?????????microsoft sql server 2008??????)????????????express?????????и???????Express??????SQL Server 2008 Management Studio Express???????????????????????????</p> <p>?????????</p> <p>????SQL Server 2008 Management Studio Express ?????? &rdquo;?????????????????????&ldquo; ????????????????????????? SP1 ???????????????????????и???????express???????????????????????? &rdquo;???г???&ldquo;???????????????κ?????</p> <p><strong>????3???????????SQL Server 2008 Management Studio Express??????</strong></p> <p><span style="line-height: 1em">???sql server 2008 express??visual studio 2010?????????????????management studio ???????????????????????????SQL Server 2008 Management Studio Express?????δ??????</span><br /> &nbsp;</p> <p>?????????????????????????????????η????</p> <p>VS2010?????SQL Server??Express???????????&ldquo;SQL Server???????&gt;???&gt;?汾????&rdquo;????????????&ldquo;???и???????Express&rdquo;???????????????????SQL Server 2008 Management Studio Express?????????????ε???SQL Server???????????&ldquo;???&gt;???SQL Server??????????????а????????&rdquo;???????????????Management Studio???</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201491120415346.png" /></p> <p>?????????и???????express?汾???Щ?????</p> <p>???и??????? SQL Server Express ??? SQL Server 2005 Express Edition ?е?????????????????????й????</p> <p>???? SQL Server 2005 Management Studio Express (SSMSE) ????μ???????????ι?????????????? SQL Server Express??</p> <p>?? SQL Server ???д?????????????????? ????????????????????????????????????</p> <p>??????????????? SQL Server Reporting Services ?????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201491120415859.png" /></p> <p>?????????management studio express????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-9/201491120415127.png" /></p> <p><strong>????4????????????ü??RebootRequiredCheck???????????????</strong></p> <p>?????????? &nbsp;</p> <p>GlobalRules: ????????&ldquo;GlobalRules&rdquo;?? SQL Server 2008 ??????????ü??</p> <p>RebootRequiredCheck<br /> ????????????????????????????????????????°??????????<br /> ???<br /> ??????????????????????????????????????? SQL Server??</p> <p>??????鶼??&ldquo;?????&rdquo;??</p> <p><strong>?????????</strong></p> <p><strong>?????????????????</strong></p> <p>1. ????-&gt;??????????regedit&nbsp;??<br /> 2. ??? HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager λ?? ??<br /> 3. ???????????????PendingFileRenameOperations??????????????? ??<br /> 4. ???????e??????????????ɡ?</p> <p><strong>????5??SQL Server 2008???????Error writing to file:Microsoft.analysisServices.AdomdClient.dll.</strong></p> <p><strong>????????</strong></p> <p>==========</p> <p>SQL Server 2008 ????氳???Windows Server 2008?????????????</p> <p>Error writing to file:Microsoft.analysisServices.AdomdClient.dll. Verify that you have access to that directory.</p> <p><strong>???????</strong></p> <p>==========</p> <p>???????????????????′????????</p> <p>1.??????Install_sql_common_core_Cpu32_Action ?? InstallFiles. Copying new files????????′????????</p> <p>Error writing to file:Microsoft.analysisServices.AdomdClient.dll. Verify that you have access to that directory.</p> <p>2.??????Install_SqlBrowser_Cpu32_Action????????′????????</p> <p>?????????????豸??????The system cannot read from the specified device.??</p> <p>3.??Detail.txt?д??????′????????</p> <p>Bootstrap/Log/20110620_153155/Registry_SOFTWARE_Microsoft_MSSQLServer.reg_</p> <p>2011-06-20 16:07:03 Slp: ?????????????豸??????</p> <p>2011-06-20 16:07:03 Slp: Watson bucket for Msi based failure has been created</p> <p>2011-06-20 16:07:03 Slp: InstallPackage: MsiInstallProduct returned the result code 30.</p> <p>2011-06-20 16:07:03 Slp: Retry-able MSI return code detected: 30</p> <p>2011-06-20 16:07:03 Slp: Prompting user if they want to retry this action due to the following failure:</p> <p>2011-06-20 16:07:03 Slp: ----------------------------------------</p> <p>2011-06-20 16:07:03 Slp: The following is an exception stack listing the exceptions in outermost to innermost order</p> <p>2011-06-20 16:07:03 Slp: Inner exceptions are being indented</p> <p>2011-06-20 16:07:03 Slp:</p> <p>2011-06-20 16:07:03 Slp: Exception type: Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionException</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp; Message:</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL Server ????????????? Windows Installer ????????????</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Installer ???????: ?????????????豸??????</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Installer ???: N:/x86/setup/sqlbrowser.msi</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Installer ??????: C:/Program Files/Microsoft SQL Server/100/Setup Bootstrap/Log/20110620_153155/SqlBrowser_Cpu32_1.log</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp; Data:</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DisableRetry = true</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp; Inner exception type: System.ComponentModel.Win32Exception</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Message:</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?????????????豸??????</p> <p>2011-06-20 16:07:03 Slp:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp [SQL Server]sql????У????????????????drop??truncate??delete???÷? http://www.haxv.top//tech/5358.html www.haxv.top SQL Server 2014/8/31 14:59:51 <p>???????????С??????????????????<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>???е????????????Щ?????????????????????</p> <p>?????????????????,???????????????delete??</p> <p>????????????????,????????????.??????????????t???????</p> <p>?????????????????????,??????????????,???????????????</p> <p><strong>???------drop</strong></p> <p>???????:drop table &nbsp;tb&nbsp;--tb?????????????,???</p> <p>????:??????????壬??????????????<strong>???????????</strong>.????????????????????,?????????????,</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;????:?????????????,?????????е?????,??????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;drop table class,??????????????.???????????</p> <p>????????TestSchool??????????????[Classes]???[Teacher]??</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311540337.png" /></p> <p>???????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311540717.png" /></p> <p>Classes???????,??????! ????÷??????,?????????????</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311541307.png" /></p> <p><strong>???-----truncate</strong></p> <p>???????:truncate table tb</p> <p>????:?????????????????????塣??drop???????,????????????????,?????????.</p> <p>???????????,?????????е????.????,?????,????????????????????,?????????????</p> <p>???????????????,???????????????????,??????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" baiduimageplusstatus="1" baiduimageplusoriginalsrc="/upload/tech/UploadPic/2014-8/20148311541943.png" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311541943.png" /></p> <p>??????????:???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" baiduimageplusstatus="1" baiduimageplusoriginalsrc="/upload/tech/UploadPic/2014-8/20148311542675.png" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311542675.png" /></p> <p>?????????,???????????????,?????????????</p> <p>?????????,?????????????.???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311542461.png" /></p> <p>???:Id?б????,????delete????????,???????????в?????(??????delete????????????)</p> <p>????truncate table Teacher ??? ??????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-8/20148311542534.png" /></p> <p>???:???Id??????,???????????????,???????????(??????truncate??????????)</p> <p>???:truncate ?????????????,???????????</p> <p><strong>????-----delete</strong></p> <p>???????:delete table tb &nbsp;&nbsp;--????????????????????,?????????????(???????е??,Ч???truncate??)<br /> &nbsp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ??</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete table tb where ????</p> <p>????:??????????????壬?????????????????????????????</p> <p>??????delete????????????,????????</p> <p>????truncate??СС???:</p> <p>truncate table ??????????? WHERE ???? delete???????????????????е?????С?</p> <p>?? truncate ?? delete???????????????????????????</p> <p>delete ???????????У????????????????????????м????????????delete????????roll back</p> <p>1??truncate ???????????????????С?????????????ROLLBACK????Delete????????????&nbsp;truncate&nbsp;??????????&nbsp;<br /> 2??truncate ?????DDL??????????????е?DDL???????????????????????????&nbsp;truncate&nbsp;???ROLLBACK???&nbsp;<br /> 3??truncate&nbsp;???????????????????е??????????????????????????????????????&nbsp;truncate&nbsp;?????????Delete?????????????&nbsp;<br /> 4??truncate&nbsp;????????κ?Delete????????&nbsp;<br /> 5????????????????????????????ó?????С????delete?????&nbsp;<br /> 6????????????</p> [MySQL]Mysql????Windows 7/8?????????MySQL??????????? http://www.haxv.top//tech/5353.html www.haxv.top MySQL 2014/8/25 20:04:12 <p>????????С????????????????????????????phpcms?????????????????????????????????????£??????????????????????????????</p> <p>?????windows??????????????????????????????????????????<a target="_blank" href="http://www.haxv.top/soft/23044.html">mysql</a>????????1??????????????</p> <p><strong>???????</strong></p> <p>??????????????????????????????xdebug???????????????????????????????????mysql?????????????????95%????????</p> <p>?????mysql???????????????mysql?????????鸚?????????????????????????my.ini???????????????????????????</p> <p>?????????????????????????е????????????localhost??????127.0.0.1??????????1???????????????</p> <p>????ip???????????????localhost????????????cmd??????ping localhost??ping??????????????????</p> <center><img border="1" alt="Mysql????Windows 7/8?????????MySQL???????????_????????" width="654" height="239" style="cursor: hand" src="/upload/tech/UploadPic/2014-8/201482520745499.png" /></center> <p>????localhost ???????? ipv6 ??? ::1?????????????????????????????????localhost??????????????????????ipv6???::1?????????????????????????mysql, ?????????mysql????????ipv4???127.0.0.1, ipv6??????????????????ipv4???127.0.0.1, ????????1??????????????</p> <p>??windows??hosts??????????????????</p> <p># localhost name resolution is handled within DNS itself.</p> <p># 127.0.0.1 localhost</p> <p># ::1 localhost</p> <p><strong>???????</strong></p> <p>????1. ???127.0.0.1??????localhost?????mysql??</p> <p>????2. ??hosts???????127.0.0.1????localhost??</p> [SQL Server]SQL???????δ???SSL/TLS?????????????ι??????????? http://www.haxv.top//tech/5345.html www.haxv.top SQL Server 2014/7/27 17:16:19 <p>???κα?????????????δ??? SSL/TLS ?????????????ι????</p> <p>???????:SQL????????????У???????SSL?????</p> <p><strong>?????????<br /> </strong>1.???SQL????????????е?SSL?????<br /> 2.???SQL?????????????<br /> λ???X:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config<br /> ??????&lt;Add Key=&quot;SecureConnectionLevel&quot; Value=&quot;0&quot;/&gt;?????????Value=&quot;2&quot;????&quot;Value=&quot;0&quot;??</p> [Oracle]Oracle 11gR2 ????????????(Windows) http://www.haxv.top//tech/5341.html www.haxv.top Oracle 2014/7/23 21:00:42 <p>1???????????????????????????????????????????<br /> http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html&nbsp;</p> <p>2?????????????????????У??磺C:\instantclient_11_2</p> <p>3?????????????? <br /> TNS_ADMIN ????? C:\instantclient_11_2 <br /> ORACLE_HOME ????? C:\instantclient_11_2</p> <p>4??????????????? tnsnames.ora?????????????????????????(C:\instantclient_11_2)?д?????????????????????????? <br /> MYDB =<br /> (DESCRIPTION =<br /> (ADDRESS_LIST =<br /> (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.250)(PORT = 1521))<br /> )<br /> (CONNECT_DATA =<br /> (SERVER = DEDICATED)<br /> (SERVICE_NAME = MYDB)<br /> )<br /> )</p> <p>MYDB??????????????<br /> 192.168.3.259?????????? IP ???<br /> 1521????????????</p> <p>5?????????????? PLSQL Developer ?? TOAD ????????????? Oracle ????????</p> [Oracle]eclipse????oracle 11g?????????? http://www.haxv.top//tech/5339.html www.haxv.top Oracle 2014/7/23 20:55:39 <p><a target="_blank" href="http://www.haxv.top/soft/20025.html">Eclipse</a> ????????????????????Java??????????????Eclipse ????????????????????????Java?????????Java Development Kit??JDK????</p> <p>1.???????????????DB????????DB,???Build Path--&gt;Configure Build Path????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205815153.jpg" /></p> <p>???Add External JARs..???D:\orcl\app\hr\product\11.2.0\dbhome_1\owb\wf\lib?μ?ojdbc14.jar?????ok??</p> <p><strong>2.??дConnectOracle.java???</strong></p> <p>package com.wuy;</p> <p>import java.sql.Connection;<br /> import java.sql.DriverManager;<br /> import java.sql.SQLException;</p> <p><br /> public class ConnectOracle {</p> <p>&nbsp;private Connection con;<br /> &nbsp;private String user=&quot;scott&quot;;<br /> &nbsp;//private String user = &quot;sys as sysdba&quot;;<br /> &nbsp;private String password=&quot;18233188050&quot;;<br /> &nbsp;private String className=&quot;oracle.jdbc.driver.OracleDriver&quot;;<br /> &nbsp;//private String url=&quot;jdbc:oracle:oci@localhost:1158:orcl&quot;;???url??????Ч<br /> &nbsp;private String url = &quot;jdbc:oracle:thin:@hr-PC:1521:orcl&quot;;hr-PC??1521????,?????????????????????????<br /> D:\orcl\app\hr\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora????????????У?????????tnsnames.ora????????????url·?????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205815554.jpg" /></p> <p><br /> &nbsp;public ConnectOracle(){<br /> &nbsp;&nbsp;try{<br /> &nbsp;&nbsp;&nbsp;Class.forName(className);<br /> &nbsp;&nbsp;&nbsp;System.out.println(&quot;??????????????????&quot;);<br /> &nbsp;&nbsp;}catch(ClassNotFoundException e){<br /> &nbsp;&nbsp;&nbsp;System.out.println(&quot;?????????????????&quot;);<br /> &nbsp;&nbsp;&nbsp;e.printStackTrace();<br /> &nbsp;&nbsp;}<br /> &nbsp;}</p> <p><strong>&nbsp;/**?????????????*/</strong><br /> &nbsp;public Connection getCon(){<br /> &nbsp;&nbsp;try {<br /> &nbsp;&nbsp;&nbsp;con=DriverManager.getConnection(url,user,password);<br /> &nbsp;&nbsp;&nbsp;System.out.println(&quot;?????????????????&quot;);<br /> &nbsp;&nbsp;} catch (SQLException e) {<br /> &nbsp;&nbsp;&nbsp;System.out.print(con);<br /> &nbsp;&nbsp;&nbsp;System.out.println(&quot;?????????????????&quot;);<br /> &nbsp;&nbsp;&nbsp;con=null;<br /> &nbsp;&nbsp;&nbsp;e.printStackTrace();<br /> &nbsp;&nbsp;}<br /> &nbsp;&nbsp;return con;<br /> &nbsp;}&nbsp;</p> <p>&nbsp;public void closed(){<br /> &nbsp;&nbsp;try{<br /> &nbsp;&nbsp;&nbsp;if(con!=null){<br /> &nbsp;&nbsp;&nbsp;&nbsp;con.close();<br /> &nbsp;&nbsp;&nbsp;}<br /> &nbsp;&nbsp;}catch(SQLException e){<br /> &nbsp;&nbsp;&nbsp;System.out.println(&quot;???con????????&quot;);<br /> &nbsp;&nbsp;&nbsp;e.printStackTrace();<br /> &nbsp;&nbsp;}<br /> &nbsp;}</p> <p>&nbsp;public static void main(String[] args)<br /> &nbsp;{<br /> &nbsp;&nbsp;ConnectOracle c=new ConnectOracle();<br /> &nbsp;&nbsp;c.getCon();<br /> &nbsp;&nbsp;c.closed();<br /> &nbsp;}<br /> }</p> <p><strong>3.???н????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205815270.jpg" /></p> [Oracle]Oracle 11g????????? Oracle 11g????180?????????????? http://www.haxv.top//tech/5338.html www.haxv.top Oracle 2014/7/23 20:48:42 <p>???????Oracle<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>??????????????????????????????????????</p> <p>???????????????????????????????????????????????μ??????????????????????????????????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205438836.png" /></p> <p>????????У???????????????????????????????????????????????????????????????鷳???????SQL??????Oracle???????</p> <p>????????alter user system identified by sa;</p> <p>????system??????????sa??????????????????μ????????????????????</p> <p>??????????????alter profile default limit password_life_time unlimited;</p> <p>?????????????????????????????????DBA?????????</p> <p><strong>11g oracle ??????????????</strong></p> <p>Oracle 11g ???????????????????????????????Oracle 11g ??????profile??????????????????180?????£?<br /> select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';<br /> ????????????alter&nbsp;user userXXX identified by xxx;???????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205438113.png" /></p> <p>?????????????????????ù??????????????У?<br /> &nbsp;ALTER&nbsp;PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;<br /> ???ɡ?<br /> ????????????<br /> select&nbsp;* from dba_profiles where profile='DEFAULT' and RESOURCE_NAME like 'PASSWORD%';</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-7/2014723205439317.gif" /></p> <p><strong>FAILED_LOGIN_ATTEMPTS</strong>&nbsp;????<br /> ?趨?????Oracle ?????????????????????????????????????????????????????????????????????DBA???????<br /> <strong>PASSWORD_LIFE_TIME<br /> </strong>?趨???????Ч???????????????????????????????????????180??11g??10gUNLIMITED??.<br /> <strong>PASSWORD_REUSE_TIME<br /> </strong>???????????????????ù???ù?????????????趨??????Ч????????????????????????????????????UNLIMITED.<br /> <strong>PASSWORD_REUSE_MAX<br /> </strong>???????????????ù??????????????????????????????????????????????<br /> <strong>PASSWORD_LOCK_TIME<br /> </strong>?趨??????????????????????????FAILED_LOGIN_ATTEMPTS?????<br /> <strong>PASSWORD_GRACE_TIME<br /> </strong>?趨??????Ч???????????????????????????????Ч??????????????????????????????????????????????????????????Ч??<br /> <strong>PASSWORD_VERITY_FUNCTION<br /> </strong>?????????????????PL/SQL ????????Oracle???????????? ???????????????????????????????????????????ò??????趨????PL/SQL??????????????NULL.</p> <p><strong>oracle 11g ???????180???????????</strong></p> <p>alter profile default limit password_life_time unlimited;</p> <p>select * dba_profiles where profile=&lsquo;DEFAULT&rsquo; and resource-name=&lsquo;PASSWORD_LlFE_TIME&rsquo;;</p> <p><strong>oracle 11g 180??????</strong></p> <p>?????????????</p> <p>select * from dba_profiles where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';</p> <p>?????????ò?????</p> <p>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;</p> <p>????????</p> <p>alter user ccc&nbsp;identified by ddd;</p> [MySQL]???MySQL????????mysql-bin.0000*????????Starting MySQL.Manager of pid-file quit without updating http://www.haxv.top//tech/5310.html www.haxv.top MySQL 2014/6/20 13:25:53 <p><strong>MySQL</strong>??????????????????????????????????????????????????????/usr/local/mysql/var/???????mysql- bin.0000* ?????????????????????MB??????GB???????????????????????????mysql???????????<br /> &nbsp;</p> <p>??ι??MySQL??????????</p> <p>????????<br /> ??У?/usr/local/mysql/bin/mysql -u root -p</p> <p>????????????????У?reset master;<br /> ??????quit ???mysql????????</p> <p>???????MySQL????????/etc/my.cnf ????????<br /> log-bin=mysql-bin<br /> binlog_format=mixed</p> <p>??????????????#????????????????/etc/init.d/mysql restart???ɡ?<br /> ?????????????????????/etc/my.cnf?????<br /> expire_logs_days = 30<br /> ???????mysql??????30????????????????</p> <p>???????????mysql???????????????mysql??????????????mysql???????<br /> ??????????????<br /> Starting MySQL.Manager of pid-file quit without updating file.[FAILED]</p> <p>?????в???????????????????????????????<br /> data/mysql-bin.index ????????data/mysql-bin.index?????????????????????????????????????ж??????????????????????????е??</p> <p>???data/mysql-bin.index???????service mysqld start????????</p> [SQL Server]???????sql server 2005????????? http://www.haxv.top//tech/3702.html downcc.com SQL Server 2014/3/11 15:14:06 <p><strong>????</strong></p><p>[??SQL SERVER 2005???]???????2005???Щ????????????????????????????????</p><p><a href="http://www.haxv.top/soft/9159.html" target="_blank">sql2005 ?????????</a><br/><br/><a href="http://www.haxv.top/soft/9015.html" target="_blank">Microsoft SQL Server 2005?????????</a></p><p><strong>????????</strong> <br/>1??SQL Server 2005 ????汾?????? <br/>???????????????????? SQL Server ?汾??????SQL Server 2005 Enterprise Edition??SQL Server 2005 Standard Edition ?? SQL Server 2005 Workgroup Edition???????????????Щ?汾???????? Enterprise Edition??Standard Edition ?? Workgroup Edition ?????????????????????а??????á? <br/>?????? Enterprise Edition??Standard Edition ?? Workgroup Edition ??SQL Server 2005 ?????? SQL Server 2005 Developer Edition ?? SQL Server 2005 Express Edition?????????????????е?????汾????????????????????汾?? <br/>2??????????? <br/>1???????????? <br/>????????????????????????????????????Э?飺Shared Memory??Named Pipes??TCP/IP??VIA <br/>2??Internet ???</p><p><table border="1" bgcolor="#cccccc" uetable="null"><tbody><tr class="firstRow"><td>Internet ??????? (IIS)</td><td>??? Microsoft SQL Server 2005 Reporting Services (SSRS) ??? IIS 5.0 ?????汾??</td></tr></tbody></table><br/>????????????? <br/>SQL Server ?????????? Microsoft Windows Installer 3.1 ?????汾??? Microsoft ?????????? (MDAC) 2.8 SP1 ?????汾?????????? Microsoft ??????? MDAC 2.8 SP1?? <br/>SQL Server ?????????ò??????????????????? <br/>????????Microsoft Windows .NET Framework 2.0 <br/>????????Microsoft SQL Server ????????? <br/>????????Microsoft SQL Server ????????????? <br/><strong>??????</strong> <br/>????SQL??SERVER??2005???????????????2000????????????????????2000???????????????128M?????64M??????<table border="1" bgcolor="#cccccc" uetable="null"><tbody><tr class="firstRow"><td><br/>SQL Server 2005??32 λ??</td><td><br/>??????????1</td><td><br/>?????????2</td><td><br/>??? (RAM)3</td></tr><tr><td><br/>SQL Server 2005 Enterprise Edition 4 <br/>SQL Server 2005 Developer Edition <br/>SQL Server 2005 Standard Edition</td><td><br/>??? Pentium III ???????????????????????</td><td><br/>????600 MHz <br/>???飺1 GHz ?????</td><td><br/>??С??512 MB <br/>???飺1 GB ????? <br/>?????????????????</td></tr></tbody></table><br/>????????2005 <br/>????????????? 32 λ?汾?? SQL Server 2005??????????????????????????????<table border="1" bgcolor="#cccccc" uetable="null"><tbody><tr class="firstRow"><td><br/>&nbsp;</td><td><p><br/>Enterprise</p><p>Edition1</p></td><td><p><br/>Developer</p><p>Edition</p></td><td><p><br/>Standard</p><p>Edition</p></td><td><p><br/>Workgroup</p><p>Edition</p></td><td><p><br/>Express</p><p>Edition</p></td><td><p><br/>Evaluation</p><p>Edition</p></td></tr><tr><td><br/>Windows 2000</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2000 Professional Edition SP42??4</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2000 Server SP42</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2000 Advanced Server SP42</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2000 Datacenter Edition SP42</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>???? Windows XP</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows XP Home Edition SP2</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows XP Professional Edition SP24</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows XP Media Edition SP2</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows XP Tablet Edition SP2</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2003 Server SP1</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td><td><br/>??</td></tr><tr><td><br/>Windows 2003 Enterprise Edition SP1</td><td><br/>??</td><td><br/>??</td><td></td><td></td><td></td><td></td></tr></tbody></table></p> [MySQL]Python????mysql?????python???mysqldb????????? http://www.haxv.top//tech/5241.html www.haxv.top MySQL 2014/2/25 19:02:35 <p>??python???????????<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>?????????????????????????????????????????python??MysqlDB???????????????????????????????°??</p> <p>?????????????????????????鰱?????????????????????????к???????????e???????python???????μ?Lib??????μ?site-packages??????μ?MySQLdb????У?????д?????????????塣????????????????????????????import MySQLdb</p> <p><strong>???????????</strong></p> <p>?????????????????????????????????????????????£?</p> <p>db = MySQLdb.connect(&quot;localhost&quot;,&quot;root&quot;,&quot;123456&quot;,&quot;myciti&quot; )<br /> &nbsp;</p> <p>???????????????????????????????????????????????????????????????dbms??????????????????????????connect??????????????Щ??????????????????????????????2???????????????????????????б??</p> <p>host?????????????????????????????????????(localhost)??</p> <p>user???????????????????????????????</p> <p>passwd???????????????????</p> <p>db?????????????????????????</p> <p>conv???????????Python????????????MySQLdb.converters.conversions</p> <p>cursorclass??cursor()?????????????MySQLdb.cursors.Cursor??</p> <p>compress??????Э??<a target="_blank" href="http://www.haxv.top/zhuanti/yasuo.html">???</a>?????</p> <p>named_pipe????windows?У????????????????????</p> <p>init_command?????????????????????????????????????????С?</p> <p>read_default_file??????????MySQL?????????</p> <p>read_default_group???????????顣</p> <p>unix_socket????unix?У?????????????????????TCP??</p> <p>port?????????????????????????????3306</p> <p>?????????????????????????????????MySQLdb??connect??????ò?????????????3306???????????mysql???????????????????????????????????м???ò????????????</p> <p><strong>??????mysql</strong></p> <p>?????windows&nbsp;?????mysql&nbsp;???????????????????????????????????????????в??????ɡ?</p> <p>Linux&nbsp;?μ?????????????????????????????а????????linux&nbsp;????ж?????mysql&nbsp;????????????????????????????????</p> <p>Ubuntu\deepin</p> <p>&gt;&gt;sudo&nbsp;apt-get&nbsp;install&nbsp;mysql-server&nbsp;</p> <p>&gt;&gt;Sudo&nbsp;apt-get&nbsp;install&nbsp;&nbsp;mysql-client</p> <p>centOS/redhat</p> <p>&gt;&gt;yum&nbsp;install&nbsp;mysql</p> <p><strong>???????MySQL-python</strong></p> <p>????python???????mysql&nbsp;?????MySQL-python??????????python&nbsp;????mysql??????????顣</p> <p>????????https://pypi.python.org/pypi/MySQL-python/</p> <p>????MySQL-python-1.2.5.zip&nbsp;?????????????????MySQL-python-1.2.5??:</p> <p>&gt;&gt;python&nbsp;setup.py&nbsp;install</p> <p><strong>????????</strong></p> <p>?????????????MySQLdb&nbsp;?????????????????</p> <pre> fnngj@fnngj-H24X:~/pyse$&nbsp;python&nbsp; Python&nbsp;2.7.4&nbsp;(default,&nbsp;Sep&nbsp;26&nbsp;2013,&nbsp;03:20:56)&nbsp; [GCC&nbsp;4.7.3]&nbsp;on&nbsp;linux2 Type&nbsp;&quot;help&quot;,&nbsp;&quot;copyright&quot;,&nbsp;&quot;credits&quot;&nbsp;or&nbsp;&quot;license&quot;&nbsp;for&nbsp;more&nbsp;information. &gt;&gt;&gt;&nbsp;import&nbsp;MySQLdb</pre> <p><br /> &nbsp;??б??????MySQLdb????????????????OK&nbsp;?????濪????python&nbsp;??????????????????б??????????mysql???????????</p> <p><strong>???mysql&nbsp;?????????</strong></p> <p>$&nbsp;mysql&nbsp;-u&nbsp;root&nbsp;-p&nbsp;&nbsp;???????????</p> <p>$&nbsp;mysql&nbsp;-u&nbsp;root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;???????????</p> <pre> mysql&gt;&nbsp;show&nbsp;databases;&nbsp;&nbsp;//&nbsp;????????е?????? +--------------------+ |&nbsp;Database&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| +--------------------+ |&nbsp;information_schema&nbsp;| |&nbsp;csvt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;csvt04&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;mysql&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;performance_schema&nbsp;| |&nbsp;test&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| +--------------------+ 6&nbsp;rows&nbsp;in&nbsp;set&nbsp;(0.18&nbsp;sec) mysql&gt;&nbsp;use&nbsp;test;&nbsp;&nbsp;&nbsp;//??????test????? Database&nbsp;changed mysql&gt;&nbsp;show&nbsp;tables;&nbsp;&nbsp;&nbsp;//??test???????? Empty&nbsp;set&nbsp;(0.00&nbsp;sec) //????user???name&nbsp;??password&nbsp;??????? mysql&gt;&nbsp;CREATE&nbsp;&nbsp;TABLE&nbsp;&nbsp;user&nbsp;(name&nbsp;VARCHAR(20),password&nbsp;VARCHAR(20));&nbsp;&nbsp;Query&nbsp;OK,&nbsp;0&nbsp;rows&nbsp;affected&nbsp;(0.27&nbsp;sec) //??user???????????????? mysql&gt;&nbsp;insert&nbsp;into&nbsp;user&nbsp;values('Tom','1321');Query&nbsp;OK,&nbsp;1&nbsp;row&nbsp;affected&nbsp;(0.05&nbsp;sec) mysql&gt;&nbsp;insert&nbsp;into&nbsp;user&nbsp;values('Alen','7875');Query&nbsp;OK,&nbsp;1&nbsp;row&nbsp;affected&nbsp;(0.08&nbsp;sec) mysql&gt;&nbsp;insert&nbsp;into&nbsp;user&nbsp;values('Jack','7455');Query&nbsp;OK,&nbsp;1&nbsp;row&nbsp;affected&nbsp;(0.04&nbsp;sec) //??user??????? mysql&gt;&nbsp;select&nbsp;*&nbsp;from&nbsp;user;+------+----------+ |&nbsp;name&nbsp;|&nbsp;password&nbsp;| +------+----------+ |&nbsp;Tom&nbsp;&nbsp;|&nbsp;1321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;Alen&nbsp;|&nbsp;7875&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;Jack&nbsp;|&nbsp;7455&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| +------+----------+ 3&nbsp;rows&nbsp;in&nbsp;set&nbsp;(0.01&nbsp;sec) //???name&nbsp;????Jack?????? mysql&gt;&nbsp;delete&nbsp;from&nbsp;user&nbsp;where&nbsp;name&nbsp;=&nbsp;'Jack';Query&nbsp;OK,&nbsp;1&nbsp;rows&nbsp;affected&nbsp;(0.06&nbsp;sec) //???name????Alen&nbsp;??password&nbsp;?&nbsp;1111 mysql&gt;&nbsp;update&nbsp;user&nbsp;set&nbsp;password='1111'&nbsp;where&nbsp;name&nbsp;=&nbsp;'Alen';Query&nbsp;OK,&nbsp;1&nbsp;row&nbsp;affected&nbsp;(0.05&nbsp;sec) Rows&nbsp;matched:&nbsp;1&nbsp;&nbsp;Changed:&nbsp;1&nbsp;&nbsp;Warnings:&nbsp;0 //???????? mysql&gt;&nbsp;select&nbsp;*&nbsp;from&nbsp;user;+--------+----------+ |&nbsp;name&nbsp;&nbsp;&nbsp;|&nbsp;password&nbsp;| +--------+----------+ |&nbsp;Tom&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;1321&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| |&nbsp;Alen&nbsp;&nbsp;&nbsp;|&nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| +--------+----------+ 3&nbsp;rows&nbsp;in&nbsp;set&nbsp;(0.00&nbsp;sec)</pre> <p><strong>?壬python&nbsp;????mysql????????</strong></p> <pre> #coding=utf-8import&nbsp;MySQLdb conn=&nbsp;MySQLdb.connect( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;host='localhost', &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;port&nbsp;=&nbsp;3306, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user='root', &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;passwd='123456', &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db&nbsp;='test', &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) cur&nbsp;=&nbsp;conn.cursor()#?????????#cur.execute(&quot;create&nbsp;table&nbsp;student(id&nbsp;int&nbsp;,name&nbsp;varchar(20),class&nbsp;varchar(30),age&nbsp;varchar(10))&quot;)#???????????#cur.execute(&quot;insert&nbsp;into&nbsp;student&nbsp;values('2','Tom','3&nbsp;year&nbsp;2&nbsp;class','9')&quot;)#???????????????#cur.execute(&quot;update&nbsp;student&nbsp;set&nbsp;class='3&nbsp;year&nbsp;1&nbsp;class'&nbsp;where&nbsp;name&nbsp;=&nbsp;'Tom'&quot;)#????????????????#cur.execute(&quot;delete&nbsp;from&nbsp;student&nbsp;where&nbsp;age='9'&quot;)cur.close() conn.commit() conn.close()</pre> <p>&gt;&gt;&gt;&nbsp;conn&nbsp;=&nbsp;MySQLdb.connect(host='localhost',port&nbsp;=&nbsp;3306,user='root', passwd='123456',db&nbsp;='test',)</p> <p>Connect()&nbsp;????????????????????????????????????????????????????????????</p> <p>????????????????????????????????????α?</p> <p>&gt;&gt;&gt [SQL Server]SQL Server 2008 master??msdb????????????? http://www.haxv.top//tech/5234.html www.haxv.top SQL Server 2014/1/28 10:45:44 <p><a target="_blank" href="http://www.haxv.top/zhuanti/sqlserver.html">sql server</a> 2005 &amp; 2008 master??msdb<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>???????????<span style="line-height: 1em">master??msdb???????????????????????????????????master??msdb???????????Щ????????</span></p> <p>???master??msdb?????????????????????????????????????????</p> <p>????????????Sql Server??????????????????SQL SERVER???????????У???????????????????????????????????????????????Master??Model??Msdb??TempDB???豸???????????????<br /> &nbsp;</p> <p><strong>1?????Master?????</strong><br /> ?????????????Master???????????????????????л???????????????????????????????????? master ?????<br /> A. master ????????????????á?<br /> B. ???? master ?????????????? Microsoft SQL Server ??????????????????????????<br /> 1?????????? master ?????<br /> ???<br /> ?? SQL Server 2005 ?????? Rebuildm.exe ??????????????? master ?????????? setup.exe??<br /> 1?? Start /wait setup.exe /qn INSTANCENAME=&lt;InstanceName&gt; REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=&lt;NewStrongPassword&gt;<br /> ????start /wait e:&ldquo;setup.exe /qn INSTANCENAME=mssqlserver REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=abc123@!@<br /> ???INSTANCENAME??????????????????????mssqlserver???<br /> REINSTALL?????????<br /> SAPWD???????<br /> Setup.exe?????????1?е?????μ????<br /> /qn ??????????????а????????????????????????? /qn ??????????а????????????????????????????д????????????????й????????????????????????β? SQL Server 2005 ???????????<br /> ??? /qb ????????????????????????????????????????<br /> 2?? ???Master????(????master????????????????????(single&nbsp; &nbsp;user)???????&nbsp; )&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;a.????????????????&nbsp; &nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp; &nbsp;&nbsp;1.????????????????sqlservr&nbsp; &nbsp;-c&nbsp; &nbsp;-f&nbsp; &nbsp;-m????????sqlservr&nbsp; &nbsp;-m&nbsp; &nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp; &nbsp;&nbsp;???У?-c&nbsp; &nbsp;??????????????SQL&nbsp; &nbsp;Server&nbsp; &nbsp;?????Windows&nbsp; &nbsp;NT????????&nbsp; &nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;-f&nbsp; &nbsp;????С???????SQL&nbsp; &nbsp;Server&nbsp; &nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp; &nbsp;&nbsp;-m&nbsp; &nbsp;??????????SQL&nbsp; &nbsp;Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> <br /> 2.????????????PATH???????CMD??????&ldquo;C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;Binn&rdquo;?????SQLSERVR.EXE &ndash;M<br /> ??SSMS??????????????????????????????????????<br /> USE master<br /> GO<br /> RESTORE DATABASE master<br /> FROM disk=&lsquo;c:&ldquo;master.bak&lsquo;<br /> GO<br /> ????????~~~<br /> <strong>MASTER????????</strong><br /> ??????MASTER???????,????????MASTER?????(???SQL SERVER??????????)????????,C:&ldquo; PROGRAM FILES&ldquo;MICROSOFT SQL SERVER&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;DATE ?????MASTER.MDF<br /> ????????MASTER<br /> 1.??????CMD??????<br /> start /wait setup.exe /qn INSTANCENAME=&lt;InstanceName&gt; REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=&lt;NewStrongPassword&gt;<br /> ???е? SETUP.EXE?????????·??,????????? E:&ldquo;SETUP.EXE /QN<br /> ?????????????????????е?&lt;INSTANCENAME&gt;?? MSSQLSERVER????<br /> ????&lt;NewStrongPassword&gt;??????????????abc123@!@,???????abc123@!@????&lt;NewStrongPassword&gt;<br /> ????з??????,?????????????????C:&ldquo; PROGRAM FILES&ldquo;MICROSOFT SQL SERVER&ldquo;MSSQL.1&ldquo;DATE????????MASTER.MDF??<br /> ????????????<br /> ???????<br /> ???SSMS????,??????<br /> ????????<br /> ???????(MSSQL SERVER)<br /> ??SSMS<br /> ????????????????????????е????????????<br /> ????????????????????????,???ü??±??????????????????,??????????,?????????????????<br /> Microsoft Windows [?汾 5.2.3790]<br /> (C) ??????? 1985-2003 Microsoft Corp.<br /> C:&ldquo;Documents and Settings&ldquo;Administrator&gt;start /wait e:&ldquo;setup.exe /qn INSTANCENAME=mssqlserver REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=abc123@!@<br /> C:&ldquo;Documents and Settings&ldquo;Administrator&gt;cd C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;Binn<br /> C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;Binn&gt;sqlservr.exe -m<br /> 2008-04-18 15:47:46.56 Server Authentication mode is MIXED.<br /> 2008-04-18 15:47:46.59 Server Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86)<br /> Oct 14 2005 00:33:37<br /> Copyright (c) 1988-2005 Microsoft Corporation<br /> Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)<br /> 2008-04-18 15:47:46.59 Server (c) 2005 Microsoft Corporation.<br /> 2008-04-18 15:47:46.59 Server All rights reserved.<br /> 2008-04-18 15:47:46.59 Server Server process ID is 3984.<br /> 2008-04-18 15:47:46.59 Server Logging SQL Server messages in file &lsquo;C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;LOG&ldquo;ERRORLOG&lsquo;.<br /> 2008-04-18 15:47:46.59 Server This instance of SQL Server last reported using a process ID of 764 at 2008-4-18 15:46:40 (local) 2008-4-18 7:46:40 (UTC). This is an informational message only; no user action is required.<br /> 2008-04-18 15:47:46.60 Server Registry startup parameters:<br /> 2008-04-18 15:47:46.60 Server -d C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;DATA&ldquo;master.mdf<br /> 2008-04-18 15:47:46.60 Server -e C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;LOG&ldquo;ERRORLOG<br /> 2008-04-18 15:47:46.60 Server -l C:&ldquo;Program Files&ldquo;Microsoft SQL Server&ldquo;MSSQL.1&ldquo;MSSQL&ldquo;DATA&ldquo;mastlog.ldf<br /> 2008-04-18 15:47:46.62 Server Command Line Startup Parameters:<br /> 2008-04-18 15:47:46.62 Server -m2008-04-18 15:47:46.64 ?????? SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:46.67 ?????? Detected 1 CPUs. This is an informational message; no user action is required.<br /> 2008-04-18 15:47:46.78 ?????? Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:46.84 ?????? Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:47.95 ?????? Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction oordinator (MS DTC).<br /> This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:47.96 ?????? Database Mirroring Transport is disabled in the endpoint configuration.<br /> 2008-04-18 15:47:47.96 spid5s Warning ******************<br /> 2008-04-18 15:47:47.96 spid5s SQL Server started in single-user mode. This an informational message only. No user action is required.<br /> 2008-04-18 15:47:47.99 spid5s Starting up database &lsquo;master&lsquo;.<br /> 2008-04-18 15:47:48.17 spid5s Recovery is writing a checkpoint in database &lsquo;master&lsquo; (1). This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:48.28 spid5s SQL Trace ID 1 was started by login &quot;sa&quot;.<br /> 2008-04-18 15:47:48.32 spid5s Starting up database ssqlsystemresource&lsquo;.<br /> 2008-04-18 15:47:48.76 spid5s Server name is &lsquo;VM01&lsquo;. This is an informational message only. No user action is required.<br /> 2008-04-18 15:47:48.78 spid8s Starting up database &lsquo;model&lsquo;.<br /> 2008-04-18 15:47:49.20 ?????? A self-generated certificate wa [SQL Server]SQLSERVER???SA????Windows???????????? http://www.haxv.top//tech/5230.html www.haxv.top SQL Server 2014/1/11 23:06:14 <p>????????<strong>?????</strong>???????????????DBA?????Windows????????????SQLSERVER????????????????Windows????????</p> <p>???????</p> <p>???????????????????<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>master</p> <p>?????????????<strong>?????SA???????Windows???????????DBA?????</strong>?????·??</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725185.png" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725725.png" /></p> <p><strong>?????????????????????</strong></p> <p>sa????????????????????Windows??????????Windows??????????????????sysadmin??????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725107.jpg" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725997.jpg" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725886.jpg" /></p> <p><strong>?????</strong>??</p> <p>???SQLSERVER?????????? net stop mssqlserver</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725248.jpg" /></p> <p><strong>?????</strong>??</p> <p>???SQLSERVER??????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123725545.png" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123726812.png" /></p> <p>??????/m /f &nbsp; ????</p> <p><strong>??????</strong>???????????????SQLSERVER</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123726992.png" /></p> <p><strong>??????</strong>????SSMS</p> <p>???????????????????????????????????????????????????????????????DAC????ù?????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123726676.png" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123727295.png" /></p> <p>???????Windows????????????????</p> <p><strong>??????</strong>??????????SQL???</p> <pre> 1&nbsp;--??xp_cmdshell????&nbsp;2&nbsp;EXEC&nbsp;[sys].[sp_configure]&nbsp;@configname&nbsp;=&nbsp;'xp_cmdshell',&nbsp;--&nbsp;varchar(35)&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@configvalue&nbsp;=&nbsp;1&nbsp;--&nbsp;int&nbsp;4&nbsp;RECONFIGURE&nbsp;WITH&nbsp;override&nbsp;5&nbsp;&nbsp;6&nbsp;&nbsp;7&nbsp;--???????????????????????????&nbsp;8&nbsp;USE&nbsp;[master]&nbsp;9&nbsp;GO10&nbsp;EXEC&nbsp;xp_instance_regwrite&nbsp;N'HKEY_LOCAL_MACHINE',&nbsp;N'Software\Microsoft\MSSQLServer\MSSQLServer',&nbsp;N'LoginMode',&nbsp;REG_DWORD,&nbsp;211&nbsp;GO12&nbsp;13&nbsp;--?????????14&nbsp;CREATE&nbsp;LOGIN&nbsp;[???????\Administrator]&nbsp;FROM&nbsp;WINDOWS;15&nbsp;GO16&nbsp;17&nbsp;--??????????????sysadmin18&nbsp;USE&nbsp;master19&nbsp;GO20&nbsp;EXEC&nbsp;[sys].[sp_addsrvrolemember]&nbsp;@loginame&nbsp;=&nbsp;'???????\Administrator',&nbsp;--&nbsp;sysname21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@rolename&nbsp;=&nbsp;sysadmin&nbsp;--&nbsp;sysname22&nbsp;23&nbsp;--???xp_cmdshell????24&nbsp;EXEC&nbsp;[sys].[sp_configure]&nbsp;@configname&nbsp;=&nbsp;'xp_cmdshell',&nbsp;--&nbsp;varchar(35)25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@configvalue&nbsp;=&nbsp;0&nbsp;--&nbsp;int26&nbsp;RECONFIGURE&nbsp;WITH&nbsp;override</pre> <p>?????????????????????????????</p> <p><strong>??????</strong>?????SQLSERVER???????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123727566.png" /></p> <p>??SQLSERVER???ù??????????SQLSERVER</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123727249.png" /></p> <p><strong>??????</strong>?????SQLSERVER</p> <p>???SSMS??????????????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123727887.jpg" /></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123727372.jpg" /></p> <p><strong>???</strong></p> <p>??лi6first?????????????????????????????????????????????????????SQLSERVER??</p> <p><strong>?????SA???????Windows???????????DBA?????</strong></p> <p>???·???SQL???????????????????????windows???????????????????sa???????????????????????????????????????????????ζ???????????</p> <p>SQL???????????windows?????????????????????&ldquo;??????\??????????&rdquo;????????????????????????????????????????????????</p> <p>????????????????????????????????SQL???????????&ldquo;???????\??????????&rdquo;??????windows???????????????????????SQL?????????????????????????????????????SQL??????????????????SQL?У????????????????&ldquo;???????\??????????&rdquo;???????????????</p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123728515.png" /></p> <p>???????????????????OSQL&ndash;S instancename &ndash;E?????????д???????????????????????sa?????????????????????????????????????????????windows???????????????</p> <p>?????????????????????????<strong>???????</strong><strong>SQL</strong><strong>??????????м????&ldquo;</strong><strong>-m</strong><strong>&rdquo;??????????</strong><strong>-m</strong><strong>??????????????????</strong><strong>SQL</strong><strong>?????????</strong><strong>SQL Management Studio</strong><strong>??</strong><strong>windows</strong><strong>?????????????????????</strong></p> <p style="text-align: center; text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2014-1/201411123728250.jpg" /></p> <p>-m?????????????????????????????????????-m?????????????windows????????????????????????SQLOS &ndash;S instancename &ndash;E???????????</p> <p>?????÷??????????????и???????????е?????飬????????????????????????????????????????????????λ???</p> <p>Start the instance of <a target="_blank" href="http://www.haxv.top/zhuanti/sqlserver.html">sql server</a> in single-user mode by using either the&nbsp;<strong>-m</strong>&nbsp;or&nbsp;<strong>-f</strong>&nbsp;options. Any member of the computer's local Administrators group can then connect to the instance of SQL Server as a member of the sysadmin fixed server role.</p> <p>??????????<strong>????</strong><strong>SQL</strong><strong>????????????????</strong><strong>-m</strong><strong>????</strong><strong>-f</strong><strong>????????????????????????κ?????????????</strong><strong>sysadmin</strong><strong>?????????</strong><strong>SQL</stron [SQL Server]mssql2000 Log.LDF????????????????? http://www.haxv.top//tech/5227.html www.haxv.top SQL Server 2014/1/6 9:47:52 <p>???????????????????????????????mdf?????????????????????????????????????????鷳?????????</p> <p><strong>????<a target="_blank" href="http://www.haxv.top/zhuanti/sql.html">?????</a>?????????????</strong><br /> ???????mdf???????????????????????????????????sp_attach_db????sp_attach_single_file_db??????????????????????????????????<br /> ?豸???????????????? 'C:\Program Files\Microsoft sql server\MSSQL\data\test_Log.LDF' ????????<br /> ???????? 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\test_log.LDF' ????????????</p> <p><strong>??????????????????????</strong><br /> ???????????????????????????????????????????????????????????????в????????????????????????????<br /> ??????: ??? 1813?????? 16???? 2???? 1<br /> δ?????????? 'test'??CREATE DATABASE ???????<br /> ?豸???????????????? 'd:\test_log.LDF' ????????</p> <p>????????????????????????????????????</p> <p>A???????????????????????????????(test)??</p> <p>B?????????????????</p> <p>C????????????????????????test_log.ldf??????????????????mdf??????????????????????????test_data.mdf??</p> <p>D?????????????????????????????test?????&ldquo;????&rdquo;????????????????????κβ?????</p> <p>E?????????????????????????????????????SQL Server Enterprise Manager?????????????????????????????&ldquo;????&rdquo;????&ldquo;??????????&rdquo;????н?&ldquo;???????????????&rdquo;?????С?</p> <p><span style="color: rgb(255,0,0)">F??????test?????????</span></p> <p>update sysdatabases set status=-32768 where dbid=DB_ID('test')</p> <p>?????????SQL Server Enterprise Manager???濴???????????&ldquo;???\????\???\?????&rdquo;?????????????????????????????????</p> <p>G?????????????????????????????????????</p> <p>dbcc rebuild_log('test','C:\Program Files\Microsoft SQL Server\MSSQL\Data\test_log.ldf')</p> <p>??й????У????????????????????</p> <p>??????: ??? 5030?????? 16???? 1???? 1</p> <p>δ?????????????????????иò?????</p> <p>DBCC ?????????? DBCC ?????????????????????????????</p> <p>??????????????????????????????????????F?????????SQL Server Enterprise Manager????test??????????????SQL Server Enterprise Manager????????</p> <p>???????????????????????</p> <p>????: ????? 'test' ???????????????????????????????? DBCC CHECKDB ???????????????????????????????????????????????????????????</p> <p>DBCC ?????????? DBCC ?????????????????????????????</p> <p>???????SQL Server Enterprise Manager????????????????&ldquo;???DBO???&rdquo;??????????????????????????????</p> <p>H??????????????????????</p> <p>dbcc checkdb('test')</p> <p><strong>?????н?????£?</strong></p> <p>CHECKDB ?????? 0 ?????????? 0 ????????????????? 'test' ?У???</p> <p>DBCC ?????????? DBCC ?????????????????????????????</p> <p>I??????????????????</p> <p>sp_dboption 'test','dbo use only','false'</p> <p>?????г???????????????????????????????????????????</p> <p>J?????????????????????E???????&ldquo;???????????????&rdquo;??????????????????????????????Σ??????顣??????????????SQL Server Enterprise Manager??????????????????????????<br /> &nbsp;</p> <p>-SQL</p> <p>sp_configure&nbsp;'allow&nbsp;updates',0<br /> go&nbsp;<br /> reconfigure&nbsp;with&nbsp;override<br /> go</p> [SQL Server]sql server 2005???????????&quot;dbo&quot;.&quot;xxx&quot;?????д?????????? (?????: MSSQL_REPL20037) ??????? http://www.haxv.top//tech/5151.html www.haxv.top SQL Server 2013/12/9 15:54:07 <p>????????????????????????????????????????????????????????????????????????</p> <p><span style="color: #ff0000">???????????:</span></p> <p><strong>???????:</strong><br /> ??????????&ldquo;&quot;dbo&quot;.&quot;Company&quot;&rdquo;???д?????????? (?: MSSQL_REPL???????: MSSQL_REPL20037)<br /> ???????: http://help/MSSQL_REPL20037<br /> <strong>???????????</strong><br /> ?????????????????????????? text??ntext ?? image ????????????? (?: MSSQLServer???????: 4813)<br /> ???????: http://help/4813<br /> ??????????????????????????????????????????????????????????? bcp ????й?? bcp ??ù??????????????????????????? BOL?? (?: MSSQLServer???????: 20253)<br /> ???????: http://help/20253<br /> bcp &quot;xxx&quot;.&quot;dbo&quot;.&quot;Company&quot; in &quot;d:\ReplData\unc\WIN-39LLDBLGOAH_CR173COM_173\20131209110101\Company_2.bcp&quot; -e &quot;errorfile&quot; -t&quot;\n&lt;x$3&gt;\n&quot; -r&quot;\n&lt;,@g&gt;\n&quot; -m10000 -SWIN-URF3GO69MJ2 -T -w (?: MSSQLServer???????: 20253)<br /> ???????: http://help/20253</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013129155537897.jpg" /></p> <p style="text-indent: 0px"><strong>?????????</strong></p> <p>1???? ?????? -&gt; ???? -&gt; ???????&nbsp;???????????С &nbsp;????????С??????0</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013129155537994.jpg" /></p> <p>?????????????????У?&nbsp;</p> <p><span style="color: #ff0000"><strong>??????鵽?????????к??????????html?????/&lt;&amp;%|^?????????,?????о???????????????.</strong></span></p> <p><span style="color: #ff0000"><strong>????????????????????????????????????????????????????<br /> </strong></span><br /> ?????????????????????&nbsp;<span style="color: rgb(51,51,255)">unicode ??????</span><br /> <span style="color: #3333ff"><strong>?????е??unicode(varchar/char/text) ??????ε????unicode(nvarchar/nchar/ntext)???????&quot;</strong></span><br /> <br /> ??????????????????????ò???&nbsp;<span style="color: rgb(51,51,255)">unicode &nbsp;?????</span></p> [SQL Server]SQL Server 2008 ????JDBC???????? http://www.haxv.top//tech/5144.html www.haxv.top SQL Server 2013/12/2 20:18:12 <p>SQL Server 2008????windows?????????sql?????2008?????????????framework??д???????????????(???С????????????????^_^)??????????ISO????????????MSI???(?????С??????????Щ?????????????????????? ????????????????SQL Server 2008??????????setup.log????1G??С???????????????????????????</p> <p>SQL Server 2008????????????汾?????????????μ??????????????????????????????????????????SQL Server?汾??</p> <p><strong>SQL Server 2008 ??????</strong></p> <p>????<a target="_blank" href="http://www.haxv.top/soft/11805.html">SQL Server 2008</a>??iso?????????????????????????Setup</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202013887.jpg" /></p> <p>???&ldquo;???&rdquo;&nbsp; -&gt; &quot;???sql???????&quot;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014481.jpg" /></p> <p>?????????м??????д???????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014507.jpg" /></p> <p>???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014497.jpg" /></p> <p>??????????? NT AUTHORTIY\SYSTEM</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014525.jpg" /></p> <p>???????????????????????????????????????(???????)??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014112.jpg" /></p> <p><strong>SQL Server 2008 ????</strong></p> <p>???????SQL Server Management Studio???????????????SQL Server ???ù??????????ó???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014576.jpg" /></p> <p>???SSMS??SQL Server Management Studio????????????????????? (local)\??????д?????????????????SQL ??????????????????sa??????????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202014643.jpg" /></p> <p>??????????????Windows???????????&ldquo;?????&rdquo; -&gt; &quot;?????&quot; -&gt; &quot;sa&quot; -&gt; &ldquo;??&rdquo; ????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015158.jpg" /></p> <p><strong>??SQL Server???ù?????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015967.jpg" /></p> <p>???SQL Server ????????????????????????Э?飬???TCP/IPЭ????????????????????????IP????????? 127.0.0.1????????á????IP ALL?????????1433???????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015126.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015592.jpg" /></p> <p><strong>??????????????????????1433??????????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015529.jpg" /></p> <p>????????????SQL Server???????????????????????Ч???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015154.jpg" /></p> <p>SQL Server 2008 ????JDBC</p> <p>OK????????SSMS,????????????&ldquo;?????μ??????&rdquo;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202015596.jpg" /></p> <p>?????????????????????????????????????????????С?</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202016165.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202016546.jpg" /></p> <p><strong>?????eclipse?????????JDBC??</strong></p> <p>?????????????????????????????sqlserver4.jar?????????????????ò????????????jtds??????JDK1.6??jtds 1.2.6??JDC1.7??1.3.0?? ?????ECLIPSE &ldquo;???&rdquo; &ldquo;????&rdquo; &ldquo;????·??&rdquo; ?? &ldquo;?????jar (add extern jar)&rdquo;</p> <p>????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202016228.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-12/2013122202016772.jpg" /></p> <p>?????????д??????????</p> <p><strong>[java]</strong>&nbsp;view plaincopy</p> <p>String&nbsp;JDriver&nbsp;=&nbsp;&quot;net.sourceforge.jtds.jdbc.Driver&quot;;&nbsp;&nbsp;&nbsp;//jtds????????&nbsp;&nbsp;</p> <p>DB&nbsp;=&nbsp;&quot;jdbc:jtds:sqlserver://127.0.0.1:1433;datebaseName=School&quot;;&nbsp;//URL????&nbsp;&nbsp;</p> <p>????</p> <p><strong>[java]</strong>&nbsp;view plaincopy</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;JDriver&nbsp;=&nbsp;&quot;net.sourceforge.jtds.jdbc.Driver&quot;;&nbsp;&nbsp;</p> <p>String&nbsp;connectDB&nbsp;=&nbsp;&quot;jdbc:jtds:sqlserver://127.0.0.1:1433;datebaseName=School&quot;;&nbsp;&nbsp;</p> <p>try&nbsp;{&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;Class.forName(JDriver);&nbsp;&nbsp;</p> <p>}&nbsp;catch&nbsp;(Exception&nbsp;e)&nbsp;{&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(&quot;????????????????&quot;);&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;System.exit(0);&nbsp;&nbsp;</p> <p>}&nbsp;&nbsp;</p> <p>System.out.println(&quot;??????????&quot;);&nbsp;&nbsp;</p> <p>String&nbsp;user&nbsp;=&nbsp;&quot;sa&quot;;&nbsp;&nbsp;</p> <p>String&nbsp;password&nbsp;=&nbsp;&quot;xxxxxxxxxxxxxxxx&quot;;&nbsp;&nbsp;</p> <p>System.out.println(&quot;???????....&quot;);&nbsp;&nbsp;</p> <p>Connection&nbsp;connection&nbsp;=&nbsp;DriverManager.getConnection(connectDB,user,password);&nbsp;&nbsp;</p> <p>System.out.println(&quot;??????&quot;);&nbsp;&nbsp;</p> <p>Statement&nbsp;stmt&nbsp;=&nbsp;connection.createStatement();&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;sql0&nbsp;=&nbsp;&quot;USE&nbsp;???????&quot;;&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stmt.execute(sql0);&nbsp;&nbsp;</p> <p>?????????С????????????????eclipse????????????????????????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String sql0 = &quot;USE ???????&quot;;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& [MySQL]ubuntu 13.04 ???mysql??????? http://www.haxv.top//tech/5141.html www.haxv.top MySQL 2013/11/30 15:19:12 <p><strong>Ubuntu</strong>????????е?Linux????????????Debian???а??GNOME???滷??????????Linux???а?????Ubuntu??????????Windows???????????????Windows????????????????????????????????????????????????????????<a target="_blank" href="http://www.haxv.top/soft/7036.html">firefox</a>??Open Office????y?岥????????????????????????????????????????Ч?????豸????????</p> <p><strong>???MySQL</strong></p> <p>??Ubuntu????????Ubuntu Software Center????apt?????????MySQL????????????????</p> <p>1. ???Ubuntu Software Center????Ubuntu Software Center??????????????????mysql????????MySQL Server???????????ɡ?</p> <p>2. ???apt?????????? &rdquo;sudo apt-get install mysql-server&ldquo; ???ɡ?</p> <p><strong>MySQL???????</strong></p> <p>MySQL????????????????root????????????????????????????????????root???????????Ubuntu??root???????????????????????root???????????л?????root?????????????MySQL????????&ldquo;-u&quot;?????????????????????磺</p> <pre> $ mysql -u root mysql&gt; show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | +--------------------+ 4 rows in set (0.00 sec) mysql&gt; select Host, User from user; +-----------+------------------+ | Host | User | +-----------+------------------+ | 127.0.0.1 | root | | ::1 | root | | iUbuntu | | | iUbuntu | root | | localhost | | | localhost | debian-sys-maint | | localhost | root | +-----------+------------------+ 7 rows in set (0.00 sec)</pre> <p>??????root?????????????????????????????????root???????????????????????????????root??????MySQL???????в???????????????</p> <pre> $ mysql mysql&gt; show databases; +--------------------+ | Database | +--------------------+ | information_schema | | test | +--------------------+ 2 rows in set (0.00 sec) mysql&gt; use mysql ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'</pre> <p>???MySQL??????????????????root???????????????????????????????</p> <pre> mysql&gt; GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY &quot;&lt;password&gt;&quot;;</pre> <p>???????????е?&lt;password&gt;?滻?????趨????????????????????????????localhost?????&lt;password&gt;????????root????????????????????????????????????????root???????????????????????磺</p> <pre> $ mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) $ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 75 Server version: 5.5.34-0ubuntu0.13.10.1 (Ubuntu) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql&gt; </pre> <p><strong>???????????????</strong></p> <p>???root???????????????в?????????????????????????????á??????MySQL????п????????????????Щ???????????????????????????????????????????????????????????????????????з????</p> <pre> ???????root??????????????? mysql&gt; create database db_web_monitor ????????????????????xavier???????? mysql&gt; GRANT ALL PRIVILEGES ON db_web_monitor.* TO xavier@localhost IDENTIFIED BY &quot;xavier&quot;;</pre> <p>????????????xavier??????????xavier????????MySQL????db_web_monitor????????</p> <pre> $ mysql -u xavier ERROR 1045 (28000): Access denied for user 'xavier'@'localhost' (using password: NO) $ mysql -u xavier -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 77 Server version: 5.5.34-0ubuntu0.13.10.1 (Ubuntu) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql&gt; show databases; +--------------------+ | Database | +--------------------+ | information_schema | | db_web_monitor | | test | +--------------------+ 3 rows in set (0.00 sec) mysql&gt; </pre> <p><strong>????????????</strong></p> <p>1. ???????MySQL?????????????????????????</p> <pre> $ sudo vi /etc/mysql/my.cnf ???bind-address?????? 45 # Instead of skip-networking the default is now to listen only on 46 # localhost which is more compatible and is not less secure. 47 bind-address = 127.0.0.1 ?? bind-address?????????IP???ɡ? ???????????????????汾??MySQL????????????skip-networking?????????????ɡ?</pre> <p>2. ????????????????</p> <pre> mysql&gt;GRANT ALL PRIVILEGES ON db_web_monitor.* TO xavier@&quot;%&quot; IDENTIFIED BY &quot;xavier&quot;;</pre> <p>??????xavier?????????????????????IP?????????MySQL????db_web_monitor???????в??????</p> [SQL Server]SQLite Database Browser?????????????y?? http://www.haxv.top//tech/5132.html www.haxv.top SQL Server 2013/11/21 17:08:17 <p>??????д?????????????SQLITE?????????SQLITE????????????????????SQLITE????</p> <p>?????????????<a target="_blank" href="http://www.haxv.top/soft/20776.html">SQLite Database Browser 2.0</a></p> <p>??????????????SQLITE???????????????????????дSQL???????????</p> <p>???????????????SQLITE?????????汾???????????????SQLite Database Browser 2.0?????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936766.jpg" /><br /> ??????</p> <p>??SQLITE??db????????????????????????&ldquo;??&rdquo;???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936355.jpg" /><br /> ????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936328.jpg" /></p> <p><strong>?????????????????????????????ALL Files</strong>???????????????????к???????????????????close database</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936224.jpg" /></p> <p>???????????????????<strong>??????????????????????123????????????????123.db</strong></p> <p>?????editplus????????????????SQLite format 3??????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936845.jpg" /></p> <p>?????????????????????????????·??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117936237.jpg" /></p> <p>??д?????SQL???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937381.jpg" /></p> <p>?????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937223.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937198.jpg" /></p> <p>?????????????????&ldquo;Apply Changes&rdquo;???</p> <p><strong>?????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937923.jpg" /></p> <p><strong>?????????????????Σ??????Σ???????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937478.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937917.jpg" /></p> <p>??????????????????????±??????????±??水????????????????????Ч</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/2013112117937208.jpg" /></p> <p>???????SQLite Database Browser 2.0??????????????????.</p> [Access]access????????δ??????????????Microsoft.ACE.OLEDB.12.0???????????? http://www.haxv.top//tech/5127.html www.haxv.top Access 2013/11/20 17:08:27 <p>asp.net??????access????????????????????????£?</p> <h4>δ??????????????&ldquo;microsoft.ACE.oledb.12.0&rdquo;??????</h4> <p><span style="font-family: Arial, Helvetica, Geneva, sunsans-regular, sans-serif"><font face=""><strong>???:</strong> ??е?? Web ???????????δ??????????????????????????????й?????????????е??′?????????????????<br /> <br /> <strong>????????:</strong> System.InvalidOperationExceptio<wbr></wbr>n: δ??????????????&ldquo;microsoft.ACE.oledb.12.0&rdquo;??????<br /> </font></span></p> <p><strong><font color="#ff0000">?????????</font></strong></p> <p>????2007 Office system ??????????????????????</p> <p sizset="27" sizcache="1"><a target="_blank" href="http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe">http://download.microsoft.com/download/7/0/3/703ffbcb-dc0c-4e19-b0da-1463960fdcdb/AccessDatabaseEngine.exe</a><wbr></wbr></p> <p>??????????????????????????????</p> [SQL Server]unity3d???????sql server????? http://www.haxv.top//tech/5124.html www.haxv.top SQL Server 2013/11/18 16:25:37 <p>?????Unity3D????????PlayerPrefs??????????????????????????????????????????????????????????????????????????????????????Sql Server???????????????????????????????????????£?</p> <p>1?????System.Data.<a target="_blank" href="http://www.haxv.top/dll.html">dll???</a>????????????C:\Program Files\Unity\Editor\Data\Mono\lib\mono\unity??????????????????·???й??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" qvod="0" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/20131118162637266.png" /></p> <p><strong>2????????????????????????μ?Asset???????</strong></p> <p>3???????????????????????????VS</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" qvod="0" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/20131118162638151.png" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" qvod="0" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/20131118162638233.png" /></p> <p>4????????????????????</p> <p>using System;</p> <p>using System.Data;</p> <p>using System.Data.SqlClient;</p> <p><strong>5????д????????????</strong></p> <pre> SqlConnection con = null; SqlDataAdapter sda = null; void Start() { string s = @&quot;server=.;database=ConnectTest;uid=sa;pwd=123456&quot;; //?????????????SQL Server??Windows?????????????? con = new SqlConnection(s); con.Open(); string sql = &quot;select * from table1&quot;; sda = new SqlDataAdapter(sql, con); DataSet ds = new DataSet(); sda.Fill(ds, &quot;table1&quot;); print(ds.Tables[0].Rows[0][0]); }</pre> <p>6???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" qvod="0" style="cursor: pointer" src="/upload/tech/UploadPic/2013-11/20131118162638645.png" /></p> [SQL Server]SQL SERVER 2005???????????? http://www.haxv.top//tech/5120.html www.haxv.top SQL Server 2013/11/12 12:34:04 <p>??ú????????SQL SERVER??????????????????????????á????????С??????????δ?????????????????????????Microsoft SQL Server Management Studio?????????</p> <p>Microsoft SQL Server Management Studio??SQL??SERVER??????????????????????</p> <p>???????????????????????????????????????????????????????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131846971.gif" /></p> <p>???????????????????????????????<strong>?????????????????????????????</strong>???????????????????????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131847902.gif" /></p> <p>???????????????????и????????????????????????????????A?????B?????????????A???????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848158.gif" /></p> <p>???????????A?????B?????????????B???????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848121.gif" /></p> <p>?????????????????????????????A??B??????????????????????????????????????????????????????????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848680.gif" /></p> <p>???Demo????????????????A????????????????????????????????ж?????????????????????????????????????</p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848240.gif" /></p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848256.gif" /></p> <p align="center"><img alt="SQL SERVER 2005????????????" src="/upload/tech/UploadPic/2013-11/20131112131848211.gif" /></p> <p>?????????????????μ???????A???????????????????????????????????????B???????????????????????????????A?????B????????ε?????????????????ID??????????????????????????????B???????????????????</p> [SQL Server]sql2005???δ??????&quot;Microsoft SQL Management Studio Package&quot; http://www.haxv.top//tech/5061.html www.haxv.top SQL Server 2013/10/10 17:19:48 <p>????????úú?? sql server 2005 ???????? &quot;SQL Server Management Studio&quot; ??????????. ??? &quot;δ??????&quot;Microsoft SQL Management Studio Package &quot;&quot;.</p> <p>??????????, ??????? &quot;.net framework 2.0&quot; ?????, ?????????? &quot;start...&quot; ??????, ???????????????? SQL Server 2005.</p> <p>&quot;SQL Server Management Studio&quot; ???????????????????????, ?б????? SQL Server 2005 ??? ??????&quot;SQL Server Management Studio&quot; ???????????, SQL Server 2005 ??????????滹????????????. ????????????, ???????????????, ???????????. ??????????, ??????????????.</p> <p>??????????, ???????? &quot;start...&quot; ???????. ????????? windows ?? &quot;???????&quot; ?????и? &quot;???????????&quot;.</p> <p>1 ??? SQL Server 2005, ???&quot;????&quot;</p> <div><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_1313209127j4Y4.gif" /></div> <p>2 ????????????, ??? &quot;????????&quot;, ??? &quot;?????&quot;, &quot;?????&quot;, &quot;?????&quot;</p> <div><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_1313209143J4PP.gif" /></div> <p>3 ????????????, ??? &quot;?????????????&quot;</p> <p><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_1313209166AQds.gif" /></p> <p>4 ????????????, ???? &quot;???????&quot; ???, ??????? &quot;SQL Server Management Studio&quot; ????????????.</p> <div><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_1313209184AIX8.gif" /></div> <p>5.??? &quot;???????&quot; ???????, ??? &quot;???? ???????????????&quot;, ??? &quot;?????&quot;,??????????????? &quot;???????&quot; ??</p> <p>???????, ????????, ??? 1-4 ?????, ???? 5???????е????, ???&quot;???????&quot; ???????, ??? &quot;????????????????&quot;, ???&quot;?????&quot; , ?????????????? &quot;???????&quot; ??.</p> <p>?????????, ???? ??????? &quot;SQL Server Management Studio&quot; , ????????????????.</p> <p><span style="color: #ff0000">?????? &quot;???????&quot; ??????????????????????????????????????SqlRun_Tools.msi??</span></p> <div><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_13132092140Qh8.gif" /></div> <div>&nbsp;</div> <div>????????????????</div> <p>C:\WINDOWS\Microsoft.NET\Framework \v2.0.50727\Microsoft .<span style="color: #ff0000">NET Framework 2.0\netfx.msi?????????</span>??????????????????????OK?????б???????????????</p> <p style="text-indent: 2em">???&ldquo;Microsoft SQL Server 2005&rdquo; ??????????????????.NET Framwork 2.0 SP1????????????&ldquo;????????г???????????????&rdquo;????δ?SQL Server 2005???</p> <p style="text-indent: 2em">????????????</p> <p style="text-indent: 2em"><img alt="" src="http://hi.csdn.net/attachment/201108/13/0_1313209363oou9.gif" /></p> <p style="text-indent: 2em">??????????&ldquo;Microsoft .NET Framework 2.0&rdquo;??</p> <p style="text-indent: 2em">???裺???&mdash;&mdash;???????&mdash;&mdash;???????????&mdash;&mdash;????&ldquo;<span style="color: #ff0000">Microsoft .NET Framework 2.0&rdquo;&mdash;&mdash;????&mdash;&mdash;?????</span></p> <p style="text-indent: 2em">????????????????????SQL Server 2005 ???????????</p> <p style="text-indent: 2em">???&ldquo;Microsoft SQL Server 2005&rdquo;?????.NET Framwork 2.0???</p> <p>??????????????????????????????????</p> [SQL Server]SQL Server?????????????SQL Server???????????????? http://www.haxv.top//tech/5052.html www.haxv.top SQL Server 2013/9/22 19:00:21 <p>???????????????У?????????κ???????????????????????Щ????????????????????????е?????????????????????鷢???????????????????????????????????SQL Server????????????????????????????????????г?????????????????????????????????????????????????崻?????????????????????????????????????????????????????????????????????????????????????????????o????????????????????????????????????????o???Щ?????????????????????????????</p> <p><strong>??????????????</strong></p> <p>????????????????????????????SQL Server????ν???????浽?????????MDF??NDF?????????????????????????????????????????е?Buffer Pool??????????CheckPoint??Lazy Writer??????????е?????????????????????????У?????????????д???????IO????????????????IO????????????????????????</p> <p>Windows(д??????????????WINDOWS API)</p> <p>Windows?????м?????????????????????</p> <p>??????·????????????????????????????IO????????????????</p> <p>SAN????????????????SAN??</p> <p>RAID????????IO????????RAID??</p> <p>?????SSD??????洢??</p> <p>???????????д??????洢???????????????б??е?????????????????У????????????????????????????????????????硢???????????????????????????棬?????????????д?????????????BUG????Щ???????????????????????г??????</p> <p>???????????????????????????????????????????Щ??п???????????????????????</p> <p>??????????????????????????IO??????????????????????????????????IO?????????????з?????С????????о????????????????????????????????????????????????С?</p> <p>??????????Щ?????????????????????????????Щ???????????????????????????????????????л??????Redo??Undo?????????????????Clean Shutdown??????????????????????????????????</p> <p><span style="color: #ff0000">???????????</span></p> <p>????????????????????????????????????????????SQL Server????μ?????????????</p> <p>??SQL Server???????????????????????????????????????None??CheckSum??Torn_Page_Detection?????1?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/201392220458235.png" /><br /> ?1.??????????????</p> <p>????????????????????????None????????κγ???????????????????ζ??SQL Server????????б?????</p> <p>?????TORN_PAGE_DETECTION????SQL Server?У????????С??λ??????????8K????????????????????16??512???????????????????д??????洢??????У??д????????????????ν??TORN_PAGE_DETECTION??SQL Server????????????512??????2λ????????????16??????32λ4?????????????б???:m_tornBits????????????????????????????д??TORN_PAGE????????????????????????е?д??????????SQL Server 2005??????汾?????????CheckSum??</p> <p>??SQL Server 2005??????汾????????CheckSum??CheckSum????????У?????????????д??????洢????????????????????4????CheckSum???????????б????:m_tornBits??????????????????????????????С????????IO???????????????????SQL Server????????????μ???CheckSum?????????????CheckSum?????д洢??CheckSum???б???????????????SQL Server???????????????</p> <p>??CheckSum?????????????????????д??SQL Server??????в?????CheckSum????????????????????????????????е??????????????????</p> <p><strong>??IO???????????</strong></p> <p>???????CheckSum?????????????SQL Server?????????????????????????????????????????????????</p> <p>823???????????ν???IO????????????SQL Server???????????Windows????SQL Server???????????????</p> <p>824???????????ν????IO????????????SQL Server??????????????????????CheckSum??????????????SQL Server???????????????</p> <p>825???????????νRetry????</p> <p>???У? ????823??824????????????24??????????????????Windows??ó????????SQL Server?????????У????????????????????msdb.dbo.suspect_pages?С?SQL Server?????????????????????????????2?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/201392220459732.png" /><br /> ?2.824??????SQL Server???????е?????</p> <p>????????????????????????????????????????????????????????????????DBA???????&rdquo;??&rdquo;????????????????????????????嵥1?????</p> <pre> USE [master]</pre> <pre> RESTORE DATABASE [Corrupt_DB] PAGE='1:155' </pre> <pre> FROM DISK = N'C:\xxx.bak' </pre> <pre> WITH FILE = 1, NORECOVERY, NOUNLOAD, STATS = 5</pre> <p>?????嵥1.?????????????????????л?????ID1?е??155?</p> <p>???????????????????????У??????????????????д??????洢????????????????????????????????г???????SQL Server?????IO????????ζ???????????????4?γ?????????4?γ????????У?????????????825??????????824??????????????823??824??????????825???????????????10???????</p> <p>?????????й??????????????????SQL Server Agent?ж?823??824???t?????</p> <p><span style="color: rgb(255,0,0)">????CheckSum</span></p> <p>?????CheckSum???????????????У???????????????????????????????CheckSum?????????????????????У????????????????????????????????????3??????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/201392220459478.png" /><br /> ?3.CheckSum??Continue_After_Error???</p> <p>?????????CheckSum????????????з??????У????????????????????????????Continue_After_Error???????????У?????????????????????????????</p> <p>?????????????CheckSum??????????????У????????????????????????????????У?????洢???????С?</p> <p>????????????????????????Restore Verifyonly with CheckSum??????????????????????????б?????</p> <p><strong>DBCC CheckDB</strong></p> <p>?????SQL Server??????????????????????????????????????????????????????????????????????????????????????????????????????????CheckDB????????????????????????????????????????????????????</p> <p>CheckDB????????????????????е???????顣??????????Master????????CheckDB??????ResourceDB??</p> <p>CheckDB??????÷???????嵥2????????????????????????????CheckDB???????鵱???????????е???С?</p> <pre> DBCC CHECKDB</pre> <p>?????嵥2.CheckDB??????÷?</p> <p>CheckDB????????????л?????????????У??????????????????????飬??ù????У???????????????????????У??????????????????CheckDB???????????CPU??????IO?????CheckDB???????????????????????????С?</p> <p>???????£?CheckDB???????????е????????????????????????Щ???????????????????????????????????DBCC????????????????????????嵥3?????</p> <pre> DBCC CHECKDB WITH NO_INFOMSGS;</pre> <p>?????嵥3.CheckDB???????No_InfoMsgs????</p> <p>??????CheckDB??????????????CheckDB?????μ???????????</p> <p>???μ??????</p> <p>???????饗DBCC CHECKALLOC??</p> <p><strong>???????????</strong></p> <p>?????б??????????????饗DBCC CHECKTABLE??</p> <p>??????饗DBCC CHECKCATALOG??</p> <p>SSB???</p> <p>?????????XML????????</p> <p>????????????????????????????????л?????????????????TempDB???????????????????Σ??????????????У??????CheckDB?????????????????????????????????????Cover?????????????????CheckDB??????????CHECKALLOC??DBCC CHECKTABLE??DBCC CHECKCATALOG???????????С?</p> <p>???????CheckDB????????????????http://technet.microsoft.com/en-us/library/ms176064.aspx??</p> <p><strong><span style="color: #ff0000">????????????</span></strong></p> <p>????????? [SQL Server]????SQL2005????? ?????Transact-SQL ????????????????????? http://www.haxv.top//tech/5051.html www.haxv.top SQL Server 2013/9/21 18:59:36 <p>????????????????????????????????????????????????????????????2000??????05??????????????????????08?????????????????????????????????′?????????<br /> <br /> ????????????????????<br /> ?????????????????<br /> ??? Transact-SQL ????????????????????? (Microsoft.SqlServer.ConnectionInfo)</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/201392119148500.jpg" /></p> <p>------------------------------<br /> δ???? sysindexes ?????????? ID 7 ?ж??? ID 1 ?????? ID 1 ??????С???? sysindexes ???? DBCC CHECKTABLE??<br /> Could not find row in sysindexes for database ID 7, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.<br /> δ?????????? 'xiaoche'??CREATE DATABASE ??????? (Microsoft SQL Server??????: 602)<br /> ?????????<br /> ???<br /> .select @@version????????????????汾???????SQL2000?????SQL2005???????<br /> ????<br /> SQL2000????SQL2005??????巽??<br /> ?????????SQL2000????SQL2005????????????????????????602?????&ldquo;??sysindexes????DBCC CHECKTABLE&rdquo;???????????2005?????, ????????????????????2005, ??????2000?????????????(???????????)<br /> <br /> <br /> ???restore????????е?, ?y??+???????????????<br /> 2005???2000????貽??<br /> 1. ????for 2000?汾?????????<br /> 2005 ??manger studio<br /> -- ??&quot;?????????????&quot;(??е????F8), ???????????<br /> -- ???????2000???<br /> -- ????<br /> -- ??????<br /> -- ??&quot;?????&quot;??&quot;????????&quot;??, ?????????????2000???<br /> -- ???&quot;??????????е????ж????д???&quot;<br /> -- ?????????&quot;????????&quot;??, ???&quot;????????汾??д???&quot;??, ???&quot;SQL Server 2000&quot;<br /> -- ?????????????????<br /> -- ?????????浽??? .sql ??????<br /> <br /> 2. ??2000?д???????????<br /> ??????????(??2005??manger studio?????????), ?????SQL Server 2000,??????????????.?????????μ??????<br /> <br /> 3. ???????2005????2000<br /> 2005 ??manger studio<br /> -- ??&quot;?????????????&quot;(??е????F8), ???????????<br /> -- ???????2000???<br /> -- ????<br /> -- ????????<br /> -- ??&quot;SQL Server ??????????&quot;??&quot;????????&quot;??????, ?????????????????????<br /> -- ??&quot;??????&quot;??????, ????? 2000, ???????2??????<br /> -- ??&quot;???????????&quot;??, ??????е??<br /> -- ??????</p> [SQL Server]win7 ?????SQL2005 ???SQL2000 ?????????? http://www.haxv.top//tech/5050.html www.haxv.top SQL Server 2013/9/21 18:55:24 <p>??????????????WIN7+VS +<a target="_blank" href="http://www.haxv.top/soft/7639.html">SQL2005 </a>?????????????????????????????<a target="_blank" href="http://www.haxv.top/soft/18685.html">SQL2000</a>?????????????????SQL2000???£?</p> <p>??????SQL2000????????????????????????????ò??????????????????SQL2005??????????????????????????????????????????????????????????????????????&nbsp;</p> <p>????????????????????????? ???????????????????????????????????????????????????SQl2000???????????棬</p> <p><strong>????????????????????????????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013921185816537.jpg" /></p> <p>?????????????????????????????????????????SQL2005 ??????????????????????SQl2000 ???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013921185816292.jpg" /></p> <p>???????????????????????????&mdash;&mdash;&gt;??<span style="color: #ff0000">SQL server ??????????????????????????</span> ????????????????? ??????????SQL server???OK</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013921185816515.jpg" /></p> <p>??????????????</p> <p>?????????????????????&mdash;&mdash;&gt;??????????????к????????????????</p> <p>????????????α???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013921185816505.jpg" /></p> <p>??????????????????????????????????????????????????</p> <p><strong>?????????????潨????? ???????????????</strong></p> <p>??????????????棬????????ú????????</p> <p>&mdash;&mdash;&gt;???????</p> <p>&nbsp; ????????????????????е???????????? ??????</p> <p>????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013921185816984.jpg" /></p> <p>?????????????????????????????????????????????????Table1?????</p> <p>????????win7 ??????SQL2005 ???SQL2000????????????÷???????</p> [SQL Server]SQLBackupAndFTP ???????????????????? http://www.haxv.top//tech/5042.html www.haxv.top SQL Server 2013/9/17 21:46:09 <p>???????????????????????????????????????????????????????浽?????????????????????</p> <p>?????????????????????SSMS?????????????????????????FTP????????????????????</p> <p>??????????????????????????????????汾?????????????</p> <p>???SQLSERVER?汾??SQLSERVER2000??SQLSERVER2005??SQLSERVER2008??SQLSERVER2008 R2??SQLSERVER2012</p> <p>??????????&nbsp;SQL Server Express 2005 and SQL Server Express 2008?汾???????????á?</p> <p>???SQLSERVER Express?汾??????????????SQLBackupAndFTP?????????????</p> <p><a target="_blank" href="http://www.haxv.top/soft/10827.html"><strong>???SQL??????????????|SQLBackupAndFTP V9.0.28 ????????_???FTP???</strong></a></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214852696.jpg" /></p> <p>???·????C:\Program Files\Pranas.NET\SQLBackupAndFTP<br /> &nbsp;</p> <p>???????????????ЩDLL</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214852397.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853995.jpg" /></p> <p>SQLBackupAndFTP????????Windows???????????????????????SSMS??????????</p> <p>????????????????????????????Windows????????????????????????????Щ???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853592.jpg" /></p> <p>??????????Щ????????????????????????????????????????????ò???????????±???</p> <p>?????????汾?????????ò???????????????</p> <p>?Щ???????</p> <p><span style="color: #ff0000">?????????????????</span></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853369.jpg" /></p> <p><span style="color: #ff0000">????????????????</span></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853516.jpg" /></p> <p>????????????????淢??????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853644.jpg" /></p> <p><span style="color: #ff0000">?????????????????????????????????????????????</span>??</p> <p>??????????????????????????ж????????????????Windows??????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853711.jpg" /></p> <p>??????????????Щ?????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853779.jpg" /></p> <p>????????????????????????????????·????????????????????У?鱸??????????????????????·????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853968.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853579.jpg" /></p> <p>????????????????????????????????·??????????D:\MSSQL\Databackup</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214853791.jpg" /></p> <p>??????????????·????????????????????????·?????????????????????????FTP????????DROPBOX??SKYDRIVE(?????)??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214854535.jpg" /></p> <p>??????????????????????????·???? D:\MSSQL\Databackup</p> <p>????????????????????????????????????????????????·????NAS?洢???</p> <p>?????????·??????????&ldquo;Test&rdquo;?????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214854220.jpg" /></p> <p>????FTP</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855811.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855525.jpg" /></p> <p>?????????????????????????????????????????????????????????????????</p> <p>???????????</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855991.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855225.jpg" /></p> <p>???ú?????????&ldquo;run now&rdquo;????????б???????????????????????????ü??????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855232.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855191.jpg" /></p> <p>?????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855583.jpg" /></p> <p>??·??????????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855150.jpg" /></p> <p>???</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="http://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif" />&nbsp;View Code</p> <p>????????????????С?5.1MB??????????886KB?????????????<br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855198.jpg" /></p> <p>???????????</p> <p>?????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855822.jpg" /></p> <p>???????????????·??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855180.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214855996.jpg" /></p> <p>?????????????????,???????????????????????н???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214856624.jpg" /></p> <p>???&quot;??&quot;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-9/2013917214856516.jpg" /></p> <p>??? [Oracle]Oracle???????????????????????? http://www.haxv.top//tech/5036.html www.haxv.top Oracle 2013/9/10 12:33:09 <p>??????????У??????????????????г????????????????????ν????????????????????μ????????????????????????????????????????????????????</p> <p><strong>???????????????????</strong></p> <p>????????????????????????????????SQL???</p> <p>Code</p> <p>CREATETABLE&quot;#temp&quot;AS&nbsp;(SELECTDISTINCT&nbsp;*&nbsp;FROM&nbsp;????);--??????????????DISTINCT ???????????????????</p> <p>truncateTABLE&nbsp;????;--??????????</p> <p>INSERTINTO&nbsp;????(SELECT&nbsp;*&nbsp;FROM&quot;#temp&quot;);--???????????????????</p> <p>DROPTABLE&quot;#temp&quot;;--????????</p> <p>?????·??????????????????????DISTINCT?????????????????????У????????????????????????е????????????У?????????????</p> <p><strong>??????????????????</strong></p> <p>??????????????</p> <p>select&nbsp;???1,???2,count(*)&nbsp;from&nbsp;????&nbsp;groupby&nbsp;???1,???2&nbsp;havingcount(*) &gt; 1</p> <p>???????&gt;????=?????????????????????????</p> <p>????????Щ????????????????????????????????</p> <p>deletefrom&nbsp;???? a&nbsp;where&nbsp;???1,???2&nbsp;in</p> <p>(select&nbsp;???1,???2,count(*)&nbsp;from&nbsp;????&nbsp;groupby&nbsp;???1,???2&nbsp;havingcount(*) &gt; 1)</p> <p>?????????????????????????????????????????????????е?Ч?????????????????????????????????????</p> <p>????????????????????????????????????????????????У?????????????????????????????????????????β????????£?</p> <p>CREATETABLE&nbsp;?????&nbsp;AS</p> <p>(select&nbsp;???1,???2,count(*)&nbsp;from&nbsp;????&nbsp;groupby&nbsp;???1,???2&nbsp;havingcount(*) &gt; 1)</p> <p><span style="color: #ff0000">???????????????????????????</span></p> <p>deletefrom&nbsp;???? a&nbsp;where&nbsp;???1,???2&nbsp;in&nbsp;(select&nbsp;???1?????2&nbsp;from&nbsp;?????);</p> <p>????????????????????????????????????????????Ч???</p> <p>?????????????????????????????oracle?У??и??????????rowid????????????????Ψ???rowid????????????????μ??????????????????????????Σ??????????????rowid??????????????????</p> <p>????????????????????????</p> <p>select&nbsp;a.rowid,a.*&nbsp;from&nbsp;???? a</p> <p>where&nbsp;a.rowid !=</p> <p>(</p> <p>selectmax(b.rowid)&nbsp;from&nbsp;???? b</p> <p>where&nbsp;a.???1 = b.???1&nbsp;and</p> <p>a.???2 = b.???2</p> <p>)</p> <p>?????????е???????????????????rowid?????????????????????????????rowid???????????????????????</p> <p>????????????????????????????μ??????????????????д???</p> <p>deletefrom&nbsp;???? a</p> <p>where&nbsp;a.rowid !=</p> <p>(</p> <p>selectmax(b.rowid)&nbsp;from&nbsp;???? b</p> <p>where&nbsp;a.???1 = b.???1&nbsp;and</p> <p>a.???2 = b.???2</p> <p>)</p> <p>????????????????Ч????????????????????????????????????ж????????Ρ?rowid??????????У????????????????б???</p> <p>createtable&nbsp;?????&nbsp;as</p> <p>select&nbsp;a.???1,a.???2,MAX(a.ROWID) dataid&nbsp;from&nbsp;????? a&nbsp;GROUPBY&nbsp;a.???1,a.???2;</p> <p>deletefrom&nbsp;???? a</p> <p>where&nbsp;a.rowid !=</p> <p>(</p> <p>select&nbsp;b.dataid&nbsp;from&nbsp;????? b</p> <p>where&nbsp;a.???1 = b.???1&nbsp;and</p> <p>a.???2 = b.???2</p> <p>);</p> <p>commit;</p> [MySQL]CentOS???????а??MySQL????? http://www.haxv.top//tech/5033.html www.haxv.top MySQL 2013/9/2 17:15:52 <p>1??????????MySQL????????????????????MySQL5.1.7?汾???</p> <p>?????????<font size="3" face="Verdana"><a target="_blank" href="http://www.haxv.top/soft/19854.html">MySQL-client-5.1.7-0.i386.rpm????</a></font></p> <p>??????????<font size="3" face="Verdana"><a target="_blank" href="http://www.haxv.top/soft/19855.html">MySQL-server-5.1.7-0.i386.rpm????</a></font></p> <p>2?????MySQL??????????</p> <p>???????????????????У???????? rpm -ivh MySQL-server-5.1.7-0.i386.rpm ???MySQL????????</p> <p>????????????????汾?????????????rpm -qa|grep -i mysql???????????????Mysql?汾,??????mysql-libs-5.1.61-4.el6.i686<br /> ???????е????????????rpm -e --nodeps mysql-libs-5.1.61-4.el6.i686??????а????????????????????</p> <p>????????????£?</p> <pre> MySQL-server-5.1.7-0.i386.rpm Preparing... ########################################### [100%] file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm conflicts with file from package mysql-libs-5.1.61-4.el6.i686 file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.1.7-0.i386.rpm c [SQL Server]win7(windows 7)???°??SQL2005(SQL Server 2005)????? http://www.haxv.top//tech/5000.html www.haxv.top SQL Server 2013/8/22 21:31:57 <p>??????????????????????????<a target="_blank" href="http://www.haxv.top/soft/13332.html">SQL Server 2005</a>??????????????????Oracle??MS???????????????ù??????Oracle???????·?????SQL Server?????е?С?鷳????????????????????á?</p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">------------------------------------------------------------------------------------------------- <br /> ????????Microsoft Windows 7 ????(32λ) <br /> ?????汾??SQL Server 2005 ????????????? <br /> ------------------------------------------------------------------------------------------------- <br /> <br /> ?????SQL Server??????????????????Щ???????????IIS???????????????????????????????IIS??????Win7??XP?????????????IIS????????????????????????????????????ü?????????</span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213448269.png" /></span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">step1</span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213448587.png" /></span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">step2</span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213448444.png" /></span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">??????????????????к???е?????????&ldquo;Internet Information Services ?????? Web ????&rdquo;??&ldquo;Web ???????&rdquo;??&ldquo;?????????&rdquo;????????????&ldquo;Web ???????&rdquo;?????????????????????????&ldquo;Internet ???????&rdquo;????????????Щ???????????????棬???????????????????в?????&ldquo;&radic;&rdquo;??????????&ldquo;??&rdquo;???????????????&ldquo;&radic;&rdquo;???У?Ч?????step3??????????????????????????????</span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213448576.png" /></span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????IIS?????????????SQL Server??????????????</span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449980.png" /></span></p> <p style="text-align: left"><span style="font-family: tahoma, arial, helvetica, sans-serif">?????IIS????????????????????濪????SQL Server</span></p> <p style="text-align: left">&nbsp;</p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????????ISO?????????????DVD??????????????????????????????????????????????????????????????????????£?????????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">?????????????????????SQL Server????????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449313.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">?????????????????????????????????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449636.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????У?????????????H??????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449505.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">???????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449883.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">???????32λ??????????????x86????????&ldquo;????????????????????????????(C)&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449960.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????????&ldquo;???г???(R)&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449570.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">??????????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213449868.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">??????????????????????&ldquo;???&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450532.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">???&ldquo;???&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450553.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450180.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">???&ldquo;?????&rdquo;????????????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450511.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">??????????????</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450780.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">???&ldquo;?????&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450267.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????е???????????????????????IIS??????????????????????????????????&ldquo;?????&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450136.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????&ldquo;?????&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450289.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">??????????????????????????????????????????????????????????????汾??????????????棬??????????????????????????????????????????а?????????к???&ldquo;?????&rdquo;</span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif"><img alt="" src="/upload/tech/UploadPic/2013-8/2013822213450372.png" /></span></p> <p><span style="font-family: tahoma, arial, helvetica, sans-serif">????????????£????????????????????????&ldquo;???(R)&rdquo;</span></p> <p><span style= [SQL Server]?????com+ ???а???????ó??? ??????2146233087????????[???] http://www.haxv.top//tech/4999.html www.haxv.top SQL Server 2013/8/22 20:42:30 <p>?????????????????sql2005?????????????????sql2005??????????SQL Server2005??????????????????????????£????????????????????????????????</p> <p>1??sql2005??????&nbsp;&nbsp;???????????947M????????????????????<br /> ???????°?????????????com+??????????????£??????????????????????????????????????????????????????????°??????????????<br /> <br /> <strong>???????????:</strong> <br /> <br /> ?????com?????а???????ó??? ??????2146233087 <br /> ?????com?????а???????ó???c:\program files\Microsoft SQL Server\90\DTS\tasks\microsoft.sqlserver.MSMQTASK.DLL. <br /> ??????2146233087 <br /> sql server ????&quot;?????COM+???а???????ó???&quot;??????: <br /> ?????COM+???а???????ó?????C:\program files\microsoft SQL Server\90 <br /> \NotificationServices\9.0.242\Bin\microsoft.sqlserver,notificationservices.dll?? <br /> ????:-2146233087 <br /> ???????:Unknown error 0x80131501 <br /> ???????:????????????á?????????HRESULT:0x8004D01B?? <br /> <br /> <strong>?????????</strong> <br /> <br /> ?????????????????????????????????????????? <br /> <br /> ?????2??? <br /> 1.????????е???? <br /> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSDTC <br /> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC <br /> HKEY_CLASSES_ROOT\CID <br /> 2?????cmd??? ??MSDTC????net stop msdtc <br /> 3?????cmd??? ж??MSDTC????msdtc -uninstall <br /> 4?????cmd??? ???°??MSDTC????msdtc -install <br /> ???????????????????? <br /> ??δ??? SQL Server ????????е? COM+ ?????????? <br /> <br /> <strong>???????????: <br /> </strong><br /> COM+ ????? (????) <br /> ????? COM+ ????? ??? SQL Server ???????????????????????????????????????????????? .manifest ??????????????????????Щ???????????????а???????й??????????????&ldquo;??δ??? SQL Server ????????е? COM+ ??????????&rdquo;?? <br /> ???SQL Server 2005???????????????????????????????·??? <br /> ?????COM+???????????????????????DTC??????????????????????????????????????????????????ο???Distributed Transaction Coordinator ????????????????????????°????????????????????????????????????COM+????????????????????????DTC????????????????????? <br /> ???????????????????????&lt;??ν?? SQL Server ????????е? COM+ ?????ü?????????&gt;: <br /> Microsoft SQL Server 2005 ????????? COM+ ???????????á??????????????????????????????????????????ü?? (SCC) ???????????????棺 <br /> &ldquo;??? SQL Server ??????????????????????????е????????????????????е? .manifest ??????????????????????Щ???????????????а??????&rdquo; <br /> ???δ???? Microsoft ??????????Э???? (MS DTC)???????????? Microsoft ???????????????£???? MS DTC ???????????????????? COM+ ????COM+ ?????? MS DTC???? Integration Services ?е?????????????????? COM +????????? COM+ ????????н? COM+ ????????ú?Integration Services ?е???????????????á? <br /> ????????????У???? MSMQ????????? MS DTC ???????в???????????á???? SQL Server ????????????? MS DTC ?????????????? <br /> <br /> <strong>???????й??????°?? COM+ :</strong> <br /> <br /> <strong>?:???????????????</strong> <br /> <br /> 1&gt;?? Windows ???????????&ldquo;???&rdquo;???????&ldquo;????&rdquo;?? <br /> 2&gt;??&ldquo;??&rdquo;???У????? MMC???????&ldquo;???&rdquo;?? <br /> 3&gt;??&ldquo;?????&rdquo;?????У?????????????&ldquo;???&rdquo;???????&ldquo;???/?????????&rdquo;?? <br /> 4&gt;??&ldquo;???/?????????&rdquo;?????????&ldquo;???&rdquo;?? <br /> 5&gt;??&ldquo;????????????&rdquo;?????????????б??????&ldquo;???????&rdquo;???????&ldquo;???&rdquo;?? <br /> 6&gt;????&ldquo;???&rdquo;????&ldquo;????????????&rdquo;??????????&ldquo;???&rdquo;????&ldquo;???/?????????&rdquo;????? <br /> ??&ldquo;??????????\???????&rdquo;????????&ldquo;???????&rdquo;?????????? COM+ ??????????????????????????????? <br /> ??????? SQL Server 2005 ???????????????????????????°?? COM+?? <br /> <br /> <strong>??:???°?? COM+ <br /> <br /> </strong>1&gt;?????????&ldquo;???????????&rdquo;?У?????&ldquo;???/??? Windows ???&rdquo;?? <br /> 2&gt;??&ldquo;Windows ?????&rdquo;?У???????????κθ????????&ldquo;?????&rdquo;?? <br /> 3&gt;????????????????????????? SQL Server 2005 ??????? <br /> <br /> <strong>????? COM+ ???а???????ó??? microsoft.sqlserver.notificationservices.dll <br /> </strong><br /> ???SQL Server 2005???????????????????????????м????????????Summary.txt??Summary.txt λ??%ProgramFiles%\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix?????????????????? <br /> Machine : ServerName <br /> Product : Client Components <br /> Error : Failed to install and configure assemblies C:\Program Files\Microsoft SQL Server\90\NotificationServices\9.0.242\Bin\microsoft.sqlserver.notificationservices.dll in the COM+ catalog. <br /> Error: -2146233087 <br /> Error message: Unknown error 0x80131501 <br /> Error description: The Transaction Manager is not available. (Exception from HRESULT: 0x8004D01B) <br /> <br /> ??????????????£? <br /> To work around this problem, make sure that the Distributed Transaction Coordinator service runs under the NT AUTHORITY\NetworkService account. To do this, follow these steps:1. Click Start, click Run, type Services.msc, and then click OK. <br /> 2. In the Services window, double-click the Distributed Transaction Coordinator service. <br /> 3. In the Distributed Transaction Coordinator Properties dialog box, click the Log On tab. <br /> 4. On the Log On tab, specify the NT AUTHORITY\NetworkService account to be the logon account if the logon account is not the NT AUTHORITY\NetworkService account. <br /> <br /> Note You are prompted to restart the Distributed Transaction Coordinator service if the following conditions are true:&bull; You change the logon account of the Distributed Transaction Coordinator service. <br /> &bull; The Distributed Transaction Coordinator service is running before you change the logon account. <br /> <br /> 5. Start the Distributed Transaction Coordinator service if it is not started. <br /> <br /> ??????????????????????????1073337669 ?????????????????????? <br /> msdtc -resetlog <br /> <br /> ?:????????????????VS2005??????SQL Server?????????????SQL Server??????? <!--NEWSZW_HZH_END--></p> [SQL Server]????Sql Server 2000 ???????????к??????????? http://www.haxv.top//tech/4988.html www.haxv.top SQL Server 2013/8/16 20:27:59 <p>???????win2003????????????<a target="_blank" href="http://www.haxv.top/soft/18685.html">SQL Server 2000 </a>????????????????????????к?...</p> <p>?????????SQL??????????????????к??</p> <p>?????</p> <p>M4FMF-7FBWJ-QW39C-4HDXR-MWHMD<br /> &nbsp;?????????????????к??????????????????Щ???к???????????????</p> <p>???????Windows 2003 Server with SP2???????????XP??2000???°?????????????????????????μ??</p> <p>??????????????KB????????????£?<br /> ??????? <strong><span style="color: red">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager</span>??</strong>??<span style="color: red">SafeDLLSearchMode</span>???DWORD ??????? <span style="color: red">0</span></p> <p>?????е??????????DWORD??????? ??????°????OK??<br /> <br /> ????SQL Server 2000???????????к?<br /> M4FMF-7FBWJ-QW39C-4HDXR-MWHMD<br /> JCYFH-BYJMR-C4PVV-VD9G3-VXDYG</p> <p>??????С??????????????????????????????????????????С?????????????:</p> <p><a target="_blank" href="http://www.haxv.top/soft/18684.html">http://www.haxv.top/soft/18684.html</a></p> <p>??????????????汾??SQL <a target="_blank" href="http://www.haxv.top/soft/18685.html">http://www.haxv.top/soft/18685.html</a></p> [MySQL]MySQL????????????????????? http://www.haxv.top//tech/4980.html www.haxv.top MySQL 2013/8/14 21:26:38 <p>???μ??????????????????<a target="_blank" href="http://www.haxv.top/soft/5690.html">MySQL</a>???????????????????????????????????????????????????MySQL?????????????????裬??????????μ??????????????????????????Щ?????????檔</p> <p>1??????MySQL??????????????root,?????root??</p> <p>?????grant ??? on ???????.???? to ???@??????? identified by &quot;???????&quot;;</p> <p>grant select,update,insert,delete on *.* to root@192.168.1.12 identified by &quot;root&quot;;<br /> &nbsp;<br /> ?????????</p> <p>MySQL&gt; use MySQL; <br /> Database changed <br /> MySQL&gt; select host,user,password from user; <br /> +-----------+------+-------------------------------------------+ <br /> | host | user | password | <br /> +-----------+------+-------------------------------------------+ <br /> | localhost | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> +-----------+------+-------------------------------------------+&nbsp;</p> <p>?????????????</p> <p>MySQL&gt; use MySQL; <br /> Database changed <br /> MySQL&gt; select host,user,password from user; <br /> +--------------+------+-------------------------------------------+ <br /> | host | user | password | <br /> +--------------+------+-------------------------------------------+ <br /> | localhost | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> | 192.168.1.12 | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> +--------------+------+-------------------------------------------+ <br /> 2 rows in set (0.00 sec)&nbsp;</p> <p>?????????user???????и???????root?????host??α??????????????????????IP???????????????</p> <p>(1)??????????IP??????????????????Host?????????Ip???ɡ?</p> <p>2?????MySQL???????(?????)</p> <p>??host??ε?????%???????κο?????????????root????????MySQL?????????????????????%??</p> <p>update user set host = &rsquo;%&rsquo; where user = &rsquo;root&rsquo;;</p> <p>???????ALL PRIVILEGES</p> <p>MySQL&gt; use MySQL; <br /> Database changed <br /> MySQL&gt; grant all privileges on *.* to root@'%' identified by &quot;root&quot;; <br /> Query OK, 0 rows affected (0.00 sec) <br /> MySQL&gt; select host,user,password from user; <br /> +--------------+------+-------------------------------------------+ <br /> | host | user | password | <br /> +--------------+------+-------------------------------------------+ <br /> | localhost | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> | 192.168.1.12 | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> | % | root | *81F5E21E35407D884A6CD4A731AEBFB6AF209E1B | <br /> +--------------+------+-------------------------------------------+</p> <p>3 rows in set (0.00 sec)</p> <p>????????????????????root????root?????????????MySQL.</p> <p>3?????MySQL??????????????</p> <p>use MySQL; <br /> update user set host = '%' where user = 'root';&nbsp;</p> <p>????????????????root???????MySQL.</p> [MySQL]mysql???????mysql.sock?????mysqld_safe?????????? http://www.haxv.top//tech/4950.html www.haxv.top MySQL 2013/8/3 23:12:04 <p>?????CentOS6.3+MySQL5.1.57??????????η??????????&gt; mysql -u root -p????????????????</p> <p>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)</p> <p>?????????mysql????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;&nbsp;/etc/rc.d/init.d/mysqld &nbsp;status &nbsp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ???stop??δ???С?</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;/etc/rc.d/init.d/mysqld &nbsp;restart</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Stopping mysqld: [ OK ]</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;MySQL Daemon failed to start.</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting mysqld: [ FAILED]</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;ps -ef | grep mysql</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;root 28221 27474 0 14:18 pts/0 00:00:00 grep mysql &nbsp; ????????</p> <p>???????????????mysql????????</p> <p>???????????????/tmp/mysql.sock??????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &gt;vim /etc/my.cnf</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;socket=/var/lib/mysql/mysql .sock</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;/var/lib/mysql/mysql .sock?????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &gt;find / -name mysql.sock</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ???????δ?????mysql.sock?????mysql.sock?????????</p> <p>????????????mysql.sock??????????????????????????????′??????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&gt;init 6 &nbsp; &nbsp; &nbsp;????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;??????????????????????κθ??mysql.sock?????????δ??????ɡ?</p> <p>?????????mysql.sock???????????,??<a target="_blank" href="http://www.haxv.top/soft/13295.html">mysql</a>?????????????,????????δ?????????????mysql.sock?????</p> <p>??????????????mysqld_safe??????????????????????????????mysqld_safe????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;mysqld_safe &amp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting mysqld daemon with databases from ....../mysql/var&nbsp;<br /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STOPPING server from&nbsp;pid file &nbsp;&nbsp;.......pid<br /> &nbsp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;130802 15:17:11 mysqld ended</p> <p>????????????Ч??????£?????????????????----????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244612.png" /></p> <p>?????????У?????????????????file &lsquo;./mysql-bin??000004&rsquo; not found??failed to open??</p> <p>&nbsp;mysql??????bin?????????????????????????????????????????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;chown -R mysql:mysql /....../mysql/var</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;mysqld_safe &amp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;&gt;/etc/rc.d/init.d/mysqld &nbsp;restart</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Stopping mysqld: [ OK ]</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting mysqld: [&nbsp;OK]</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244652.png" /></p> <p>?????????~</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244510.png" /></p> <p>???mysql.sock????????????/var/lib/mysql/mysql .sock??????????????&rdquo;s&rdquo;????????????socket?????</p> <p style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244500.png" /></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &gt; mysql -u root -p</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)</p> <p>/tmp/mysql.sock</p> <p>?????????????????/tmp/mysql.sock??????????????????:</p> <p>&gt;ln -s /var/lib/mysql/mysql .sock &nbsp; /tmp/mysql .sock</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244389.png" /></p> <p>??&rdquo;l&rdquo;??????????????????????????????????/etc/my.cnf?????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/201383231244285.png" /></p> <p>?????????~</p> <p>???????????????????????????????????????????????Ρ??????????????????????????????????????????????????</p> <p>?????????????????????棬???????????????????????????????</p> <p>????????????????????????????????С?????linux??&ldquo;??н????&rdquo;??仰??????????????????????????????????к??????????????????????windows??????????linux???????????????????г??У??????????о???</p> [Oracle]Oracle SQL tuning ????????????????? http://www.haxv.top//tech/4949.html www.haxv.top Oracle 2013/8/3 23:09:34 <p>SQL Turning ??Quest????????Quest Central????е?????????Quest Central????????????λ??????????????????????????????????? Oracle??DB2 ?? SQL server ?????</p> <p>???SQL Tuning for SQL Server???</p> <p>SQL?????????????????????????????????????????????????????????????????????????????SQL Tuning (SQL???)?????????????????????SQL?????????????????????????????飬?????????????????????SQL????????з?????SQL??????????????????????????????SQL?????????</p> <p>????SQL Tuning for SQL Server?????</p> <p>1????Quest Database Management Solutions???????????1???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323116771.jpg" /></p> <p>?1&nbsp;&nbsp;</p> <p>2????????????SQL Tuning&nbsp;???SQL&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>&nbsp;&nbsp;??1???????????</p> <p>??Quest Central?????????&ldquo;Database&rdquo;???????&ldquo;SQL Server&rdquo;????????·??????&ldquo;Tools&rdquo;???????&ldquo;SQL Tuning&rdquo;?????&ldquo;Lanch SQL Tuning for SQL Server Connections&rdquo;??????2???3??????????????????????????????????????????????????????????ɡ?&nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117734.jpg" /></p> <p>?2&nbsp;&ldquo;????????&rdquo;?????&nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117591.jpg" /></p> <p>?3</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;???&ldquo;New Connection&rdquo;?????????????????????????????????&ldquo;OK&rdquo;???????&ldquo;Connect&rdquo;???ɡ?</p> <p>&nbsp;&nbsp;&nbsp;??2????????SQL???&nbsp;???????&ldquo;Connect&rdquo;??????????′???????4&nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117103.jpg" /></p> <p>?4</p> <p>????????&ldquo;Oriangal SQL&rdquo;??????????????????????SQL??????????????????????????SQL?????????£?</p> <p>?5&nbsp;??????SQL???</p> <p>??SQL???</p> <p>??????????????&ldquo;Execute&rdquo;????????????SQL???SQL Tuning?????????SQL????м???????????????????????????5????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117161.jpg" /></p> <p>??3?????SQL??</p> <p>???????????????????&ldquo;Optimize Statement&rdquo;???,??SQL Tuning??????SQL?????????????SQL Tuning??????19??????SQL??????????????6????&nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117757.jpg" /></p> <p>?6 SQL???????</p> <p>??4?????????SQL??</p> <p>?????????????????????????????????????????????????ЧSQL??????б???????????е????????(???????????)????????????????&ldquo;Execute&rdquo;???????????????????&ldquo;Execute Selected&rdquo;?????????SQL????????,???????????&ldquo;Tuning Resolution&rdquo;?????<br /> ????????????SQL?????????????????侹????????21%?????7??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-8/20138323117914.jpg" /></p> <p>?7&nbsp;&ldquo;Tuning Resolution&rdquo;????&nbsp;</p> <p>?????SQL??????£?</p> <p>5??????д??????SQL???&nbsp;??</p> <p>??????SQL???<br /> &nbsp;</p> <p>SELECT&nbsp;dbo.Person_BasicInfo.*,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_GraduaterRegist.RegistNO&nbsp;AS&nbsp;RegistNO,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_GraduaterRegist.RegistTime&nbsp;AS&nbsp;BaoDaoTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_GraduaterRegist.RegistMan&nbsp;AS&nbsp;RegistMan,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.ComeFrom&nbsp;AS&nbsp;ComeFrom,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.Code&nbsp;AS&nbsp;Code,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.Status&nbsp;AS&nbsp;Status,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.ApproveResult&nbsp;AS&nbsp;ApproveResult,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.NewCorp&nbsp;AS&nbsp;NewCorp,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.CommendNumber&nbsp;AS&nbsp;CommendNumber,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.EmployStatus&nbsp;AS&nbsp;EmployStatus,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.NewCommendTime&nbsp;AS&nbsp;NewCommendTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.GetSource&nbsp;AS&nbsp;GetSource,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.EmployTime&nbsp;AS&nbsp;EmployTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.Job&nbsp;AS&nbsp;Job,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.FillMan&nbsp;AS&nbsp;FillMan,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.FillTime&nbsp;AS&nbsp;FillTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.IsCommendOK&nbsp;AS&nbsp;IsCommendOK,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.ApproveUser&nbsp;AS&nbsp;ApproveUser,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.ApproveTime&nbsp;AS&nbsp;ApproveTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.RegistTime&nbsp;AS&nbsp;RegistTime,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.EmployCorp&nbsp;AS&nbsp;EmployCorp,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Graduater_Business.JobRemark&nbsp;AS&nbsp;JobRemark,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CASE&nbsp;WHEN&nbsp;dbo.Graduater_Business.ComeFrom&nbsp;=&nbsp;'WS'&nbsp;THEN&nbsp;'??????'&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHEN&nbsp;dbo.Graduater_Business.ComeFrom&nbsp;=&nbsp;'HP'&nbsp;THEN&nbsp;'???????'&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHEN&nbsp;dbo.Graduater_Business.ComeFrom&nbsp;=&nbsp;'JD'&nbsp;THEN&nbsp;'???????'&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHEN&nbsp;dbo.Graduater_Business.ComeFrom&nbsp;=&nbsp;'MC'&nbsp;THEN&nbsp;'?????'&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHEN&nbsp;ComeFrom&nbsp;=&nbsp;'ZX'&nbsp;THEN&nbsp;'???????'&nbsp;END&nbsp;AS&nbsp;ComeFromName,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.Address&nbsp;AS&nbsp;Address,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.Zip&nbsp;AS&nbsp;Zip,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.Telephone&nbsp;AS&nbsp;Telephone,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.Mobile&nbsp;AS&nbsp;Mobile,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.Email&nbsp;AS&nbsp;Email,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Contact.IM&nbsp;AS&nbsp;IM,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Skill.ForeignLanguage&nbsp;AS&nbsp;ForeignLanguage,&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbo.Person_Skill.ForeignLanguageLevel&nbs [SQL Server]SQL Server 2005????????????????? http://www.haxv.top//tech/4945.html www.haxv.top SQL Server 2013/7/31 17:23:24 <p>???MS??????????????????????C???????????????????????????????????С???????????????????ù????л????????????????????????????????????????????????????SQL&nbsp;Server???????log?????log??????????????????????????????????????log??????????????????????????<br /> <br /> <strong>??????LOG</strong><br /> 1??????????????????????????????????????????????????&mdash;&mdash;???&mdash;&mdash;????&mdash;&mdash;????</p> <p><img title="????????" alt="" width="486" height="289" style="cursor: pointer" src="/upload/tech/UploadPic/2013-7/2013731172427176.png" /></p> <p>??????????</p> <p style="text-indent: 0px"><img title="????????" alt="" width="600" height="526" style="cursor: pointer" src="/upload/tech/UploadPic/2013-7/2013731172428625.png" /></p> <p>?????????????б???????????????????</p> <p>2?????LOG???</p> <p>3?????????????????????????????log?????</p> <p style="text-indent: 0px"><img title="????????" alt="" width="244" height="225" style="cursor: pointer" src="/upload/tech/UploadPic/2013-7/2013731172428135.png" /></p> <p style="text-indent: 0px"><img title="????????" alt="" width="575" height="463" style="cursor: pointer" src="/upload/tech/UploadPic/2013-7/2013731172428886.png" /></p> <p>????????????????ldf?????</p> <p style="text-indent: 0px"><img title="????????" alt="" width="520" height="140" style="cursor: pointer" src="/upload/tech/UploadPic/2013-7/2013731172428834.png" /></p> <p>?????????????????μ???????log???μ??????????С??504K??</p> <p>??????????????????????????</p> <pre> use master;</pre> <pre> exec&nbsp;sp_detach_db&nbsp;@dbname='TestDB';</pre> <pre> exec&nbsp;sp_attach_single_file_db&nbsp;@dbname='TestDB',@physname='D:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008\MSSQL\DATA\TestDB.mdf'</pre> <p>??<strong>????????</strong></p> <p>????????SQL Server 2005??2000????SQL Server 2008?????????</p> <pre> DUMP TRANSACTION&nbsp;TestDB&nbsp;WITH&nbsp;NO_LOG</pre> <p><strong>????????????????</strong></p> <pre> DBCC&nbsp;SHRINKFILE&nbsp;('TestDB_log',1)</pre> <p><strong>?????????????</strong></p> <pre> BACKUP&nbsp;LOG&nbsp;TestDB&nbsp;WITH&nbsp;NO_LOG</pre> <p>????????SQL Server 2008??????????SQL Server 2005??2000??????á?</p> <p>???SQLServer2005??LOG???&nbsp;&nbsp;</p> <pre> --????????????????????????????????? ??????????????? ???????????4,6???? ??4???????,?п???????????????? ??6??????????????,?????????????????,????????????????. --*/ --????????п??????????????????????? <strong>1</strong>.?????? DUMP&nbsp;TRANSACTION&nbsp;????&nbsp;WITH&nbsp;NO_LOG <strong>2</strong>.???????????? BACKUP&nbsp;LOG&nbsp;????&nbsp;WITH&nbsp;NO_LOG <strong>3</strong>.????????????(????????,??????????????С ?????????--????????????????--????????--?????????--??????? --?????????--????????????????????XXM,?????????????????????????СM??,????????????,?????????? --??????????--????????????????????XXM,?????????????????????????СM??,????????????,?????????? ???????SQL????????&nbsp; --????????? DBCC&nbsp;SHRINKDATABASE(????) --??????????????,1???????,?????????????????:select * from sysfiles DBCC&nbsp;SHRINKFILE(<strong>1</strong>) <strong>4</strong>.??????????С??????(?????sql&nbsp;<strong>7.0</strong>,????????????????н???) a.?????????: ?????????--??????--?????--???--????????? b.?????????????LOG??? c.?????????: ?????????--??????--?????--???--????????? ??????????μ?LOG????С???500??K ???????&nbsp; ???????????? pubs????? pubs ?е??????????????????????? a.???? EXEC&nbsp;sp_detach_db&nbsp;@dbname&nbsp;=&nbsp;'????' b.????????? c.????? EXEC&nbsp;sp_attach_single_file_db&nbsp;@dbname&nbsp;=&nbsp;'????',&nbsp; @physname&nbsp;=&nbsp;'c:\Program Files\Microsoft SQL Server\MSSQL\Data\????.mdf' <strong>5</strong>.???????????????,??????????: ?????????--??????--????????--????--???--???&quot;???????&quot; --SQL??????÷??: EXEC&nbsp;sp_dboption&nbsp;'????',&nbsp;'autoshrink',&nbsp;'TRUE' <strong>6</strong>.???????????????????????? ?????????--??????--????????--????--??????? --??????????????xM(x?????????????????????С) --SQL???????÷??: alter&nbsp;database&nbsp;???? modify&nbsp;file(name=????????,maxsize=<strong>20</strong>) </pre> <p>SQL Server ???????????????????Log???????????, ????????????, ?????????????<br /> ???????????????? ?嵽Log???????1M???????.</p> <p>DUMP TRANSACTION ??????? WITH NO_LOG<br /> DBCC SHRINKDATABASE('???????',TRUNCATEONLY)</p> <p><span style="color: #ff0000">??????SQL???????SQLServer?????</span></p> <p>&nbsp;SQLServer??????????????????SQLServer???????????????????????????????????????????????????????£??????????????? ???????????????ErrorLog?????SQL??????????????????????SQL???????????????б?e?????<br /> &nbsp;????????????????′洢?????<strong>EXEC &nbsp;&nbsp;sp_cycle_errorlog</strong></p> <p>???&nbsp;&nbsp;<br /> &nbsp;&nbsp;??????&nbsp;&nbsp;&nbsp;SQL &nbsp;&nbsp;Server &nbsp;&nbsp;??????????????????????&nbsp;&nbsp;&nbsp;errorlog.1??errorlog.1 &nbsp;&nbsp;???&nbsp;&nbsp;errorlog.2??errorlog.2 &nbsp;&nbsp;???&nbsp;&nbsp;&nbsp;errorlog.3???????????sp_cycle_errorlog &nbsp;&nbsp;???????????????????????????????????????????????</p> [Oracle]Oracle???????????? http://www.haxv.top//tech/4915.html www.haxv.top Oracle 2013/7/16 15:40:20 <p>Oracle????????????????????????????????????????????</p> <p><strong>1. ?????????? ??NESTED LOOP Join??</strong></p> <p>???????????????????????????????????????????????????????????????????????????Σ?????У??????????е???????????????е????????????<br /> ??????????????????÷?????<br /> ??????????????????????????????????????????????????????????????????Ч???<br /> ??OLTP?????????????????????</p> <p><strong>2. ?????????? ??Sort Merge Join??</strong></p> <p>??????壬???????????????????????????????????????????????й????????????A???????????????????????????????A?У????B????????????????????????????????B?У????????????A??B?е??????<br /> ????????????????????????????????????????????????????У?sort_area_size??sort_area_retained_size????????PGA?С?</p> <p><strong>3. ??????? ??Hash Join??</strong></p> <p>?????????????????????????????????build input???????????probe input???????????????м????????????????????????м?????????????????????????????????????<br /> ????С?????????????????????????????????????????Ч???????????м???У???С???????????棬????????????檔<br /> ?????????????????????????2?????С?<br /> ??????????????????????У?hash_area_size?????PGA?С?</p> [SQL Server]???sql server 2008 management??????? SQL Server 2005 Express http://www.haxv.top//tech/4911.html www.haxv.top SQL Server 2013/7/9 22:28:11 <p>???sql server 2008 management?????????Sql2005SsmsExpressFacet ????????? SQL Server 2005 Express ????? ???????? SQL Server 2005 Express ??????????????????? SQL Server 2005 Express ?????sql server 2005 management??sql server 2008 management???????????????????????????</p> <p>????SQL Server 2005 Express ???????sql server 2005 management??????ж??sql server 2005 management???????С??????У?</p> <p><span style="color: #ff0000">????????HKEYLocalMachine/Software/Microsoft/Microsoft SQL Server/90/Tools/ShellSEM</span>??</p> <p>?????е???????????????????????sql server 2005 management?????????????????£???ShellSEM???ShellSEM1???????????????sql server 2008 management????????????????</p> <p>???????????????????????????????sql server 2005 management?????????????????????????????</p> <p>??????<span style="color: #ff0000">???????ShellSEM1???ShellSEM????????sql server 2005 management</span>??OK????sql server 2008 management?? sql server 2005 management???????????</p> <p><strong>SQL Server Management Studio2008????????</strong></p> <p>???--&gt;????--&gt;sql server2008--&gt;???ù???--&gt;SQL Server???ù?????--&gt;SQLServer????<br /> ????????????????2?????<br /> 1????SQLServer??MSSSQLSERVER??????????????????????localsystem--&gt;???<br /> 2????SQLServer??MSSSQLSERVER??????????</p> [SQL Server]MSSQL ?????? ????????? http://www.haxv.top//tech/4907.html www.haxv.top SQL Server 2013/7/4 22:09:42 <p>??????????????????鵵??????????????????????????????????????????????????????????????????ù????л???????????????????????????????????????????????????????????????????????????????????????-???????????-???????????????????????SSIS?е??????????sql????????</p> <p>????????????????????</p> <p><span style="color: #ff0000">??????????</span><br /> 1??????????????????????????????????????????????????????&mdash;&mdash;???&mdash;&mdash;????&mdash;&mdash;????????????????????</p> <p>?????????????б???????????????????<br /> <br /> 2???????????LOG??????????????μ????????? ldf???<br /> <br /> 3?????????????????????????????log???????????????????????????μ???????????????????????????</p> <p><span style="color: #ff0000">????sql??????mssql???</span><br /> <br /> DUMP TRANSACTION TestDB WITH NO_LOG ??????<br /> <br /> DBCC SHRINKFILE ('TestDB_log',1) ????????????<br /> <br /> BACKUP LOG TestDB WITH NO_LOG ??????????<br /> <br /> ????????SQL Server 2008??????????SQL Server 2005??2000??????á?</p> <p><strong>????????????????????????·????</strong></p> <p>&nbsp;declare @logfilename varchar(100)<br /> &nbsp;declare @datafilename varchar(100)<br /> select @logfilename=physical_name from sys.database_files where type=1<br /> select @datafilename=physical_name from sys.database_files where type=0</p> <p>????л???master?£??????????</p> <p>use master<br /> exec sp_detach_db @dbname='TestVFA';</p> <p><strong>??????????????????? ??????</strong><br /> ----Remove file<br /> DECLARE @Result int<br /> DECLARE @FSO_Token int<br /> EXEC @Result = sp_OACreate 'Scripting.FileSystemObject', @FSO_Token OUTPUT<br /> EXEC @Result = sp_OAMethod @FSO_Token, 'DeleteFile', NULL, @logfilename<br /> EXEC @Result = sp_OADestroy @FSO_Token<br /> ??????????????<br /> exec sp_attach_single_file_db @dbname='TestVFA',@physname=@datafilename</p> <p>??????Ole Automation Procedures ???????????????????</p> <p>exec sp_configure 'show advanced options', 1;<br /> RECONFIGURE;<br /> exec sp_configure 'Ole Automation Procedures',1;<br /> RECONFIGURE;</p> [Oracle]oracle?????sql???????? http://www.haxv.top//tech/4874.html www.haxv.top Oracle 2013/6/7 13:54:55 <p>?????oracle sql???Щ????????????????????????????а?????</p> <p>??????where?????having;</p> <p>????????????????????????????????</p> <p><strong>???????????????????</strong></p> <p>?????where????????????????????</p> <p>?壺select????о??????????*?????????*????????????????</p> <p>??????????????commit??</p> <p>???Decode????????????????????????????????????</p> <p><strong>???????????????????sqlЧ???</strong></p> <p>????????????????????????????????????????</p> <p>?????exists????in</p> <p>????not exists???? not in??not in ??佫?????????????????????κ?????£?not in?????Ч???????????????????????????not in???????д??outer joins??not exists??;</p> <p>????????????exists????Ч??</p> <p><strong>???????exists?滻distinct</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp;????&nbsp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;??? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;???</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;select distinct dept_no, dept_name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;select dept_no, dept_name</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from dept d, emp e &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from dept d</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where d.dept_no = e.dept_no; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; where exists (select 1 from emp e where e.dept_no = d.dept_no);</p> <p>???????TKPROF?????????sql????????</p> <p>??壺?????????Ч?????????????????????????????????????б????ALTER INDEX&lt;INDEXNAME&gt; REBUILD&lt;TABLESPACENAME????</p> <p>??????????????????????????????????????????</p> <p>??????????rowid????????rowid?????????????????а?????index?У?????????е???????????????????????????????У??????????????????????????????</p> <p>????????????????У?LODGING????Ψ???????MANAGER?????з?Ψ?????????</p> <p>???????????Χ?????INDEX RANGE SACEN):</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ???????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; 1???????????Χ??????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SELECT LODGING FROM LODGING WHERE LODGING LIKE 'M%'</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ??where??????????????е????oracle???????????Χ?????????LODGING_PK??</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; 2) ?????Ψ??????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SELECT LODGING FROM LODGING WHERE MANAGER = 'LI';</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;(????????????LODGING$MANAGER????????Χ?????????з????????????rowid????????rowid???????LODGING?е?????????????Ψ??????????????????????????Ψ???裩</p> <p>where????У??????????????????????????????????????????????????????????????裬?? SELECT..... WHERE MANAGER LIKE '%LI'</p> <p>??????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ????????????????????????????????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ???????????????SQL????л??????????????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;??????CBO???????????SQL????е????????????С?????????????????????????·????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;??????RBO?????????е???????????????????????????????????????FROM??????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SELECT A.NAME, B.MANAGER FROM WOKER A, LODGING B WHERE A.LODGING = B.LODGING;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;????LODGING???????????????????WORKER??????????????????WORKER??????????????????</p> <p><strong>?????????????????</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ??SQL???????·????????÷????????????????????oracle??????????????????????????????????????????????????????Ч??????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; oracle??????·?????Ψ?????????????Ψ?????????е?where??????????к??????????Ч??????????к??????????????????????????????????е????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ???????????????????????????????????????FROM????б????????????????á?FROM?????????????????????????????????????????????????????????where??????????????????????????????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;????DEPTNO???з?Ψ?????????EMP_CAT??з?Ψ???????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SELECT ENAME FROM EMP WHERE DEPT_NO = 20 AND EMP_CAT = 'A';&nbsp;</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DEPTNO???????????????????EMP_CAT??????????????????????·?????£?</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TABLE ACCESS BY ROWID ON EMP</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND _EQUAL</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INDEX RANGE SCAN ON &nbsp;DEPT_IDX</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INDEX RANGE SCAN ON CAT_IDX</p> <p>????????????Χ????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;?????????</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SELECT ENAME FROM EMP WHERE DEPT_NO &gt; 20 AND EMP_CAT = 'A';</p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;??????????Ψ???????????£??????Χ???????????????EMP_CAT????????????????DEPT_NO???????б??</p> <p>&nbsp; &nbsp; &nbsp; ???Ψ???????????Χ?????????????Ψ????????????????</p> <p><strong>?????????????Ч??</strong></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; ?????????????????????????????????????????????oracle???????????е?????? ????????????????????????????????Ψ?????????????к??????????????????????????????????????????κ???????????Ч??</p> <p>&nbsp; &nbsp; &nbsp; &nbsp;???Ч????????????м??????'+0'??'||&quot;&quot;'??;</p> [Oracle]Oracle???????????????????????????? http://www.haxv.top//tech/4851.html www.haxv.top Oracle 2013/5/22 13:52:29 <p>Oracle ????????</p> <p><strong>--??????????????????</strong></p> <p>====?????&nbsp;</p> <p>====???==============<br /> echo ??????????????????...&nbsp;&nbsp;<br /> set &quot;tbuf=E:\Cway\backup&quot;&nbsp;</p> <p>echo ????????????(?????????????????????????????????)...&nbsp;&nbsp;<br /> set name=%date%&nbsp;&nbsp;<br /> set name=%name:~-3%&nbsp;&nbsp;<br /> set name=ORCL_backup_%name%&nbsp;&nbsp;<br /> &nbsp;<br /> echo ??????????????????????????????...&nbsp;&nbsp;<br /> if exist %tbuf%\%name%.dmp del %tbuf%\%name%.dmp&nbsp;&nbsp;<br /> if exist %tbuf%\%name%.log del %tbuf%\%name%.log&nbsp;&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> echo ???????XX??? Oracle ?????.....&nbsp;&nbsp;&nbsp;&nbsp;<br /> &nbsp;<br /> exp&nbsp;User1/PassWord1@Orcl&nbsp;file=%tbuf%\%name%.dmp log='%tbuf%\%name%.log'&nbsp;&nbsp;<br /> &nbsp;<br /> echo ???????!</p> <p>===????=======</p> <p>==??&ldquo;???&rdquo;??&ldquo;????&rdquo;????????????txt????У?????????????磺·???????????????<br /> &nbsp;</p> <p><strong>????bat???????????????????????????м??????????????&nbsp;&nbsp;</strong></p> <p>???</p> <p>??1??User???????????????????</p> <p>??2??PassWord??????</p> <p>??3??Orcl????????????</p> [MySQL]KB967723????????MYSQL??Win2003???????????????????????? http://www.haxv.top//tech/4850.html www.haxv.top MySQL 2013/5/20 10:26:43 <p>??????????????9??????????????????????????????????????????????????????е??????????????????????????????Σ??е??????9??9???????????????????????????Ч??????????????????</p> <p><strong>???? Can't connect to MySQL server on &lsquo;localhost' (10061)</strong></p> <p><strong>?????????</strong></p> <p>???????ж??KB967723??????????????????????????? &mdash; ??????????? &mdash; ??????????&ldquo;???????&rdquo;?????????????????μ?KB967723???????????????ж???????????ж???ж???л?????????ж???????3??????г?????????????&ldquo;??&rdquo;??????ж???ж?????????????????????????</p> <p>?·???????????&hellip;??? ?????? ??????????????????????????????????衣 ?????????????????????????????????????? ??????????????????Щ???衣 ??????????????????????????? ??????????????????????? ?й???α?????????????????????????????????±?????? Microsoft ???????????</p> <p>322756 (<a href="http://support.microsoft.com/kb/322756/">http://support.microsoft.com/kb/322756/</a> ) ??α???????? Windows ????</p> <p>?????????? TCP ???????? 5000 ??????????а????????С? ????Щ????????????2????? ???????????????????????в????????</p> <p>?????????????????&mdash;????&mdash;REGEDIT?? <br /> ????????????????????????? ???? ??HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters <br /> ?? ?? ???????? ??? ??????????????????????????????? MaxUserPort <br /> ?????: DWORD<br /> ?????? 65534 (??????????)<br /> ??Ч??Χ?? 5000-65534 (?????)<br /> ?????? 0&times;1388 (5000 ?????)<br /> ????? ??????????????????????κο???????????????????????? ?????1024 ?????????? 5000 ??????????? ????) ???? <br /> ????????????????????????????<br /> ????? ?????? TCPTimedWaitDelay ????????????????????????????????????? ???????????<a href="http://support.microsoft.com/kb/q196271">http://support.microsoft.com/kb/q196271</a></p> [MySQL]MySQL?????INNODB ?????????????? http://www.haxv.top//tech/4842.html www.haxv.top MySQL 2013/5/13 11:49:43 <p>?????MySQL????????????????????????????????????????????????????????innodb???????????repair table ?????myisam???????????????????????????′???????????????????????</p> <p><strong>????????</strong><br /> &nbsp;???????????????????????????????????</p> <pre> InnoDB: Database page corruption on disk or a failed InnoDB: file read of page 30506. InnoDB: You may have to recover from a backup. 130509 20:33:48 InnoDB: Page dump in ascii and hex (16384 bytes): ##?????????????? &hellip;&hellip; &hellip;&hellip; InnoDB: End of page dump 130509 20:37:34 InnoDB: Page checksum 1958578898, prior-to-4.0.14-form checksum 3765017239 InnoDB: stored checksum 3904709694, prior-to-4.0.14-form stored checksum 3765017239 InnoDB: Page lsn 5 614270220, low 4 bytes of lsn at page end 614270220 InnoDB: Page number (if stored to page already) 30506, InnoDB: space id (if created with &gt;= MySQL-4.1.1 and stored already) 19 InnoDB: Page may be an index page where index id is 54 InnoDB: (index &quot;PRIMARY&quot; of table &quot;maitem&quot;.&quot;email_status&quot;) InnoDB: Database page corruption on disk or a failed InnoDB: file read of page 30506. InnoDB: You may have to recover from a backup. InnoDB: It is also possible that your operating InnoDB: system has corrupted its own file cache InnoDB: and rebooting your computer removes the InnoDB: error. InnoDB: If the corrupt page is an index page InnoDB: you can also try to fix the corruption InnoDB: by dumping, dropping, and reimporting InnoDB: the corrupt table. You can use CHECK InnoDB: TABLE to scan your table for corruption. InnoDB: See also http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html InnoDB: about forcing recovery. InnoDB: A new raw disk partition was initialized or InnoDB: innodb_force_recovery is on: we do not allow InnoDB: database modifications by the user. Shut down InnoDB: mysqld and edit my.cnf so that newraw is replaced InnoDB: with raw, and innodb_force_... is removed. 130509 20:39:35 [Warning] Invalid (old?) table or database name '#sql2-19c4-5'</pre> <p>????????????????????????????????????????????????????????s?????????????????????????????????????????????????innodb?????<br /> ?????Performance??blog??????????????</p> <p>?????????????????????????????????????????????????????????????????????????????????<strong>innodb_force_recovery</strong></p> <pre> innodb_force_recovery???????InnoDB?洢????????????????0????????????????????е? innodb_force_recovery?????????1-6,??????????????????????????????ò????????0???????????select,create,drop????,??insert,update????delete???????????????? <strong>1(SRV_FORCE_IGNORE_CORRUPT):?????鵽??corrupt??? 2(SRV_FORCE_NO_BACKGROUND):????????????У??????????????full purge??????????crash?? 3(SRV_FORCE_NO_TRX_UNDO):????????????????? 4(SRV_FORCE_NO_IBUF_MERGE):????в?????????????? 5(SRV_FORCE_NO_UNDO_LOG_SCAN):?????????????InnoDB?洢?????δ????????????????? 6(SRV_FORCE_NO_LOG_REDO):???????????????</strong></pre> <p>??????????????????????????????????????????????????innodb_force_recovery ?????1???????鵽???????????????????????????г?????????????????????????????????<br /> (index&nbsp;&quot;PRIMARY&quot;&nbsp;of table&nbsp;&quot;maitem&quot;.&quot;email_status&quot;)</p> <p>????????????????(clustered key index)???????????????????????????(secondary indexes)????????????????????????????OPTIMIZE TABLE?????????????????????????????(table dictionary)?????????????????Щ??</p> <p><strong>???????裺</strong><br /> ?????????????????????????????????innodb_force_recovery = 1????InnoDB??????????£?</p> <pre> ???check??repair table ????Ч alter table email_status engine =myisam; #???????????????innodb_force_recovery =<strong>1</strong>?? ERROR 1025 (HY000): Error on rename of '...' to '....' (errno: -1) </pre> <pre><strong>????????? </strong>create table email_status_bak #???????????????INNODB?????MYISAM??<strong> ?????????? </strong>insert into email_status_bak select * from email_status; ????????? drop table email_status; ????innodb_force_recovery ???????? ???????? rename table edm_email_status_bak to email_status; ?????洢???? alter table edm_email_status engine = innodb</pre> <p><strong>???</strong><br /> ?????????????????? ??&nbsp;innodb_force_recovery&nbsp;??????????????????????????????????????????????????????????????????????????????insert into tb select * from ta limit X????????dump???????load??????</p> [SQL Server]??????????SQL Server 2008R2?????3145??????????? http://www.haxv.top//tech/4840.html www.haxv.top SQL Server 2013/5/13 11:09:34 <p>SQL Server 2000??????????SQL Server 2008R2??????????????????&rdquo;3145????&rdquo;???????</p> <p>?????μ??????????????????ú???TFS?????????????????????????????????????????????е??????????????????????У????????????????DVBBS????????????????????????????£???????????????????????????</p> <p>?????????????????????????????????????????????????????????????????????°??TFS????????????????????????????????????????????SQL Server 2000????????????????????SQL Server 2008R2?????????????????У??????????μ?3145????</p> <p>??????е?????????????е? 'xxx' ????????</p> <p>?????SQL Server?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????SQL Server 2008R2???????????????? SQL Server 2000???????????????????????????????????????£?????????????????????????????&ldquo;??????е?????????????е??????? SQL 2005 ERROR:3145 ????? &rdquo;??????????????????</p> <p>1.????????????????????????????</p> <p>2.???????????????????</p> <p>use master <br /> restore database AdventureWorks from disk = 'E:\databasebackup\AdventureWorks.bak' <br /> with replace, MOVE N'AdventureWorks_Data' TO N'C:\Program Files\Microsoft SQL Server\MSSQL.5\MSSQL\Data\AdventureWorks.mdf', MOVE N'AdventureWorks_Log' TO N'C:\Program Files\Microsoft SQL Server\MSSQL.5\MSSQL\Data\AdventureWorks_log.ldf'</p> <p>???????????????????ν??????????????????????????????г??????ν?????????????</p> <p>??????????????????????????????в?????????????????????????SQL Server 2008R2?????????????????????????????????????????SQL Server 2008R2????????????????????????????</p> <p><strong>???????????????????SQL Server 2000?????????????????SQL Server 2008R2???????????????????????</strong></p> <p>??????????SQL Server 2005????????SQL Server 2008R2????????????????????????÷??????????????????????????????£?????ο??ɡ?</p> [SQL Server]???SQL Server 2008????????SQL???????????????? http://www.haxv.top//tech/4839.html www.haxv.top SQL Server 2013/5/13 10:59:17 <p><strong>???????SQL Server 2008,?????????????????</strong></p> <p><strong>????????</strong></p> <p>???????SQL2005??SQL2008????</p> <p>???--&gt;????--&gt;Microsoft SQL Server 2008????2005??--&gt;???ù???--&gt;SQL Server ???ù?????--&gt;SQL Server????????--&gt;MSSQLSERVER(???????????????????) ??Э??--&gt;TCP/IP--&gt;???--&gt;????</p> <p>???????</p> <p>SQL2005:</p> <p>???--&gt;????--&gt;Microsoft SQL Server 2005--&gt;???ù???--&gt;SQL Server 2005??Χ?????????--&gt;????????????Χ????????? --&gt;Database Engine --&gt;??????????????????????????????????Tcp/Ip??named pipes.</p> <p>????????????? SQL Server 2005 ??????????????http://support.microsoft.com/kb/914277/zh-cn&nbsp;??</p> <p>SQL2008:</p> <p>??SQL Server Management Studio--&gt;?????[?????????????]?????????(???????????)--&gt;???--&gt;????--&gt;???????????б??????[??Χ?????????]--&gt;??RemoteDacEnable???True.??<strong>?????????</strong>??</p> <p>Express??</p> <p>???XP?п???????????????????????????????????:<br /> C:/Program Files/Microsoft SQL Server/MSSQL.1/MSSQL/Binn/sqlservr.exe,<br /> C:/Program Files/Microsoft SQL Server/90/Shared/sqlbrowser.exe</p> <p>????????</p> <p>???--&gt;????--&gt;Microsoft SQL Server 2008????2005??--&gt;???ù???--&gt;SQL Server ???ù?????--&gt;SQL Server ????--&gt;???SQL Server(MSSQLSERVER) ?????????????????????????--&gt;???????</p> <p>???????</p> <p>???????????sa???????? -&gt; ???? -&gt; Microsoft SQL Server 2008 -&gt; Microsoft SQL Server Management Studio -&gt; ??????????? -&gt; ????? -&gt; ????? -&gt; sa??????????</p> <p>???崠??</p> <p>???????????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023476.gif" /></p> <p>????????</p> <p>C#?????????????????????????C#???? -&gt; ???????????????? -&gt; app.config -&gt; ???????????£?</p> <p><strong>[c-sharp]</strong>&nbsp;</p> <p>connectionString=&quot;data source=??????IP/?????;initial catalog=???????;User ID=?????;password=????&quot;&nbsp;</p> <p>???????</p> <p>Good Luck?? Enjoy&hellip;&hellip;</p> <p><em><strong>????????SQL Server 2008????????</strong></em>?????????????????</p> <p>??????SQL?????????????????????????????????SQL???????????????????????????????????????????SQL????????????????????????????????????????????????????????????40---?????SQL???????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023287.jpg" /></p> <p><strong>??δ??????????</strong></p> <p>??????????????????????????????????????????????????????????????????????????????SQL 2008?????????壩</p> <p>?????????????????????????SQL?????????????????????????????SQL 2008???????п????????SQL Server 2008?????????SQL Server 2008 Management Studio,????????????顣???????????</p> <p>??1?????SQL Server 2008??????SQL Server 2008 Management Studio??</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023818.jpg" /></p> <p>??2????&ldquo;??????????(Server Properties)&rdquo; (???????????-????)</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023893.jpg" /></p> <p>???&ldquo;?????????÷????????????????&rdquo;?????????????????????????????????????????ù????????ɡ??????????&ldquo;???????????&rdquo;????????????????????????</p> <p>(??)????SQL????????MSSQLServer?????????Э?顣</p> <p>&nbsp; ???????????????SQL???????????á???&ldquo;SQL?????????ù???&rdquo;???&gt;??&ldquo;?y???SQL?????????????????&rdquo;&gt;???&ldquo;???SQL??????????Э??&rdquo;??????????SQL?????????SQL??????????????Э??????????汾??SQL?????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023499.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023283.jpg" /></p> <p>???&ldquo;???SQL?????????????Э??&rdquo;?е?TCP/IPЭ???????????????Ч?????μ?????????????????????????&ldquo;????????????&rdquo;????????????????????????SQL?????????????</p> <p>?????????SQL??????????????? ????????-????????????????????</p> <p>?????????????????????????????????????????????SQL?????????????????????SQL??????????????????????á?????????????????????????SQL?????????????????TCP/IPЭ?顣?????????SQL?????????????????????????£????&ldquo;TCP/IPЭ??&rdquo;???&ldquo;????&rdquo;:</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023240.jpg" /></p> <p>&nbsp; ??????????????????????SQL???????????TCP/IPЭ?????1433??????????????????????????????????1433??????TCP/IPЭ?鼴?ɡ???????????????е???Windows 7?????????????ò?????????????????????????????????&ldquo;???????&rdquo;???&ldquo;Windows?????&rdquo;???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023195.jpg" /></p> <p>&nbsp; ???&ldquo;???????&rdquo;????????????????&ldquo;???и?????????Windows?????&rdquo;?????????????????????????????&ldquo;???????Inboud Rules??&rdquo;????????????????????????????&ldquo;???????New Rule??&rdquo;???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023741.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023340.jpg" /></p> <p>??&ldquo;???????&rdquo;????????&ldquo;?????e???????&rdquo;?1433???????&ldquo;?????Э??&rdquo;???????????TCP/IPЭ?鼴?ɡ???????????????ò???????????????в??裩????????????????1433?????????????1433???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311023962.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311024295.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311024710.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-5/201351311024814.jpg" /></p> <p>??????????????裬?????????????????????????SQL????????????????????????????ok???</p> <p>????????????????????????????sql???????????net stop mssqlserver&nbsp;&nbsp; net start mssqlserver????</p> [MySQL]java????mysql???????????????? http://www.haxv.top//tech/4820.html www.haxv.top MySQL 2013/5/5 12:57:28 <p>????????:</p> <p>mysql??????????</p> <p>????my.ini??????&nbsp;</p> <pre> [mysql] default-character-set=utf8 [client] default-character-set=utf8 [mysqld] default-character-set=utf8</pre> <p>???????????????</p> <pre> DROP TABLE IF EXISTS `Company`; CREATE TABLE IF NOT EXISTS `Company` ( `Cname` VARCHAR(<strong>10</strong>) NOT NULL, `Caddr` VARCHAR(<strong>100</strong>), `Ctel` VARCHAR(<strong>16</strong>) )ENGINE=InnoDB DEFAULT CHARSET=UTF8; </pre> <p>jsp?????</p> <pre> &lt;%@ page language=&quot;java&quot; import=&quot;java.util.*&quot; pageEncoding=&quot;UTF-<strong>8</strong>&quot;%&gt;</pre> <p>???е????????</p> <pre> contentType=&quot;text/html;charset=gb2312&quot; </pre> <p><strong>???????????&nbsp;</strong><br /> <br /> ????mysql?(???????mysql???????????????)??????????????utf-8?????????????&nbsp;</p> <pre> //???mysql-jdbc???? Class.forName(&quot;com.mysql.jdbc.Driver&quot;).newInstance(); //????????? Connection sqlCon = DriverManager.getConnection( &quot;jdbc:mysql://localhost:3306/test?user=root&amp;password=1&amp;useUnicode=true&amp;characterEncoding=utf-8&quot; ); </pre> <p><strong>???????????&nbsp;</strong><br /> <br /> ??????????????????????????????????????????????????????&nbsp;</p> <pre> String name = request.getParameter(&quot;name&quot;); name= new String(name.getBytes(&quot;ISO-8859-1&quot;),&quot;utf-8&quot;); </pre> <p>?????</p> <pre> String name =new String( rst.getString(&quot;name&quot;).getBytes(&quot;ISO-8859-1&quot;),&quot;utf-8&quot;));</pre> <p><strong>??????????&nbsp;</strong></p> <p>???????????Щ????????????????????????????????????????????С??????????£???????????????????????????????&nbsp;<br /> <br /> &quot;????????????????????mysql??????????????????????????C:winntmy.ini ?е? [mysqld] ???????У?&nbsp;<br /> <br /> default-character-set=utf-8&nbsp;<br /> <br /> ???????mysql&nbsp;<br /> <br /> <strong>?????壺</strong>??tomca????web????μ?web.xml????????</p> <pre> &lt;filter&gt; &lt;filter-name&gt;UTFEncoding&lt;/filter-name&gt; &lt;filter-class&gt;com.founder.chenph.Util.EncodingFilter_UTF8 &lt;/filter-class&gt; &lt;init-param&gt; &lt;param-name&gt;encoding&lt;/param-name&gt; &lt;param-value&gt;UTF-8&lt;/param-value&gt; &lt;/init-param&gt; &lt;/filter&gt; &lt;filter-mapping&gt; &lt;filter-name&gt;UTFEncoding&lt;/filter-name&gt; &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt; &lt;/filter-mapping&gt; &lt;filter-mapping&gt; &lt;filter-name&gt;UTFEncoding&lt;/filter-name&gt; &lt;url-pattern&gt;*.do&lt;/url-pattern&gt; &lt;/filter-mapping&gt; </pre> [SQL Server]MS SQL Server ?????????? http://www.haxv.top//tech/4815.html www.haxv.top SQL Server 2013/4/30 21:21:18 <p><strong>--???????</strong><br /> SELECT --?????????м????????к???<br /> INSERT --???????????????????<br /> DELETE --???????????????????<br /> UPDATE --???????????е?????<br /> --???????<br /> CREATE TABLE --?????????????<br /> DROP TABLE --??????????????<br /> ALTER TABLE --??????????<br /> CREATE VIEW --??????????<br /> DROP VIEW --???????????????<br /> CREATE INDEX --?????????????????<br /> DROP INDEX --????????????????<br /> CREATE PROCEDURE --????????洢????<br /> DROP PROCEDURE --?????????????洢????<br /> CREATE TRIGGER --?????????????<br /> DROP TRIGGER --??????????????????<br /> CREATE SCHEMA --?????????????????<br /> DROP SCHEMA --?????????????????<br /> CREATE DOMAIN --??????????????<br /> ALTER DOMAIN --???????<br /> DROP DOMAIN --?????????????????</p> <p><strong>--???????</strong><br /> GRANT --??????????????<br /> DENY --??????????<br /> REVOKE --?????????????<br /> --???????<br /> COMMIT --???????????<br /> ROLLBACK --??????????<br /> SET TRANSACTION --???嵱????????????????<br /> <strong>--????SQL</strong><br /> DECLARE --?????趨?α?<br /> EXPLAN --?????????????????<br /> OPEN --????????????????α?<br /> FETCH --??????в?????<br /> CLOSE --????α?<br /> PREPARE --??????????SQL ???<br /> EXECUTE --????????SQL ???<br /> DESCRIBE --????????????<br /> ---???????<br /> declare @id char(10)<br /> --set @id = '10010001'<br /> select @id = '10010001'</p> <p><strong>---??????</strong><br /> ---??????@@???&nbsp;</p> <pre> --IF ELSE declare @x int @y int @z int select @x = <strong>1</strong> @y = <strong>2</strong> @z=<strong>3</strong> if @x &gt; @y print 'x &gt; y' --????????'x &gt; y' else if @y &gt; @z print 'y &gt; z' else print 'z &gt; y'</pre> <pre> --CASE use pangu update employee set e_wage = case when job_level = &rsquo;<strong>1</strong>&rsquo; then e_wage*<strong>1.08</strong> when job_level = &rsquo;<strong>2</strong>&rsquo; then e_wage*<strong>1.07</strong> when job_level = &rsquo;<strong>3</strong>&rsquo; then e_wage*<strong>1.06</strong> else e_wage*<strong>1.05</strong> end</pre> <pre> --WHILE CONTINUE BREAK declare @x int @y int @c int select @x = <strong>1</strong> @y=<strong>1</strong> while @x &lt; <strong>3</strong> begin print @x --???????x ??? while @y &lt; <strong>3</strong> begin select @c = <strong>100</strong>*@x + @y print @c --???????c ??? select @y = @y + <strong>1</strong> end select @x = @x + <strong>1</strong> select @y = <strong>1</strong> end</pre> <pre> --WAITFOR --?? ???1 С?2 ????3 ???????SELECT ??? waitfor delay &rsquo;<strong>01</strong>:<strong>02</strong>:<strong>03</strong>&rsquo; select * from employee --?? ???????11 ????8 ???????SELECT ??? waitfor time &rsquo;<strong>23</strong>:<strong>08</strong>:<strong>00</strong>&rsquo; select * from employee</pre> <p>***SELECT***</p> <pre> select *(????) from table_name(????) where column_name operator value ex:(????) select * from stock_information where stockid = str(nid) stockname = 'str_name' stockname like '% find this %' stockname like '[a-zA-Z]%' --------- ([]???????Χ) stockname like '[^F-M]%' --------- (^????????Χ) --------- ????????like??????where????????????) or stockpath = 'stock_path' or stocknumber &lt; <strong>1000</strong> and stockindex = <strong>24</strong> not stock*** = 'man' stocknumber between <strong>20</strong> and <strong>100</strong> stocknumber in(<strong>10</strong>,<strong>20</strong>,<strong>30</strong>) order by stockid desc(asc) --------- ????desc-????asc-???? order by <strong>1</strong>,<strong>2</strong> --------- by?к? stockname = (select stockname from stock_information where stockid = <strong>4</strong>)</pre> <p>--------- ????<br /> --------- ????????????select?????????е????<br /> --------- ??????????where??????????in?????</p> <pre> select *from table1, table2 where table1.id *= table2.id -------- ?????????table1???е??table2????е???null??? table1.id =* table2.id -------- ???????? select stockname from table1 union [all] ----- union?????????????all-????????? select stockname from table2</pre> <p>***insert***</p> <pre> insert into table_name (Stock_name,Stock_number) value (&quot;xxx&quot;,&quot;xxxx&quot;) value (select Stockname , Stocknumber from Stock_table2)---value?select???</pre> <p>***update***</p> <pre> update table_name set Stockname = &quot;xxx&quot; [where Stockid = 3] Stockname = default Stockname = null Stocknumber = Stockname + <strong>4</strong></pre> <p>***delete***</p> <pre> delete from table_name where Stockid = <strong>3</strong> truncate table_name ----------- ????????????У?????????????? drop table table_name --------------- ????????</pre> <p>***alter table*** --- ??????????</p> <pre> alter table database.owner.table_name add column_name char(<strong>2</strong>) null ..... sp_help table_name ---- ????????????? create table table_name (name char(<strong>20</strong>), age smallint, lname varchar(<strong>30</strong>)) insert into table_name select ......... ----- ???????е???????????±?? alter table table_name drop constraint Stockname_default ---- ???Stockname??default???</pre> <p><strong>----??????----</strong></p> <p>AVG --??????<br /> COUNT --??????<br /> MAX --??????<br /> MIN --????С?<br /> SUM --???</p> <pre> --AVG use pangu select avg(e_wage) as dept_avgWage from employee group by dept_id --MAX --??????????????? use pangu select e_name from employee where e_wage = (select max(e_wage) from employee)</pre> <p><strong>----???????----</strong></p> <pre> DAY() --????????date_expression_r ?е?????? MONTH() --????????date_expression_r ?е??·?? YEAR() --????????date_expression_r ?е????? DATEADD( , ,) --???????????????date ??????????????????number ???????????? DATEDIFF( , ,) --?????????????????????datepart ?????????? DATENAME( , ) --???????????????????????????????? DATEPART( , ) --???????????????????????????????? GETDATE() --??????DATETIME ??????????????????????????</pre> <p><strong>----??????----</strong></p> <pre> APP_NAME() --????????????е???ó???????? COALESCE() --???????????????е??????NULL ??????? COL_LENGTH(&lt;'table_name'&gt;, &lt;'column_name'&gt;) --????????????????ε????? COL_NAME(, ) --????????????????ε?????????? DATALENGTH() --???????????????????????????? DB_ID(['database_name']) --???????????????? DB_NAME(database_id) --?????????????????? HOST_ID() --????????????????????????? HOST_NAME() --????????????????????????? IDENTITY([, seed increment]) [AS column_name]) --IDENTITY() ???????SELECT INTO ??????????????????identity column?е??±??? ISDATE() --?????ж???????????????????????? ISNULL(, ) --???????????е?NULL ????????滻 ISNUMERIC() --?????ж???????????????????????? NEWID() --???????????UNIQUEIDENTIFIER ???????? NULLIF(, ) --NULLIF ??????expression_r1 ??expression_r2 ????????NULL ????????????expression_r1</pre> [Oracle]oracle??????????????? http://www.haxv.top//tech/4799.html www.haxv.top Oracle 2013/4/26 11:40:56 <p>?????????????????????????в??????????????????????Ч??????????????????????ī???????????????????????????Oracle??????м?????????????????????????????????????????????????<br /> <br /> <strong>???????????????£?<br /> <br /> 1. ?????????<br /> </strong><br /> ?????????????????index ??tablespace?????????tablespace??????index??owner????tax.??index????????????????tablespace, ????????tablespace???????????????????????<br /> <br /> <strong>2. ??????Щindex??????</strong><br /> <br /> ???anlyze index .... validate structure???????????????????index???????????index ???????????? index_stats??????????ж?????????<br /> <br /> height &gt;4 pct_used &lt; 50% del_lf_rows / lf_rows +0.001 &gt; 0.03 g )<br /> <br /> <strong>3. google???????????????index???</strong><br /> <br /> ????anlyze index .... validate structure????????index?????????????google???£????????????Loop ?????????????????????е??????????????????????index??????????????????????????????С?<br /> <br /> <strong>4. anlyze index ????index</strong><br /> <br /> ????????????????????anlyze index????????????????????????index??????????Щindex????????????????????????anlyze???????????????????????????????????????????????????????????????????Exception Handler?????anlyze index?????????Щindex ????????????????????????????????????index name????????Щindex??????<br /> <br /> <strong>5. ???</strong><br /> <br /> ???????522??index????160????????????ж????????????????????????????Щ??а???leaf??????????з?????????ж????????????????????index rebuild online. ?????????<br /> <br /> <strong>6.????????rebuild index???<br /> </strong><br /> rebuild index online??????Щ?д???DML???????????????????????????????????????????????rebuild?????????rebuild index online??????I/O?????????????online???岻????????????????????????????rebuild index??????index???????????????????????????????????paralle 8????????????????????????8??cpu processors.<br /> <br /> ????Oracle?????????????????????????????????????????????????????????</p> [SQL Server]????SQL Server 2008??????Cannot shrink log file 2 ???????? http://www.haxv.top//tech/4767.html www.haxv.top SQL Server 2013/4/10 13:51:37 <p>SQL 2008?????????23G?????????????????????Truncate???????????????С??1G??????????????????????????????</p> <p>??????????????????Shrink?????????????????????????????????</p> <pre><strong>Cannot shrink log file 2</strong> (CNBlogsText_log) because of minimum log space required.</pre> <p>?????????????????д????????-SQL Server 2008?????????????????????????????????</p> <p>???????????????Full?????????Simple??</p> <p><strong>??????Shrink????????</strong></p> <p>????????????Simple???????????Full??</p> <p>????????????????????????????????????????????</p> <p>??????и?????????????????????????????</p> <p>1. Detach?????<strong>Detach?????????????ж??????????д?????</strong>??</p> <p>2. ?????????????????</p> <p>3. Attach????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/2013410135220821.png" /></p> <p>4. ???(Remove)???????????????????????Ok????Attach??SQL Server????????????????????????????????μ??????????Attach??</p> <p>5. ??????????????????????·??????????Detach/Attach?????????????????????</p> <p><strong>Detach?????</strong></p> <p>??????????????μ?λ??</p> <p>Attach????????????????·???????Attach</p> <p>????????????????????????????????????????????????</p> [SQL Server]???SQL SERVER??????????????????????????? http://www.haxv.top//tech/4750.html www.haxv.top SQL Server 2013/4/8 16:35:30 <p>????UAT????????SQL SERVER 2008 R2?????????????????????????????Sharepoint?в???????κβ???????????????????ó???????????????о??Щ?μ???ú???????????????????????????????????????????????????????????????κ???????????????????????Щ???????????????????????????G???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????G??????????????126G??????????????????????????????????G???????о???????????????????90G????????????????windows????????????????????????????????????????п????????????????????????????????????SQL SERVER??????????????????????90G???????????????????????????????????????????</p> <p>??????????μ???飬??????????????????????SQL SERVER ?????????????????????????????????????ü???С????????????????????????????????????????????????????????????У??????????????SQL SERVER?????????в????????????????90G???????????????????????£?</p> <p>???????????£?<strong>SQL Server ???? 7 ?? ErrorLog ???</strong>???????</p> <p>ErrorLog</p> <p>ErrorLog.1</p> <p>ErrorLog.2</p> <p>ErrorLog.3</p> <p>ErrorLog.4</p> <p>ErrorLog.5</p> <p>ErrorLog.6</p> <p>--??? SQL Server ?????????? ?浵</p> <p><span style="color: #6600cc">EXEC sp_cycle_errorlog<br /> GO</span></p> <p>??????EXEC sp_cycle_errorlog??????????μ?errorlog??????errorlog.6???????????????????????????????????????6?ξ?????errorlog???????顣</p> <p>&nbsp;<span style="color: #cc0000">??????????У????????′?????????</span></p> <p><span style="color: #cc0000">??? 17049?????? 16???? 1?????? sp_cycle_errorlog???? 9 ??<br /> &nbsp;???????????????? '5(????????)'??????????????????? 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG.5' ????? 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG.6'??SQL Server ?????????????? SQL Server ?????Щ???????????????????????????????????????????Щ SQL Server ???????</span>????????κ??????????δ?????????????д?????&quot;<br /> DBCC ?????????? DBCC ?????????????????????????????</p> <p>?????????90G??????????????ɡ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p> <p>??????ε??????????????ЩSQL SERVER??????????????????????б??????????????ORACEL?????SQL SERVER???????????Щ??</p> [MySQL]CentOS6.4????Mysql?????ж???????????y?? http://www.haxv.top//tech/4748.html www.haxv.top MySQL 2013/4/7 11:38:21 <p>????Windows server 2003,2008??????????Sql Server ???????linux????????????mysql?????????Mysql???????????汾?????????Linux??????<br /> <br /> <strong>???mysql???</strong></p> <p>MySQL???????????????????????????MySQL AB???????????????Oracle?????MySQL????????????????????????????????????????????У????????????????????????????????????????????????????????MySQL??SQL????????????????????????????????MySQL????????????????????????&ldquo;???????&rdquo;????????????????????棬?????????С????????????г????????????????????????????С???????????????MySQL????????????????????????????????????PHP??Apache???????????????????</p> <p>??Linux????mysql????????????????????????mysql??????rpm????http://dev.mysql.com/downloads/mysql/5.6.html#downloads?????????????????????????????????????????????μ?汾??5.6.10???</p> <p>?????????????yum??????mysql???????????????????????а???????????mysql?????Щ????jar???????????????????????????????鷳??????</p> <p><strong>????ж??????mysql</strong></p> <p>???mysql???????Linux??????????????????????????????Linux???汾?????????????mysql??????????棬?????????????????????????????????????????????mysql?????</p> <pre> [root@xiaoluo ~]# rpm -qa | grep mysql????// ???????????ò??????????????????mysql?????</pre> <p>?е???????????? rpm -e ???? ???? rpm -e --nodeps ??????ж???</p> <pre> [root@xiaoluo ~]# rpm -e mysql????// ???????? [root@xiaoluo ~]# rpm -e --nodeps mysql????// ??????????????????????????????????????????????????????????????????????????</pre> <p>???????????????????? rpm -qa | grep mysql ????????mysql??????ж????????</p> <p><strong>???????yum??????mysql????</strong></p> <p>???????yum??????????mysql????????????????????????? yum list | grep mysql ????????yum??????mysql???????????汾??</p> <pre><span style="color: #6600cc">[root@xiaoluo ~]# yum list | grep mysql</span></pre> <p>???????yum????????mysql???????????汾?????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201347113922825.jpg" /></p> <p>?????????????????&nbsp;yum install -y mysql-server mysql mysql-devel&nbsp;????mysql mysql-server mysql-devel???????(???:???mysql??????????????mysql????????????????mysql???????????????????mysql-server????????)</p> <pre><span style="color: #cc0000">[root@xiaoluo ~]# yum install -y mysql-server mysql mysql-deve</span></pre> <p>?????????????yum??????????e??mysql????????????????????????????Щ???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201347113922300.jpg" /></p> <p>???????????yum??????mysql??????????????????鷳???????????????????????mysql???????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201347113923568.jpg" /></p> <p>??????????????????????????????mysql-server??汾</p> <pre><span style="color: #006600">[root@xiaoluo ~]# rpm -qi mysql-server</span></pre> <p>????????mysql-server?????????°汾??????????????°汾??????mysql????????rpm?????????????????????mysql?????????????????</p> <p><strong>???mysql???????????????????</strong></p> <p>??????????mysql??????????????????mysqld????????????????????????????????????&nbsp;service mysqld start&nbsp;????????????????mysql????</p> <p>???????????????????mysql????mysql?????????????г????????????磺</p> <p>[root@xiaoluo ~]# service mysqld start<br /> &nbsp;</p> <pre> ????? MySQL ????? WARNING: The host 'xiaoluo' could not be looked up with resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version. The MySQL daemon, mysqld, should work normally with the exception that host name resolving will not work. This means that you should use IP addresses instead of hostnames when specifying MySQL privileges ! Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h xiaoluo password 'new-password' Alternatively you can run: /usr/bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe &amp; You can test the MySQL daemon with mysql-test-run.pl cd /usr/mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! [???] ??????? mysqld?? [???]</pre> <p><br /> &nbsp;</p> <p>??????????????????mysql???????????????????????????????mysql???????г??????????????????????????mysql???????????????????????????磺</p> <pre><strong>[root@xiaoluo ~]# service mysqld restart</strong> ?? mysqld?? [???] ??????? mysqld?? [???]</pre> <p>?????????mysql???????????????????mysqld??????????? ???&nbsp;&nbsp;chkconfig --list | grep mysqld&nbsp;????????mysql?????????????????????磺</p> <pre> [root@xiaoluo ~]# chkconfig --list | grep mysqld mysqld 0:??? 1:??? 2:??? 3:??? 4:??? 5:??? 6:???</pre> <p>???????mysqld??????п????????????????????????&nbsp;chkconfig mysqld on&nbsp;?????????????ó????????????????????ζ??????????</p> <pre> [root@xiaoluo ~]# chkconfig mysqld on [root@xiaoluo ~]# chkconfig --list | grep mysql mysqld 0:??? 1:??? 2:???? 3:???? 4:???? 5:???? 6:???</pre> <p>mysql???????????????????root?????????????????root?????????????????????????????mysql???????????????????Щ?????????????????????????У???????????????????? ??</p> <pre> /usr/bin/mysqladmin -u root password 'new-password'????// ?root??????????? </pre> <p>?????????????? ???????????????root???????????(??????root?????mysql??root??????Linux??root???)</p> <pre> [root@xiaoluo ~]# mysqladmin -u root password 'root'????// ??????????root???????????? root</pre> <p>??????????????&nbsp;mysql -u root -p&nbsp;??????????????mysql???????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-4/201347113923475.jpg" /></p> <p><strong>?塢mysql????????????????</strong></p> <p><span style="color: #ff0000">1./etc/my.cnf&nbsp;????mysql???????????</span></p> <p>????????????????????Щ???</p> <p>[root@xiaoluo etc]# ls my.cnf&nbsp;<br /> &nbsp;</p> <pre> my.cnf [root@xiaoluo etc]# cat my.cnf [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid</pre> <p><span style="color: #ff0000">2./ver/lib/mysql&nbsp;&nbsp; mysql?????????????????λ??</span><br /> &nbsp;</p> <p>?????mysql?????????????????????????/ver/lib/mysql???????</p> <p>[roo [SQL Server]SQL2005??????SQL Server ???????????δ??????????????????? http://www.haxv.top//tech/4746.html www.haxv.top SQL Server 2013/4/6 12:54:09 <p>SQL2005??????SQL&nbsp;Server&nbsp;???????????δ??????</p> <p>???&ldquo;VIAЭ??&rdquo;????????&quot;VIAЭ??&quot;??÷????????-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;???ù???-&gt;SQL&nbsp;Server&nbsp;Configuration&nbsp;Manager&nbsp;-&gt;???????&quot;SQL&nbsp;Server&nbsp;2005&nbsp;????????&quot;-&gt;MSSQLSERVER&nbsp;?????Э??&nbsp;&nbsp;&nbsp;????????????а?&ldquo;VIAЭ??&rdquo;???ü???!</p> <p>??????sql&nbsp;server&nbsp;???ù????????????????????δ??????</p> <p><img alt="" small="0" src="/upload/tech/UploadPic/2013-4/201346125558900.jpg" /><br /> <br /> ?????????</p> <p>???&ldquo;VIAЭ??&rdquo;????????&quot;VIAЭ??&quot;??÷????????-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;???ù???-&gt;SQL&nbsp;Server&nbsp;Configuration&nbsp;Manager&nbsp;-&gt;???????&quot;SQL&nbsp;Server&nbsp;2005&nbsp;????????&quot;-&gt;MSSQLSERVER&nbsp;?????Э??&nbsp;????????????а?&ldquo;VIAЭ??&rdquo;???ü???!</p> <p>????????????????????м?????????????????????</p> <p>???&nbsp;&quot;C:\Program&nbsp;Files\Microsoft&nbsp;SQL&nbsp;Server\MSSQL.1\MSSQL\DATA\mastlog.ldf&quot;&nbsp;?????????δ????????????????????С?????????????????</p> <p>???????????sql?????????????????????????????????&ldquo;??????????????????&rdquo;??????????????</p> <p><img alt="" small="0" src="/upload/tech/UploadPic/2013-4/201346125559444.jpg" /><img alt="" small="0" src="/upload/tech/UploadPic/2013-4/201346125559753.jpg" /><br /> ???SQL&nbsp;Server????????????????????</p> <p>???????????????????????????????????????????????????????????????:&quot;???????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;???????????????&nbsp;SQL&nbsp;Server&nbsp;?????????????????????′?????&nbsp;(provider:&nbsp;?????????????,&nbsp;error:&nbsp;40&nbsp;-&nbsp;???????&nbsp;SQL&nbsp;Server??????)&nbsp;&quot;????????????????????£?</p> <p>??????????SQL&nbsp;Server????????????????ж?????????????????????????</p> <p>??????1.?????????????????????????????:</p> <p>????(1)???-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;SQL&nbsp;Server&nbsp;2005??Χ?????????,???????浥??&quot;????????????Χ?????????&quot;,?????????????Database&nbsp;Engine,????&quot;????&quot;,??????????????,??????????????&quot;???&quot;,?????&quot;???????&quot;????,???????,?????′ο?????????????;</p> <p>????(2)???:???-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;???ù???-&gt;SQL&nbsp;Server&nbsp;Configuration&nbsp;Manager,???SQL&nbsp;Server&nbsp;2005??????SQL&nbsp;Server(MSSQLSERVER)&nbsp;,?????????????е?&quot;???????&quot;????????????????;</p> <p>??????????????????,?????????????????????????,???????,????????&quot;SQL&nbsp;Server&nbsp;2005???ù?????&quot;?е?SQL&nbsp;Server&nbsp;2005????????-&gt;MSSQLSERVERЭ???е?VIA?????????,?????????,????????.????????????????????????????.</p> <p>??????2.?????????????????????????????????4?????棬???????&nbsp;SQL&nbsp;Server??????????????????SQL&nbsp;Server&nbsp;?????????Windows&nbsp;????????SQL&nbsp;Server&nbsp;2005&nbsp;???????????Windows&nbsp;????????&ldquo;SQLBrowser&rdquo;??????????????????????????????</p> <p>??????SQLServer&nbsp;????????????????</p> <p>??????1.???&ldquo;???-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;???ù???-&gt;SQL&nbsp;Server&nbsp;??Χ?????????&rdquo;</p> <p>??????2.??&ldquo;SQL&nbsp;Server&nbsp;2005&nbsp;??Χ?????????&rdquo;?,&nbsp;????&ldquo;????????????Χ?????????&rdquo;</p> <p>??????3.????????&ldquo;?????????&rdquo;??&nbsp;???&ldquo;???????&rdquo;??????????&ldquo;????????????????&rdquo;??</p> <p>??????????????Э?飬(&nbsp;?????????????TCP/IP&nbsp;?????????????!)????&ldquo;???&rdquo;???????????????</p> <p>????&ldquo;??????????????????????????????????????????????Ч??&rdquo;??????&ldquo;???&rdquo;???????</p> <p>??????4.???&ldquo;?????????&rdquo;??&nbsp;???&ldquo;????&rdquo;??????????&ldquo;??&rdquo;?????&nbsp;MSSQLSERVER&nbsp;????????</p> <p>?????????&ldquo;???&rdquo;?????????MSSQLSERVER&nbsp;????</p> <p>????????SQLServer&nbsp;?????????</p> <p>??????1.???&ldquo;???-&gt;????-&gt;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005-&gt;???ù???-&gt;SQL&nbsp;Server&nbsp;??Χ?????????&rdquo;</p> <p>??????2.??&ldquo;SQL&nbsp;Server&nbsp;2005&nbsp;??Χ?????????&rdquo;?,&nbsp;????&ldquo;????????????Χ?????????&rdquo;</p> <p>??????3.????????&ldquo;SQL&nbsp;Server&nbsp;Browser&rdquo;??&nbsp;???&ldquo;????&rdquo;???????&ldquo;???????&rdquo;???&ldquo;???&rdquo;??</p> <p>?????????&ldquo;???&rdquo;??????&ldquo;???&rdquo;???????</p> <p>??????Windows&nbsp;????????&ldquo;SQL&nbsp;Server&nbsp;2005&rdquo;????????</p> <p>??????1.??&nbsp;Windows&nbsp;????????y????У????&ldquo;&nbsp;????&rdquo;&nbsp;??????????&ldquo;??????&rdquo;</p> <p>??????2.??&ldquo;????????&rdquo;?е???&ldquo;???&rdquo;</p> <p>??????3.??????&ldquo;C:\ProgramFiles\Microsoft&nbsp;Files\Microsoft&nbsp;SQL&nbsp;Server\&nbsp;MSSQL.1&nbsp;\MSSQL\Binn\sqlservr.exe&rdquo;??</p> <p>????????&ldquo;???&rdquo;????</p> <p>???????&nbsp;??&nbsp;·??????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;?????????????&nbsp;MSSQL.1&nbsp;???λ???????????????ID??</p> <p>??????4.?????????????????SQL&nbsp;Server&nbsp;2005&nbsp;????????????&nbsp;1&nbsp;??&nbsp;3??</p> <p>??????Windows&nbsp;????????&ldquo;SQLBrowser&rdquo;????????</p> <p>??????1.??&nbsp;Windows&nbsp;????????y????У????&ldquo;&nbsp;????&rdquo;&nbsp;??????????&ldquo;??????&rdquo;</p> <p>??????2.??&ldquo;????????&rdquo;?е???&ldquo;???&rdquo;</p> <p>??????3.??????&ldquo;C:\ProgramFiles\Microsoft&nbsp;Files\Microsoft&nbsp;SQL&nbsp;Server\90\Shared\sqlbrowser.exe&rdquo;??</p> <p>????????&ldquo;???&rdquo;????</p> <p>???????&nbsp;??·??????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????????????.NET?????????????????????????????????SQL&nbsp;Server&nbsp;2005????????????????localhost????????????????IP???????????????????????????SQL&nbsp;Server??????????????????????????????Э?????????TCP/IP???????????????????</p> <p>??????????????????&nbsp;Microsoft&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????????????????????????κγ????????&nbsp;SQL&nbsp;Server&nbsp;???????????????????磬?????&nbsp;SQLCMD&nbsp;??ù????????&nbsp;SQL&nbsp;Server&nbsp;???????′????????&nbsp;</p> <p>Sqlcmd:????:Microsoft&nbsp;SQL&nbsp;Native&nbsp;Client:????????????????????????????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????&nbsp;SQL&nbsp;Server&nbsp;??????????????????????????????</p> <p>?????н?&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????????????????????????????????£?SQL&nbsp;Server&nbsp;2005&nbsp;Express&nbsp;Edition&nbsp;??&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;Developer&nbsp;Edition&nbsp;?????????????????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????????????????????в??裺&nbsp;</p> <p>&middot;&nbsp;?????????????????????&nbsp;SQL&nbsp;Server&nbsp;?????????????????&nbsp;</p> <p>&middot;&nbsp;??&nbsp;SQL&nbsp;Server&nbsp;Browser&nbsp;????&nbsp;</p> <p>&middot;&nbsp;???÷????????????&nbsp;SQL&nbsp;Server&nbsp;??&nbsp;SQL&nbsp;Server&nbsp;Browser&nbsp;????????????????</p> <p>???????????????Щ?????е???????&nbsp;</p> <p>?????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;???????????????????&nbsp;SQL&nbsp;Server&nbsp;Browser&nbsp;?????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??Χ??????????????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????Χ??????????????&nbsp;?&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;Express&nbsp;Edition&nbsp;??&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;Developer&nbsp;Edition&nbsp;???????????</p> <p>?????????????????????????&nbsp;SQL&nbsp;Server&nbsp;2005&nbsp;??????????????????????????в????????&nbs [SQL Server]???? SQL Server ?????????????????????????????????????δ??????????????????? http://www.haxv.top//tech/4743.html www.haxv.top SQL Server 2013/4/4 23:02:08 <p>??????SQL Server 2000?????????,???????′???</p> <p>???? SQL Server ?????????????????????????????????????δ????????????????????????????????????????? SQL Server ??????????????????? (provider: ?????????????, error: 40 - ??????? SQL Server ??????)&nbsp;</p> <p>??????SQL Server 2005??????????????????????????????!<br /> <font face="Courier New">??????????????????????????????? SQL Server 2005 ??????????????? SQL Server ?????????????????????′????? (provider: ?????????????, error:</font><font face="Courier New">40 - ??????? SQL Server ??????)<br /> ?????????SQL Server2000 ?? ???SQL Server2005????????к??????????<br /> ???????о??£?<br /> 1???????????????????? SQL Server2005???и?SQL Server2005??Χ?????????? ??????????????Χ??????????database engine????????????????????????????????????TCP/IP??named pipes??????.???????????????????????????</font><font face="Courier New"><br /> <img border="0" alt="" width="670" height="514" src="/upload/tech/UploadPic/2013-4/20134423455617.jpg" /><br /> <br /> 2?????????web.config????????????????????????Data Source????????????????????Ip????loacl????.<br /> ????&lt;add key=&quot;Statdb.Connectstring&quot; value =&quot;Data Source=<font face="Courier New" style="color: red">MICROSOF-9D13DF</font>;Initial Catalog=Users;User ID=sa;Password=SA&quot;/&gt; <br /> <br /> 3??IIS?????????????????????????????????????SQL Server2005???????????2005<br /> ????????????iis???????????????????????????asp.net?汾?????????汾??????????ú????????????????????????????????<br /> <img border="0" alt="" width="472" height="441" src="/upload/tech/UploadPic/2013-4/20134423455515.jpg" /><br /> ??????????ú??????<br /> <img border="0" alt="" width="795" height="622" src="/upload/tech/UploadPic/2013-4/20134423455485.jpg" /><br /> ??????????????????????????????????????????</font></p> <p><font face="Courier New">4,??SQL Server????<br /> ?????????????????????????????????<br /> <span style="color: red">?????е? Microsoft SQL Server 2000 ?汾?? Microsoft SQL Server 2000 Desktop Engine (???? MSDE) ?? Microsoft Windows Server 2003 ????????????????? ????????????????????Щ???????????Microsoft SQL Server 2000??MSDE ?? ????? TCP/IP ?? UDP ??????????á????????Щ??????????? <a target="_blank" href="http://www.microsoft.com/sql/downloads/default.asp">http://www.microsoft.com/sql/downloads/default.asp</a> ?? <a target="_blank" href="http://www.microsoft.com/china/sql/downloads/default.asp">http://www.microsoft.com/china/sql/downloads/default.asp</a> ????????????? ?? Microsoft SQL Server 2000 ?? MSDE ?????·?????? <br /> </span><span style="color: #000000"><strong>SQL Server 2000 ???SP4?????</strong></span></font></p> <p><font face="Courier New">??????????????<br /> <br /> 5?????SQL Server2000???????????<br /> ???????SQL Server2000???SQL Server2005?????????????????????????????????????1433???????????????????1058?????<br /> ??????????????1433?????<br /> ?????????????????SQL Server2000???и?????????????ù???????TCP/IP????????????????<br /> <img border="0" alt="" width="554" height="367" src="/upload/tech/UploadPic/2013-4/20134423455107.jpg" /><br /> ???TCP/IP?????????<br /> <img border="0" alt="" width="441" height="200" src="/upload/tech/UploadPic/2013-4/20134423455418.jpg" /><br /> ????????????1433</font></p> [SQL Server]SQL Server2012?????????????????????? http://www.haxv.top//tech/4735.html www.haxv.top SQL Server 2013/4/1 18:40:36 <p>SQL Server 2012??????????????????????μ?????????????μ?SQL Server 2012 SP1???????о????á??????????????SQL2012?????SQL2008R2???????????????????????????????????????????????ò?????????????Щ????????????????????????????</p> <p><strong>?????????Sequence????</strong></p> <p>???????Oracle????????????????????????????????????SQL Server??????????????????????????????????????????????????????CREATE SEQUENCE???????????????NEXT VALUE FOR???????????</p> <pre> CREATE SEQUENCE [dbo].[SQ_1] AS [bigint] START WITH 1 INCREMENT BY 1; SELECT NEXT VALUE FOR [SQ_1] AS FirstUse;</pre> <p>??????????????????????</p> <pre> INSERT INTO t1(c1,c2) VALUES (NEXT VALUE FOR SQ_1, 'Test') ;</pre> <p>????????????????????????????????????????</p> <p><strong>?????μ??????????</strong></p> <p>?????SQL Server?з????????????top????????????????????ROW_NUMBER??????????????????μ?SQL2012??????order by?????offset??fetch????????о??е?????LINQ????????????1W??????20????Ч???????????ROW_NUMBER????????SQL???</p> <pre> select * from ( select *,ROW_NUMBER() over(order by p.PROJECT_ID) R from PROJECT p where p.IS_DELETED=0 ) x where x.R between 10001 and 10020</pre> <p>?????????μ??????????????????</p> <pre> SELECT * FROM PROJECT p where p.IS_DELETED=0 ORDER BY p.PROJECT_ID OFFSET 10001 ROWS FETCH NEXT 20 ROWS ONLY;</pre> <p>?????????μ????????????????????????????????????Ч????????????????£?????????</p> <p><strong>?????Щ?μ?????????</strong></p> <p>3.1????C#????????????IIF????</p> <p>?????????VBA?е?IIF??????????ж???????????????????棬?????????????????????????????????</p> <p>????????????????????????????????????case when??????????????ж???????С???????????????????????д?????</p> <pre> select p.CODE,case when p.SIZE&gt;100 then 'Big' else 'Small' end as SIZE_STRING from PROJECT p where SIZE is not null</pre> <p>???????????????д???</p> <pre> select p.CODE,IIF(p.SIZE&gt;100,'Big','Small') as SIZE_STRING from PROJECT p where SIZE is not null</pre> <p>3.2?????ж??????NULL???????????CONCAT????</p> <p>SQL Server???????????????????????????&ldquo;+&rdquo;?????????????????????????????????????????????????????????????????????????????????????????????????????????е??????null???????????????????????null????????????????ж?null???????????????????????????????д???????</p> <pre> select p.PROJECT_ID, p.CODE+','+p.NAME+','+ISNULL(p.NICK_NAME,'')+','+ISNULL(CONVERT(varchar(50),p.SIZE),'') from PROJECT p</pre> <p>???????CONCAT???????????????е???????????NULL???飬??????????????????????</p> <pre> select p.PROJECT_ID,CONCAT( p.CODE,',',p.NAME,',',p.NICK_NAME,',',p.SIZE) from PROJECT p</pre> <p>????????о??????????</p> <p>3.3???????????????????FORMAT??????</p> <p>????????????????????????????????????CONVERT????????????????????????????????????????????????????鷳?????????????????????????????????????FORMAT????????C#?е?String.Format?????????????????п???????????????</p> <pre> select p.PROJECT_ID,FORMAT(p.CREATED_TIME,'yyyy-MM-dd'),CONVERT(varchar(50),p.CREATED_TIME,112) from PROJECT p</pre> <p>3.4???????????????CHOOSE??????</p> <p>??????о????????????????????????tinyint?????????????????????????????????????????壬?????????1???????2?????????????????????????????????????????????????case when?????ж????????????CHOOSE???????????????????????ú????????????????????????????????????</p> <pre> select p.CODE,CHOOSE( p.STATUS,'Plan','Exec','Complete','Abort','Fail') from PROJECT p</pre> <p>CHOSSE??????case when?м??????1??????0?????????????????????0?????????????2????????????????????С?????????100??200????????????CHOOSE???д??????????default??????case when????????????仹?и?else???????????????CHOOSE????????????????????NULL?????????????????????????????</p> <p>3.5??????????亯????</p> <p>???????EOMONTH????????????????????????????????o????????????????????????????????????????????????????????CONVERT????????Ρ???????ò?????????????</p> <p><strong>???OVER??????????????Щ??????????</strong></p> <p>??OVER?????????RANK??ROW_NUMBER????????????????OVER??????????????? ?????OVER??????????????У?????????Щ??????????</p> <p>?????????????????????????????????????????????????????????????????????????Code?????????????????????????????????????????????????FIRST_VALUE????LAST_VALUE?????OVER???????????????????</p> <pre> select distinct c.*,FIRST_VALUE(p.CODE) over(PARTITION BY c.CLIENT_ID order by p.[CREATED_TIME] desc) as LAST_PROJECT_CODE from PROJECT p inner join CLIENT c on p.CLIENT_ID=c.CLIENT_ID</pre> [SQL Server]SQL2005????????? ??????洢???? ????2812 ???????? http://www.haxv.top//tech/4708.html www.haxv.top SQL Server 2013/3/26 14:44:20 <p><span style="font-family: ????">??????????????????????????????????????????</span></p> <p><span style="font-family: ????; color: #ff0000; font-size: 16px">sql server ??????????? ??????洢???? ???? 2812</span></p> <p>??SQL SERVER 2005?У????????DB1????A??????????????????????????????????DB1????B???????????DB1????????????????????????а?????????????????????????????DB1.mdf??DB1_log.ldf?????????B???????????????????????????????????????????????ɡ????????????????????????????????????????????????????????????ù???????SQL SERVER 2005 ???????????????&ldquo;??????洢????&rsquo;&rsquo;&hellip;????2812&rdquo;??</p> <p>??????????????μ???????£????????????????????ο???</p> <p>???????????????????????????Google??Baidu?????????????????????????????????????</p> <p>???????????????????и??1???????????????????????????????????????°??????????????????????????????????????????????????????????????????ο?????????</p> <p>??B?????????DB1??????????????????12?????????檔??12??????????????????????????????&nbsp;<span style="color: #000000; font-size: 16px">&nbsp;&nbsp;</span></p> <table border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td style="width: 180pt"> <p>??/???</p> </td> <td> <p>?м??</p> </td> <td> <p>???????</p> </td> </tr> <tr> <td> <p>Mspeer_lsns</p> </td> <td> </td> <td> </td> </tr> <tr> <td> <p>Mspeer_request</p> </td> <td> </td> <td> </td> </tr> <tr> <td> <p>Mspeer_response</p> </td> <td> </td> <td> </td> </tr> <tr> <td> <p>Mspub_identity_range</p> </td> <td> </td> <td> </td> </tr> <tr> <td> <p>Sysarticlecolumns</p> </td> <td> <p>??</p> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>Sysarticles</p> </td> <td> <p>??</p> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>Sysarticlesupdates</p> </td> <td> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>syspublications</p> </td> <td> <p>??</p> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>Sysreplservers</p> </td> <td> <p>??</p> </td> <td> </td> </tr> <tr> <td> <p>Sysschemaarticles</p> </td> <td> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>Syssubscriptions</p> </td> <td> <p>??</p> </td> <td> <p>??</p> </td> </tr> <tr> <td> <p>systranschemas</p> </td> <td> </td> <td> </td> </tr> <tr> <td> <p>sysextendedarticlesview</p> </td> <td> </td> <td> <p>??</p> </td> </tr> </tbody> </table> <p>???????????????????12 ???????1???????????????????????????з??????????????????????????????mdf??ldf??????????????????????????Щ???????????????????</p> <p>??????????12???????1???????????????????С????????????????????????????????????????</p> <p>???????????? sysreplservers????????????У?</p> <table border="1" cellspacing="0" cellpadding="0"> <tbody> <tr> <td> <p>Srvname</p> </td> <td> <p>Srvid</p> </td> </tr> <tr> <td> <p>???????????</p> </td> <td> <p>0</p> </td> </tr> </tbody> </table> <p>???????????????????????????????????</p> <p>??????????Ρ?</p> <p>???÷????????</p> <p>?????????????е?????????????????????????????±?y??????</p> [MySQL]CentOS 6.3 ??? MySQL 5.6.10?????MySQL??root??????? http://www.haxv.top//tech/4688.html www.haxv.top MySQL 2013/3/9 15:29:54 <p>??????CentOS 6.3 ??С????????????ú???????</p> <p><strong>???MySQL??????Internet??????????????????????</strong>??</p> <p>????? yum -y update ??????????????°汾??</p> <p>???????MySQL???????????????????????????????????????·????????????????????????????????????</p> <p><strong>?? ??????????????3306???</strong><br /> vi /etc/sysconfig/iptables<br /> -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT</p> <p>?? ?????????????????Ч<br /> service iptables restart</p> <p>?? ?????????<br /> groupadd&nbsp;mysql</p> <p>?? ???????<br /> useradd mysql&nbsp;-g&nbsp;mysql</p> <p>?? ????????????????<br /> mkdir -p /usr/local/mysql</p> <p>?? ?????????????????<br /> mkdir -p /db/mysql/data</p> <p><strong>?? ??????????</strong></p> <p>chown -R mysql:mysql /usr/local/mysql<br /> chown -R mysql:mysql /db/mysql/data<br /> chown -R mysql:mysql /usr/local/mysql/.<br /> chown -R mysql:mysql /db/mysql/data/.</p> <p><strong>?? ??PATH????·??</strong><br /> vi /etc/profile<br /> Append these 2 lines to the end of the file:<br /> PATH=/usr/local/mysql/bin:/usr/local/mysql/lib:$PATH<br /> export PATH</p> <p><strong>?? ??ЧPATH????·??</strong><br /> source /etc/profile</p> <p>?? ??hosts???????????IP????????<br /> 192.168.211.100 &nbsp; &nbsp; &nbsp;centhost.centdomain</p> <p>?? ????????????????????<br /> yum -y install wget gcc-c++ ncurses-devel cmake make perl</p> <p>?? ??????????????????<br /> cd /usr/src</p> <p>?? ????????????<br /> wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.10.tar.gz/from/http://cdn.mysql.com/</p> <p><strong>?? ?????????</strong><br /> tar -zxv -f mysql-5.6.10.tar.gz</p> <p>?? ?????????????<br /> cd mysql-5.6.10</p> <p>??&nbsp;??mysql5.5??<strong>mysql??????????cmake???????????????y??</strong>??</p> <p>cmake \<br /> -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \<br /> -DMYSQL_UNIX_ADDR=/usr/local/mysql/mysql.sock \<br /> -DDEFAULT_CHARSET=utf8 \<br /> -DDEFAULT_COLLATION=utf8_general_ci \<br /> -DWITH_MYISAM_STORAGE_ENGINE=1 \<br /> -DWITH_INNOBASE_STORAGE_ENGINE=1 \<br /> -DWITH_ARCHIVE_STORAGE_ENGINE=1 \<br /> -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \<br /> -DWITH_MEMORY_STORAGE_ENGINE=1 \<br /> -DWITH_READLINE=1 \<br /> -DENABLED_LOCAL_INFILE=1 \<br /> -DMYSQL_DATADIR=/db/mysql/data \<br /> -DMYSQL_USER=mysql \<br /> -DMYSQL_TCP_PORT=3306</p> <p>?? ????????????????????????????<br /> make</p> <p>?? ???<br /> make install</p> <p>?? ???????????<br /> cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf</p> <p>?? ?????·??<br /> cd /usr/local/mysql</p> <p>?? ??????y??<br /> scripts/mysql_install_db --user=mysql --datadir=/db/mysql/data</p> <p>?? ?????????????<br /> cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql</p> <p>?? ???MySQL????<br /> service mysql start</p> <p># ?????????????????<br /> chkconfig mysql on</p> <p>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;???</p> <p><strong>???MySQL??root?????????????????????</strong><br /> &nbsp;</p> <p>mysql&gt; use mysql;<br /> &nbsp;</p> <pre> mysql&gt; desc user; mysql&gt; GRANT ALL PRIVILEGES ON *.* TO root@&quot;%&quot; IDENTIFIED BY &quot;root&quot;; //?root??????????????? mysql&gt; update user set Password = password('123456') where User='root'; //????root??????? mysql&gt; select Host,User,Password from user where User='root'; mysql&gt; flush privileges; mysql&gt; exit</pre> [Oracle]CentOS 6.3 Linux???°??Oracle 10g R2 http://www.haxv.top//tech/4685.html www.haxv.top Oracle 2013/3/9 11:47:29 <p><strong>?????????</strong></p> <p>1????? &amp; swap</p> <p>Minimum: 1 GB of RAM<br /> Recommended: 2 GB of RAM or more</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115014531.jpg" /></p> <p>?????????</p> <p># grep MemTotal /proc/meminfo</p> <p># grep SwapTotal /proc/meminfo</p> <p>2?????</p> <p>????CentOS??????????4~5G???????Oracle?????????????????????10G???????</p> <p>?????????</p> <p># df -h</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115014176.jpg" /></p> <p><strong>???????</strong></p> <p>??????CentOS 6.3(x86_64)</p> <p>CentOS-6.3-x86_64-bin-DVD1.iso</p> <p>Oracle?汾??Oracle 10g R2</p> <p>10201_database_linux_x86_64.cpio</p> <p>??????p6810189_10204</p> <p>p6810189_10204_Linux-x86-64.zip</p> <p><strong>????????????</strong></p> <p>???????????????????????????????oracle????????????SELinux??oracle????????????SELinux??CentOS??????????????????????????????????Oracle????????г???????????????????????????????Oracle??????????</p> <p>????????????????????δ?????????????&ldquo;#&rdquo;????root????&ldquo;$&rdquo;????oracle????</p> <p><strong>??????Oracle????????????</strong></p> <p>???????????root?????????Щ????趨?????</p> <p><span style="color: #6600cc">1???????????????SELinux</span><br /> &nbsp;</p> <p># setup</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115014255.jpg" /></p> <p>#&nbsp;vi /etc/selinux/config<br /> &nbsp;</p> <p>???SELINUX=disabled??????????<br /> ??????????????????????setenforce 0<br /> &nbsp;</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115014162.jpg" /></p> <p><span style="color: #6600cc">2???????????</span></p> <p>Oracle????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115015631.jpg" /></p> <p>??Oracle???????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115015466.jpg" /></p> <p>??yum??????????????</p> <p># yum -y install binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115015816.jpg" /></p> <p>?????????libXp???Library???????????????????Oracle??????java Exception??</p> <p># yum install libXp</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016564.jpg" /></p> <p><strong>3??????Oracle???????</strong></p> <p>????????????????????????????RAC?????????á?</p> <p>????????????????oracle????????????????????顣</p> <p>(1) ???????oinstall&nbsp;<br /> # groupadd oinstall</p> <p>(2) ???????dba<br /> # groupadd dba</p> <p>(3) ?????????oracle?????????oinstall??dba???<br /> # useradd -m -g oinstall -G dba oracle</p> <p>(4) ????oracle???????????<br /> # id oracle</p> <p>(5) ????oracle????????<br /> # passwd oracle</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016998.jpg" /></p> <p><strong>4????oracle????????sudo?????</strong></p> <p># vi /etc/sudoers</p> <p>???<br /> root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL&nbsp;<br /> ???У???????????????<br /> oracle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL<br /> ????wq!???????????????????????????????!?????????Enter</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016538.jpg" /></p> <p><strong>5??????????????</strong></p> <p># vi /etc/sysctl.conf</p> <p>????????????????</p> <p>kernel.shmall = 4294967296&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//???????ο?????????????????????????λ???????????2097152?????????????<br /> kernel.shmmax = 68719476736&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //????????????ε?????磨????????λ???????32M??????oracle????????????????????????????2G<br /> kernel.shmmni = 4096&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //????????????Χ????????ε???????????ò??????????? 4096 ??????????????<br /> kernel.sem = 250 32000 100 128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //?????????????<br /> net.ipv4.ip_local_port_range = 1024 65000<br /> net.core.rmem_default=4194304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //???????????С<br /> net.core.rmem_max=4194304&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //????????????С<br /> net.core.wmem_default=262144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //???????????С<br /> net.core.wmem_max=262144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; //????????????С</p> <p>?????Щ???????????????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016712.jpg" /></p> <p>??????????棬?????У?</p> <p># sysctl &ndash;p</p> <p>????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016304.jpg" /></p> <p><strong>6????/etc/security/limits.conf</strong></p> <p># vi /etc/security/limits.conf</p> <p>???????????<br /> oracle&nbsp; soft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nproc&nbsp;&nbsp; 2047<br /> oracle&nbsp; hard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nproc&nbsp;&nbsp; 16384<br /> oracle&nbsp; soft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nofile&nbsp; 1024<br /> oracle&nbsp; hard&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nofile&nbsp; 65536</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-3/201339115016434.jpg" /></p> <p><strong>7????/etc/pam.d/login</strong></p> <p># vi /etc/pam.d/login</p> <p>???????????<br /> session required /lib64/security/pam_limits.so<br /> session required pam_limits.so</p> <p align="center" style="text-indent: 0px"><img title="????? [MySQL]Mysql??????????????????????? http://www.haxv.top//tech/4681.html www.haxv.top MySQL 2013/3/7 9:53:26 <p>??????Mysql?????????????????</p> <p>????Master??</p> <p>mysql&gt;show processlist; &nbsp; ??????????Sleep??????????????</p> <p>show master status; ???????</p> <p>mysql&gt; show master status;<br /> +-------------------+----------+--------------+-------------------------------+<br /> | File &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Position | Binlog_Do_DB | Binlog_Ignore_DB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<br /> +-------------------+----------+--------------+-------------------------------+<br /> | mysqld-bin.000001 | &nbsp; &nbsp; 3260 | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| mysql,test,information_schema |<br /> +-------------------+----------+--------------+-------------------------------+<br /> 1 row in set (0.00 sec)</p> <p>???Slave???</p> <p>mysql&gt; show slave status\G &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p> <p>Slave_IO_Running: Yes</p> <p>Slave_SQL_Running: No</p> <p>?????Slave?????</p> <p>???????????????????</p> <p><strong>??????????????????????</strong></p> <p>?÷????????????????????????????????????????????????????????????????</p> <p>?????&nbsp;</p> <p>stop slave;</p> <p>#?????????????????????????</p> <p>set global sql_slave_skip_counter =1;</p> <p>start slave;</p> <p>???????mysql&gt; show slave status\G &nbsp;????</p> <p>Slave_IO_Running: Yes</p> <p>Slave_SQL_Running: Yes</p> <p>ok??????????????????????????</p> <p><strong>????????????????????????</strong></p> <p>?÷????????????????????????????????????????????</p> <p>??????????£?</p> <p>1.?????????????????????????д??</p> <p>???????</p> <p>mysql&gt; flush tables with read lock;</p> <p>????????????????????????????Сд</p> <p>2.???????????&nbsp;</p> <p>#??????????mysql.bak.sql???</p> <p>[root@server01 mysql]#mysqldump -uroot -p -hlocalhost &gt; mysql.bak.sql</p> <p>???????????????????????????У???????shell???????python??????????????????????????</p> <p>3.??master ??</p> <p>mysql&gt; show master status;<br /> +-------------------+----------+--------------+-------------------------------+<br /> | File &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Position | Binlog_Do_DB | Binlog_Ignore_DB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|<br /> +-------------------+----------+--------------+-------------------------------+<br /> | mysqld-bin.000001 | &nbsp; &nbsp; 3260 | &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| mysql,test,information_schema |<br /> +-------------------+----------+--------------+-------------------------------+<br /> 1 row in set (0.00 sec)</p> <p>4.??mysql?????????????????????????????</p> <p>#???scp????</p> <p>[root@server01 mysql]# scp mysql.bak.sql root@192.168.128.101:/tmp/</p> <p>5.????????</p> <p>mysql&gt; stop slave;</p> <p>6.?????????mysql???????????????</p> <p>mysql&gt; source /tmp/mysql.bak.sql</p> <p>7.???????????????????????????????show master status??????| File| Position????</p> <p>change master to master_host = '192.168.128.100', master_user = 'rsync', master_port=3306, master_password='', master_log_file = 'mysqld-bin.000001', master_log_pos=3260;</p> <p>8.???????????</p> <p>mysql&gt; start slave;</p> <p>9.???????</p> <p>mysql&gt; show slave status\G &nbsp;????</p> <p>Slave_IO_Running: Yes</p> <p>Slave_SQL_Running: Yes</p> <p>???????????????</p> [SQL Server]????SQL Server??????????Login failed for user &#39;sa&#39;??????????? http://www.haxv.top//tech/4678.html www.haxv.top SQL Server 2013/3/5 13:24:56 <p><strong>????</strong>---------------------------------------------------</p> <p><strong>1??????SQL Server??????????Login failed for user 'sa'. Reason:</strong> Not associated with a trusted SQL Server connection ????</p> <p><strong>????-------------------------------------------------</strong></p> <p>????????????????????й????????????????????????????</p> <p>?? SQL Server 2000 ??????????????&ldquo;?? Windows&rdquo;, ??????????????????????????????</p> <p>???????????? SQL Server ???????? SQL Server 2000 ?????</p> <p>???????????????ε? SQL Server ??????????????????? Microsoft Windows 98 ????????? SQL Server 2000 ???????棨???? MSDE 2000???????</p> <p>??????????? Windows ???????? SQL Server 2000 ???????????????????????????????????</p> <p><strong>?????--------------------------------------------</strong></p> <p><strong>???????????????</strong></p> <p>SQL Server ???</p> <p>?????Ч?? Windows ???????? SQL Server??????????????? SQL Server ?????????????? SQL Server 2000 ?е????????????????&ldquo;SQL Server ?? Windows&rdquo;?????????????в????????</p> <p>??????????????</p> <p>???&ldquo;Microsoft SQL Servers&rdquo;????????&ldquo;SQL Server ??&rdquo;??</p> <p>?????????????&ldquo;SQL Server ?? Windows&rdquo;????????????????????&ldquo;????&rdquo;??</p> <p>??&ldquo;SQL Server ????&rdquo;??????У?????&ldquo;???&rdquo;?????????&ldquo;SQL Server ?? Windows&rdquo;???????&ldquo;???&rdquo;??</p> <p>?????????????? SQL Server ???????????&ldquo;??&rdquo;??</p> <p>SQL Server 2000 ???????? (MSDE 2000) ???????? Microsoft Windows 98 ????????</p> <p>?? SQL Server 2000 ???????氳?????? Windows 98 ?????????????????????? SQL Server ?????????????????????? Windows 98 ?????????? SQL Server 2000 ????????????????&ldquo;?? Windows&rdquo;??????????</p> <p>Windows ?????????</p> <p>?????????????? Windows ??????? SQL Server?????????????????????????????????????????????????в????????</p> <p>??????????????</p> <p>???&ldquo;Microsoft SQL Server&rdquo;????????&ldquo;SQL Server ??&rdquo;??</p> <p>????????????????????&ldquo;???&rdquo;??</p> <p>???????&ldquo;???&rdquo;???????&ldquo;??????&rdquo;??</p> <p>??&ldquo;SQL Server ???????&rdquo;??????У???&ldquo;????&rdquo;???????? Windows ?????????&ldquo;??&rdquo;?б??У????? Windows ??????????</p> <p>????&ldquo;????????&rdquo;?????????????????????????????&ldquo;???&rdquo;</p> <p>????????????????????????????????????????????????????????</p> <p><strong>2???????SQL Server 2008 Express?????????sa????????????????Login failed for user 'sa' ????</strong>???????????SQL Server????????????SQL Server Express?????Windows Authentication????????????Mixed Authentication Mode??????<br /> <br /> ?????????????????????????????sa???enable????????????????????????????????SQL Server Management Studio?????????????????????????????С?<br /> <br /> ??????????ü?????HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQLServer\LoginMode<br /> <br /> 1 - Windows Authentication Mode<br /> <br /> 2 - Mixed Authentication Mode<br /> <br /> ???2????????sa????????<br /> <br /> *??????£??????????SQL Server?????????????Ч??</p> <p><strong>3???? SQL Server 2005 ?У????????&quot;??????? 18456&quot;</strong>??????????????????? SQL Server 2005 ???????????????????????<br /> &bull;????????? SQL Server ????????????????????????<br /> &bull;?? SQL Server ???????÷????????????????????<br /> &bull;SQL ?????????????&quot;??????? 18456&quot;????????????????? Windows ?????????????<br /> <br /> ??????????£???????????????????????? CHECK_POLICY ???? OFF ????????????????? SQL ??????????? Windows ?????????????<br /> &bull;SQL Server ???????????????????????????????????<br /> ????????????????????д?????????? SQL Server ??????????????д?? SQL Server ????????????<br /> ??????? 1<br /> ????????????? 18456??????? 14 ????: 10??</p> <p><strong>???????<br /> </strong>????? Microsoft ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ж?????????????????????????????????????????????????????<br /> <br /> ???????????????????????????????????&quot;?????????????&quot;????????δ???????????? Microsoft ?????????????????????????<br /> <br /> ???????????????????????κι???????????????????????????????????????????????????????????????????????????????????á?Microsoft ???????????綽???????????????????????????б???????????? Microsoft Web ???<br /> http://support.microsoft.com/contactus/?ws=support<br /> () http://support.microsoft.com/contactus/?ws=support<br /> ???&quot;??????????????????&quot;???????????????????????????????????????????????????????????????????????????????????<br /> ???????<br /> ???????????????????????? SQL ?????? 2005 Service Pack 1??</p> [SQL Server]Sql Server???????????????? http://www.haxv.top//tech/4664.html www.haxv.top SQL Server 2013/2/18 9:08:56 <p><strong>Master</strong></p> <p>Master????????з???SQLSERVER???????????????????????????????????????????????????????????SQLSERVER????????????????????С???????????????????????????????г??汸????????????</p> <p>???????????????????????????????á????????SERVER???????????????????????????????????????????????????????????洢????????????????????????????????????????????API????????????????Щ???????????C++?????????????????</p> <p>???????????????????????????????????????????ο?MCSE??MCDBA Steven Warren??TechRepublic??????????????????????????????????????????????????????????Щ?????衣</p> <p><strong>Model</strong></p> <p>Model?????????????????????????????????????????????κδ洢???????????????????????????????????????????????????????????????????????????????ж??????</p> <p><strong>Tempdb</strong></p> <p>??????????????????tempdb?????????????????????????????洢?????</p> <p>??????????SQLSERVER????????????????′??????????а???????????????????????????????????????????Щ????tempdb??????????????????????????????????????????????????????????????tempdb????SQLSERVER?????????????????Щ???????????????????????????????????????</p> <p>??SQL Server 2005??tempdb?????????????????????????????Щ?????汾???????μ?????????????????????????????μ???????????????ο??????SQL Server 2005?????????????</p> <p><strong>Distribution</strong></p> <p>?????SQLSERVER??屻???????????SERVER?????????????????????????????????£??????????????distribution???????????????????????????????????????????????????????????????????</p> <p><strong>Msdb</strong></p> <p>Msdb???????????????????????SQL Agent?????DTS???????SQLSERVER?????????????????????????????????????</p> [SQL Server]Sql2000??Sql2005???氳???????? http://www.haxv.top//tech/4623.html www.haxv.top SQL Server 2013/1/21 20:05:45 <p>Sql2005?汾??Sql2005?????棬????CD??????</p> <p align="left">????????Window 2003 Server</p> <p align="left">?????????????????Sql2000?????濪????Sql2005??</p> <p align="left">??????й???1</p> <p><img alt="" src="/upload/tech/UploadPic/2013-1/2013121202414751.jpg" /></p> <p>&nbsp;???? ??? ???裬??????&ldquo;????????????????????????????&rdquo;??????</p> <p>?????????Э?飬??????&ldquo;?????????????????&rdquo;???????????????</p> <p>?????sqlserver???а?????????????????????????????????????????</p> <p>????????sqlserver 2005??????????????????ü?飬?????????????????????????????????????????????????????????</p> <p>????????????????????????????????????????????SQL Server Database Services????????????ò????????????????????????&quot;???&quot;?????????·????</p> <p><img alt="" src="/upload/tech/UploadPic/2013-1/2013121202415684.jpg" /></p> <p>????????&ldquo;?????&rdquo;????????????????????????????б??Sql?汾??????????????????????????????????????Sql2000??????????????&ldquo;???????&rdquo;???????????????????????????A-Z??a-z??16λ?????ɡ?</p> <p><font size="2"><img alt="" src="/upload/tech/UploadPic/2013-1/2013121202415345.jpg" /></font></p> <p align="center" style="text-align: left">??????????????<span style="font-size: small"><font size="2"><span style="font-family: ????">?????????????????</span>,<span style="font-family: ????">??????</span>sa<span style="font-family: ????">????</span>;<span style="font-family: ????">??2?????????????</span>,<span style="font-family: ????">?·</span>&quot;<span style="font-family: ????">?????</span>&quot;,<span style="font-family: ????">????</span>,<span style="font-family: ????">??ɡ?</span></font></span></p> <p><span style="font-size: small"><font size="2"><span style="font-family: ????">?????????г???</span>SQL Server Management Studio<span style="font-family: ????">????</span>,<span style="font-family: ????">???????????????????</span></font></span></p> <p><span style="font-size: small"><font size="2"><span style="font-family: ????">???й???</span>2</font></span></p> <p><font size="2"><img alt="" src="/upload/tech/UploadPic/2013-1/2013121202415559.jpg" /></font></p> <p>???&quot;???????????????????&quot;???а???????????????裬????????????????????????????????д?????????</p> <p>???????????????????????????????????????????????????????????</p> <p><img alt="" src="/upload/tech/UploadPic/2013-1/2013121202415941.jpg" /></p> <p>???????·???????????????</p> <p>???????????????????SQL Server 2005???????????SQL Server Management Studio??<br /> ??????Sql 2005?????????????</p> [SQL Server]??ò???????????SQL??? http://www.haxv.top//tech/4582.html www.haxv.top SQL Server 2013/1/15 11:52:03 <p>?????????SQL???????SQL???????????????SQL?????<strong>??????????</strong>???????????????????????????????????????????????????????п???????????????????????????</p> <p>?????????????SQL???????????????????飺</p> <p>??????????????£?Sql Server ?????????????м??????????????????????????&nbsp;<strong>?????? -&gt; ????SQL??????м?? -&gt;?????м?? -&gt;?????м??</strong>??</p> <p>????????е???????????μ???????????????????????????<strong>??????SQL ?????????SQL?????????</strong>??</p> <p>???????????Users:</p> <pre> CREATE TABLE [dbo].[Users]( [Id] [uniqueidentifier] NOT NULL, [UserId] [int] NOT NULL, [UserName] [varchar](50) NULL, [Password] [varchar](50) NOT NULL, CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY]</pre> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115244564.jpg" /></p> <p>?????Щ?????</p> <pre> INSERT INTO [Test].[dbo].[Users]([Id],[UserId],[UserName],[Password])VALUES (NEWID(),1,'name1','pwd1'); INSERT INTO [Test].[dbo].[Users]([Id],[UserId],[UserName],[Password])VALUES (NEWID(),2,'name2','pwd2'); INSERT INTO [Test].[dbo].[Users]([Id],[UserId],[UserName],[Password])VALUES (NEWID(),3,'name3','pwd3'); INSERT INTO [Test].[dbo].[Users]([Id],[UserId],[UserName],[Password])VALUES (NEWID(),4,'name4','pwd4'); INSERT INTO [Test].[dbo].[Users]([Id],[UserId],[UserName],[Password])VALUES (NEWID(),5,'name5','pwd5');</pre> <p>?????????и???????????棬???????£?</p> <p>???????????sql ???£?</p> <pre> select COUNT(*) from Users where Password = 'a' and UserName = 'b'&nbsp;</pre> <p>??δ?????Password ??UserName??????????????????????1?????????????????????</p> <p><strong>?????????SQL ?е???????????????????淶?????????????????SQL??????Щ????????????Щ?????????SQL???????????</strong></p> <p>?????????н????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115245169.jpg" /></p> <p>?????SQL profile ?????SQL ???</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115245195.jpg" /></p> <p>??????????£?</p> <pre> select COUNT(*) from Users where Password = 'a' and UserName = 'b' or 1=1&mdash;'</pre> <p>?????????UserName??????? &ldquo;<strong>b'&nbsp;or&nbsp;1=1 &ndash;</strong>&rdquo;.</p> <p>?????е?SQL?????????£?</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115245940.jpg" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115245998.jpg" /></p> <p>?????????????SQL????????</p> <p>?????????<strong>?????????</strong>??????????????????????????????????</p> <pre> class Program { private static string connectionString = &quot;Data Source=.;Initial Catalog=Test;Integrated Security=True&quot;; static void Main(string[] args) { Login(&quot;b&quot;, &quot;a&quot;); Login(&quot;b' or 1=1--&quot;, &quot;a&quot;); } private static void Login(string userName, string password) { using (SqlConnection conn = new SqlConnection(connectionString)) { conn.Open(); SqlCommand comm = new SqlCommand(); comm.Connection = conn; //??????????????????? comm.CommandText = &quot;select COUNT(*) from Users where Password = @Password and UserName = @UserName&quot;; comm.Parameters.AddRange( new SqlParameter[]{ new SqlParameter(&quot;@Password&quot;, SqlDbType.VarChar) { Value = password}, new SqlParameter(&quot;@UserName&quot;, SqlDbType.VarChar) { Value = userName}, }); comm.ExecuteNonQuery(); } } }</pre> <p>?????е?SQL ?????????</p> <pre> exec sp_executesql N'select COUNT(*) from Users where Password = @Password and UserName = @UserName',N'@Password varchar(1),@UserName varchar(1)',@Password='a',@UserName='b'</pre> <pre> exec sp_executesql N'select COUNT(*) from Users where Password = @Password and UserName = @UserName',N'@Password varchar(1),@UserName varchar(11)',@Password='a',@UserName='b'' or 1=1&mdash;'&nbsp;</pre> <p>?????????????????????????Щ???飺</p> <pre> 1??<strong>????????</strong>????????? @UserName='b'' or 1=1&mdash;'</pre> <pre> 2??<strong>??м??????</strong></pre> <p><strong>?????м??????????????????SQL???</strong></p> <p>???????SQL???????????д?????SQL ?????????????????a??????????b???????????????????????SQL?????SQL????????????????(??????a??????????????b???) ????1=1 ?????????????????</p> <p><strong>???????SQL?????????????????????????????????????????????м??????????????SQL???????????????????????????????????????????SQL???岻????????????SQL???????????????????????????????????????????м????</strong></p> <p><strong>??????????????м???????????SQL???????????SQL???????п????仯???????????????仯??</strong></p> <p>??SQL Server ?в????м??????????????????</p> <pre> DBCC FreeProccache select total_elapsed_time / execution_count ??????,total_logical_reads/execution_count ?????, usecounts ???????,SUBSTRING(d.text, (statement_start_offset/2) + 1, ((CASE statement_end_offset WHEN -1 THEN DATALENGTH(text) ELSE statement_end_offset END - statement_start_offset)/2) + 1) ?????? from sys.dm_exec_cached_plans a cross apply sys.dm_exec_query_plan(a.plan_handle) c ,sys.dm_exec_query_stats b cross apply sys.dm_exec_sql_text(b.sql_handle) d --where a.plan_handle=b.plan_handle and total_logical_reads/execution_count&gt;4000 ORDER BY total_elapsed_time / execution_count DESC;</pre> <pre> &nbsp;</pre> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115245109.jpg" /></p> <p>??????????????????Σ?</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2013-1/2013115115246926.png" /></p> <p>????????????仰??&rdquo;????????д????????SQL???????????????&rdquo;???κ????SQL????????SQL??????????????????????????????????????exec ??????SQL???????SQL?????</p> <p>????????????</p> <pre> private static void TestMethod() { using (SqlConnection conn = new SqlConnection(connectionString)) { conn.Open(); SqlCommand comm = new SqlCommand(); comm.Connection = conn; //???exec??????SQL?? //?????е???????(@UserID varchar(max))select * from Users(nolock) where UserID in (1,2,3,4)???? //????????(@UserID varchar(max))exec('select * from Users(nolock) where UserID in ('+@UserID+')') comm.CommandText = &quot;exec('select * from Users(nolock) where UserID in ('+@UserID+')')&quot;; comm.Parameters.Add(new SqlParameter(&quot;@UserID&quot;, SqlDbType.VarChar, -1) { Value = &quot;1,2,3,4&quot; }); //comm.Parameters.Add(new SqlParameter(&quot;@UserID&quot;, SqlDbType.VarChar, -1) { Value = &quot;1,2,3,4); delete from Users;--&quot; }); comm.ExecuteNonQuery(); [MySQL]???mysqldump?????????Mysql???????????????????? http://www.haxv.top//tech/4536.html www.haxv.top MySQL 2013/1/12 12:15:18 <p>?????????????????о?????????????????????????????????????????????????????????</p> <p><strong>1.???into outfile ?? load data infile??????????????</strong></p> <p>???????????????????????????????漲??????????????????????????????????????????????????????????????????У??????mysqldump???????????</p> <p>??????????????????</p> <p>??1???????mysql???????select??mytable???е??????????/home/db_bak2012?????</p> <pre> select * from mytable where status!=0 and name!='' into outfile '/home/db_bak2012' fields terminated by '|' enclosed by '&quot;' lines terminated by '\r\n' ;</pre> <p>??????????????????????load file???????????mysql????????????????????mytable_bak????У?</p> <pre> load data infile '/home/db_bak2012' into table mytable_bak fields terminated by '|' enclosed by '&quot;' lines terminated by '\r\n' ;</pre> <p><strong>2.???mysqldump??????????????????</strong></p> <p>??????????????????????<br /> <strong>??1???????????????</strong></p> <pre> mysqldump -u ????? -p ??????? &gt; ??????????? mysqldump -u wcnc -p smgp_apps_wcnc &gt; wcnc.sql</pre> <p><strong>??2???????????</strong></p> <pre> mysqldump -u ????? -p ??????? ????&gt; ??????????? mysqldump -u wcnc -p smgp_apps_wcnc users&gt; wcnc_users.sql</pre> <p><strong>??3???????????????</strong></p> <pre> mysqldump -u wcnc -p -d --add-drop-table smgp_apps_wcnc &gt;d:\wcnc_db.sql #-d ????????????????? --add-drop-table ?????create????????????drop table </pre> <p><strong>??4???????????????source ????</strong></p> <pre> #????mysql??????????? mysql -u root -p mysql&gt;use ????? mysql&gt;set names utf8; ???????????????????????????????????UTF-8??&nbsp; #??????source???????????????????????????????.sql?? mysql&gt;source d:\wcnc_db.sql</pre> <p>???????????????????е??????????????????????????????????????--databases ????-B?????????</p> <pre> mysqldump -uroot -p --databases test mysql #?????</pre> <p>???е??????????????????????????е?????????????????????-all-databases?????????</p> <pre> mysqldump -uroot -p -all-databases</pre> <p>????????????и?????????????????????????о??????????????????????????ο???</p> <p><strong>???????</strong></p> <p><strong>--all-databases&nbsp;&nbsp;,&nbsp;-A</strong></p> <p>????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases</p> <p><strong>--all-tablespaces&nbsp;&nbsp;,&nbsp;-Y</strong></p> <p>???????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--all-tablespaces</p> <p><strong>--no-tablespaces&nbsp;&nbsp;,&nbsp;-y</strong></p> <p>???????κα????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--no-tablespaces</p> <p><strong>--add-drop-database</strong></p> <p>???????????????drop????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--add-drop-database</p> <p><strong>--add-drop-table</strong></p> <p>????????????????drop????????(?????????????--skip-add-drop-table??????)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&nbsp;(??????drop???)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&ndash;skip-add-drop-table&nbsp;&nbsp;(???drop???)</p> <p><strong>--add-locks</strong></p> <p>????????????????LOCK&nbsp;TABLES???????UNLOCK&nbsp;&nbsp;TABLE??(?????????????--skip-add-locks??????)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&nbsp;(??????LOCK???)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&ndash;skip-add-locks&nbsp;&nbsp;&nbsp;(???LOCK???)</p> <p><strong>--allow-keywords</strong></p> <p>?????????????????????????????????????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--allow-keywords</p> <p><strong>--apply-slave-statements</strong></p> <p>??'CHANGE&nbsp;MASTER'????'STOP&nbsp;SLAVE'???????????????????'START&nbsp;SLAVE'??</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--apply-slave-statements</p> <p><strong>--character-sets-dir</strong></p> <p>????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&nbsp;--character-sets-dir=/usr/local/mysql/share/mysql/charsets</p> <p><strong>--comments</strong></p> <p>??????????????????????????--skip-comments???</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;&nbsp;(????????)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--skip-comments&nbsp;&nbsp;&nbsp;(??????)</p> <p><strong>--compatible</strong></p> <p>????????????????????????汾??MySQL&nbsp;????????????ansi??mysql323??mysql40??postgresql??oracle??mssql??db2??maxdb??no_key_options??no_tables_options??no_field_options???</p> <p>???ü???????????????????????????????????????????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--compatible=ansi</p> <p><strong>--compact</strong></p> <p>???????????????(???????)??????????β???????????????--skip-add-drop-table&nbsp;&nbsp;--skip-add-locks&nbsp;--skip-comments&nbsp;--skip-disable-keys</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--compact</p> <p><strong>--complete-insert,&nbsp;&nbsp;-c</strong></p> <p>?????????insert???(??????????)???????????????Ч??????????????max_allowed_packet?????????????2???????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--complete-insert</p> <p><strong>--compress,&nbsp;-C</strong></p> <p>?????????????????????????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--compress</p> <p><strong>--create-options,&nbsp;&nbsp;-a</strong></p> <p>??CREATE&nbsp;TABLE????а???????MySQL??????(????????)</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases</p> <p><strong>--databases,&nbsp;&nbsp;-B</strong></p> <p>?????????????????????????????????????????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--databases&nbsp;test&nbsp;mysql</p> <p><strong>--debug</strong></p> <p>???debug????????????????????d:t:o,/tmp/mysqldump.trace</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--debug</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--debug=&rdquo;&nbsp;d:t:o,/tmp/debug.trace&rdquo;</p> <p><strong>--debug-check</strong></p> <p>????????????????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--debug-check</p> <p><strong>--debug-info</strong></p> <p>???????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--debug-info</p> <p><strong>--default-character-set</strong></p> <p>???????????????????utf8</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--default-character-set=latin1</p> <p><strong>--delayed-insert</strong></p> <p>??????????????INSERT&nbsp;DELAYED??????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--delayed-insert</p> <p><strong>--delete-master-logs</strong></p> <p>master???????????.&nbsp;????????????????--master-data??</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;--delete-master-logs</p> <p><strong>--disable-keys</strong></p> <p>????????????/*!40000&nbsp;ALTER&nbsp;TABLE&nbsp;tbl_name&nbsp;DISABLE&nbsp;KEYS&nbsp;*/;??/*!40000&nbsp;ALTER&nbsp;TABLE&nbsp;tbl_name&nbsp;ENABLE&nbsp;KEYS&nbsp;*/;???????INSERT??????????????????dump????????????????????????????к???????????????????MyISAM?????????????</p> <p>mysqldump&nbsp;&nbsp;-uroot&nbsp;-p&nbsp;--all-databases&nbsp;</p> <p><strong>--dump-slave</strong></p> <p>?????????????binlogλ?ú???????????????????????С??????1?????????CHANGE&nbsp;MASTER???????????????????????2??????????????????????????????--lock [MySQL]Can&#39;t connect to local MySQL server through socket &#39;/tmp/mysql.sock&#39;(2) http://www.haxv.top//tech/4531.html www.haxv.top MySQL 2013/1/11 23:47:38 <p>????????mysql????????????????????Can't&nbsp;connect&nbsp;to&nbsp;local&nbsp;MySQL&nbsp;server&nbsp;through&nbsp;socket&nbsp;'/tmp/mysql.sock'&nbsp;(2)</p> <p>????1.<br /> &nbsp;1.#ps&nbsp;-A|grep&nbsp;mysql&nbsp;<br /> &nbsp;&nbsp;&nbsp;????????<br /> &nbsp;&nbsp;1829&nbsp;?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;00:00:00&nbsp;mysqld_safe<br /> &nbsp;&nbsp;&nbsp;1876&nbsp;?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;00:00:31&nbsp;mysqld<br /> &nbsp;&nbsp;2.#kill&nbsp;-9&nbsp;1829<br /> &nbsp;&nbsp;3.#kill&nbsp;-9&nbsp;1876<br /> &nbsp;&nbsp;4.#/etc/init.d/mysql&nbsp;restart<br /> &nbsp;&nbsp;5.#mysql&nbsp;-u&nbsp;root&nbsp;-p<br /> &nbsp;<br /> &nbsp;&nbsp;&nbsp;?????鷳?????,????????!<br /> &nbsp;<br /> ??????<br /> ????2&nbsp;<br /> ???&nbsp;/etc/rc.d/init.d/mysqld&nbsp;status&nbsp;????m&nbsp;y&nbsp;s&nbsp;q&nbsp;l&nbsp;?????????.<br /> ??????????????????.<br /> ------------------------------------------------------------------------------------<br /> [root@localhost&nbsp;beinan]#chown&nbsp;-R&nbsp;mysql:mysql&nbsp;/var/lib/mysql<br /> [root@localhost&nbsp;beinan]#&nbsp;/etc/init.d/mysqld&nbsp;start<br /> ???&nbsp;MySQL??&nbsp;[&nbsp;???&nbsp;]<br /> [root@localhost&nbsp;lib]#&nbsp;mysqladmin&nbsp;-uroot&nbsp;password&nbsp;'123456'<br /> [root@localhost&nbsp;lib]#&nbsp;mysql&nbsp;-uroot&nbsp;-p<br /> Enter&nbsp;password:<br /> Welcome&nbsp;to&nbsp;the&nbsp;MySQL&nbsp;monitor.&nbsp;Commands&nbsp;end&nbsp;with&nbsp;;&nbsp;or&nbsp;/g.<br /> Your&nbsp;MySQL&nbsp;connection&nbsp;id&nbsp;is&nbsp;3&nbsp;to&nbsp;server&nbsp;version:&nbsp;4.1.11</p> <p>Type&nbsp;'help;'&nbsp;or&nbsp;'/h'&nbsp;for&nbsp;help.&nbsp;Type&nbsp;'/c'&nbsp;to&nbsp;clear&nbsp;the&nbsp;buffe<br /> &nbsp;<br /> ??????????,????鷳???????,??????????<br /> &nbsp;<br /> ????3&nbsp;<br /> ??????????????max_connections=1000&nbsp;??????????????500???????????????????<br /> &nbsp;<br /> ???????<br /> ????4<br /> &nbsp;&nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/var/lib/mysql&nbsp;??????????&nbsp;???mysql.mysql<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;???в???<br /> &nbsp;<br /> ????5<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;??????????????mysql&nbsp;.sock????MySQL????&nbsp;???????????????????????&nbsp;'/tmp/mysql&nbsp;.sock'??????????????php????????????ù?'/tmp/mysql&nbsp;.sock'???????Щmysql&nbsp;???????&nbsp;??&nbsp;mysql&nbsp;.sock????/var/lib /mysql&nbsp;.sock????????????????????????????/etc/my.cnf??????????????????????????????μ??????&nbsp;<br /> &nbsp;????[mysql&nbsp;d]&nbsp;<br /> ????socket=/var/lib/mysql&nbsp;.sock&nbsp;<br /> ???????????????????????????????????mysql&nbsp;???????????????????&nbsp;<br /> ????[mysql&nbsp;]&nbsp;<br /> ????socket=/tmp/mysql&nbsp;.sock&nbsp;<br /> ???????????????????php.ini?е????????php????????mysql&nbsp;.sock????????????????????<br /> ????<br /> ???????????????????:<br /> ????ln&nbsp;-s&nbsp;/var/lib/mysql&nbsp;/mysql&nbsp;.sock&nbsp;/tmp/mysql&nbsp;.sock</p> <p>?????,????????ln&nbsp;-s&nbsp;/var/lib/mysql&nbsp;/mysql&nbsp;.sock&nbsp;/tmp/mysql&nbsp;.sock</p> <p>OK!</p> <p><span>???????????????<strong><span>mysql.sock</span></strong>????????<span><strong>mysqld.sock</strong></span>?????/var/run/mysqld/mysqld.sock</span></p> <p><span>??????????????????&nbsp;ln&nbsp;-s&nbsp;/var/run/mysqld/mysqld.sock&nbsp;/tmp/mysql.sock</span></p> <p><span>?????????????????????????.??</span></p> [SQL Server]SQL??????????????SELECT???????????? http://www.haxv.top//tech/4527.html www.haxv.top SQL Server 2013/1/10 16:07:01 <p>????????????????漰?????????????????????SELECT?????????????????????????????????????????</p> <p>1.&nbsp;??????</p> <p>??????????????????????????м???????????????????????????????????????????м?????????????Щ???е?????????Щ?????????????????SQL&nbsp;Server?У??????????????????????????????ANSI?????????????????????????????FROM????У????????SQL&nbsp;Server?????????????????????????????WHERE?????С?</p> <p><strong>1.&nbsp;ANSI????</strong></p> <p>?????????????????????????????е???????????????????????????е???Σ??????????????й????е???????????????</p> <p>??????????????SQL?????е????????????Σ??????????????????????????????????????μ?????</p> <p>?????????????????????????????????????????SELECT????У????????????????????????SELECT????FROM???????????????????JOIN??ON</p> <p>JOIN??????????????</p> <p>ON???????Щ??????е????</p> <p>???????????????????????????????????</p> <p>ANSI??????????????????</p> <p>SELECT&nbsp;table_name.column_name,&nbsp;table_name.column_name,&hellip;&hellip;</p> <p>FROM&nbsp;{&nbsp;table_name[&nbsp;join_type]&nbsp;JOIN&nbsp;table_name&nbsp;&nbsp;ON&nbsp;&nbsp;&nbsp;search_conditions}</p> <p>WHERE[&nbsp;search_conditions]</p> <p>????[&nbsp;join_type&nbsp;]???????????????????????</p> <p>INNER(??????)??????????????н????????????????У?????????SQL&nbsp;Server?????????????????INNER&nbsp;JOIN??д??&nbsp;JOIN;</p> <p>OUTER(??????)??????????????м??????Щ???????????У?????????????????????У?????????????????????????????????????????????</p> <p>???磺????????4??γ????????????????????漰?????????????Σ?<br /> SELECT&nbsp;?????</p> <p>FROM&nbsp;&nbsp;?????&nbsp;&nbsp;JOIN&nbsp;&nbsp;??α?&nbsp;&nbsp;&nbsp;ON&nbsp;&nbsp;&nbsp;?????.???&nbsp;&nbsp;??α?.???</p> <p>WHERE&nbsp;&nbsp;&nbsp;??α?&nbsp;&nbsp;&nbsp;?γ??=4</p> <p><strong>2.&nbsp;SQL&nbsp;Server????</strong></p> <p>??????????????FROM????????????????????????????????????????м??????????????WHERE????趨??????????</p> <p>SQL&nbsp;Server????????????£?</p> <p>SELECT&nbsp;&nbsp;table_name.column_name,table_name.column_name,&hellip;&hellip;</p> <p>FROM&nbsp;{&nbsp;table_name,table_name,&hellip;&hellip;}</p> <p>WHERE&nbsp;table_name.column_name&nbsp;join_operator&nbsp;table_name.column_name</p> <p>???????????У?FROM????г?????????????????????????WHERE????????Щ????ó??????????У?????WHERE????趨????????????WHERE????У??????????????????????????????&nbsp;&nbsp;</p> <p>???磺??????????????????γ?????????????????</p> <p>&nbsp;&nbsp;SELECT&nbsp;&nbsp;DISTINCT&nbsp;&nbsp;&nbsp;?????&nbsp;&nbsp;&nbsp;*</p> <p>FROM&nbsp;&nbsp;?????&nbsp;&nbsp;&nbsp;??α?</p> <p>WHERE&nbsp;&nbsp;&nbsp;?????.???=??α?.???&nbsp;&nbsp;&nbsp;AND&nbsp;&nbsp;??α?.???=60</p> <p><strong>3.&nbsp;????</strong></p> <p>??????????SELECT???SELECT??????????????????????У?????SELECT??INSERT??UPDATE??DELETE?????Щ????SELECT??????????????????????????????????????е???????裬??????????????????????????????????????????????????????????????????????????????á?</p> <p>??????????????</p> <p>???????????????</p> <p>?????????????е??????????????????????????</p> <p>?????в???????????????????text??image?????</p> <p>???????????????????????????????32??</p> <p><strong>1.&nbsp;?????????????????</strong></p> <p>????????????????????????????????FROM????е??????????FROM???????????????????÷???????????????????????????????????????????FROM????е????????????????????????????????γ?????????SELECT?????á?</p> <p>???磺????????????????????????????????????????????????????????????????????????????????????</p> <p>SLECT&nbsp;&nbsp;A&nbsp;&nbsp;*</p> <p>FROM&nbsp;&nbsp;select&nbsp;&nbsp;&nbsp;??????????????&nbsp;&nbsp;from&nbsp;&nbsp;&nbsp;?????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where&nbsp;&nbsp;??=&lsquo;GZ02??6&rsquo;&nbsp;&nbsp;as&nbsp;&nbsp;&nbsp;a</p> <p><strong>2.&nbsp;??????????????</strong></p> <p>??T-SQL?У??????????????????????????????????檔???????????????????????????ε??????????????????е?????????????WHERE????е?IN???????????</p> <p>???磺???GZ02??7????????????????????????????????????</p> <p>&nbsp;SELECT&nbsp;&nbsp;avg(????)&nbsp;&nbsp;FROM&nbsp;?????&nbsp;&nbsp;as&nbsp;&nbsp;???????</p> <p>??????????????б??е????????У??????????????????????????</p> <p>????-??SELECT&nbsp;avg??????&nbsp;&nbsp;FROM&nbsp;&nbsp;??????&nbsp;&nbsp;&nbsp;as&nbsp;&nbsp;&nbsp;?????</p> <p><strong>3.&nbsp;???????</strong></p> <p>????????????????????????????????????????????????ж??仯????????????????????????????????????????????У????????????ζ??????????????????????????????????????????????е???????????????????????Ч???????</p> <p>????????????????????????????У???????ж??????????????????ζ???Ρ?</p> <p>???磺????????γ???1??????90?????????????????????</p> <p>SELECT&nbsp;&nbsp;???&nbsp;&nbsp;&nbsp;????</p> <p>FROM&nbsp;&nbsp;&nbsp;?????</p> <p>WHERE&nbsp;&nbsp;&nbsp;90&nbsp;&nbsp;&lt;=??&nbsp;&nbsp;SELECT&nbsp;&nbsp;???</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROM&nbsp;&nbsp;&nbsp;??α?</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;?????.???=??α?.???&nbsp;&nbsp;&nbsp;AND&nbsp;&nbsp;&nbsp;?γ??=1??</p> <p><strong>4.&nbsp;???EXISTS??NOT&nbsp;EXISTS??????</strong></p> <p>??????????п??????EXISTS??NOT&nbsp;EXISTS???????ж?????????????е???С?SQL&nbsp;Server???????EXISTS??NOT&nbsp;EXISTS???????????????</p> <p>??????????????????????????</p> <p>???????????????????????????TRUE??FALSE</p> <p>???????????κ?????</p> <p>???磺???????1??γ??2??γ???????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SELECT&nbsp;&nbsp;????????????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FROM&nbsp;&nbsp;&nbsp;?????</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;&nbsp;EXISTS(SELECT&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;FROM&nbsp;&nbsp;??α?</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;&nbsp;???=?????.???&nbsp;&nbsp;AND&nbsp;&nbsp;?γ??=1??</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AND&nbsp;&nbsp;EXISTS(SELECT&nbsp;&nbsp;*&nbsp;&nbsp;FROM&nbsp;&nbsp;??α?</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;&nbsp;???=?????.???&nbsp;&nbsp;AND&nbsp;&nbsp;&nbsp;?γ??=2??</p> <p>??&nbsp;??????&ldquo;?????&rdquo;???1?У???????&ldquo;???&rdquo;??????????</p> <p>??&nbsp;??????&ldquo;???&rdquo;??????&ldquo;??α?&rdquo;??&ldquo;???&rdquo;????????????????????楨????????棬????????????????????????????????</p> <p>??&nbsp;?????????&ldquo;?????&rdquo;?е??2??3??4??????????</p> <p>?????????????ζ????????????</p> <p>SELECT&nbsp;*&nbsp;FROM&nbsp;&nbsp;?????&nbsp;&nbsp;&nbsp;&nbsp;WHERE&nbsp;</p> <p>&nbsp;&nbsp;NOT&nbsp;&nbsp;EXISTS(&nbsp;SELECT&nbsp;*&nbsp;FROM&nbsp;&nbsp;??α?</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp [SQL Server]Sql Server ????????????????excel??? http://www.haxv.top//tech/4476.html www.haxv.top SQL Server 2012/12/26 15:17:44 <p>?????????????????SqlServer????????????Excel????????????????????????&ldquo;Save Results As...&rdquo;???????</p> <p>1.1????ò?????</p> <p>1.2<strong>?????????????????????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151917774.jpg" /></p> <p>1.3<strong>????????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151918149.jpg" /></p> <p>1.4<strong>??????</strong></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151918741.jpg" /></p> <p>1.5</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151918414.jpg" /></p> <p>1.6</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151918476.jpg" /></p> <p>1.7</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919498.jpg" /></p> <p>1.8</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919231.jpg" /></p> <p>???????費??????????&ldquo;?????&rdquo;?????á?</p> <p><strong>2?????????????????????????????鷳??</strong>????????????????????office????????????????????Excel???????????????а?????</p> <p><strong>---??????Excel<br /> </strong>---????????<br /> --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.?????????????????????????????????????<br /> --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.?????????У?????????????<br /> ALTER PROC ExportFile <br /> &nbsp;&nbsp;&nbsp;&nbsp; @QuerySql VARCHAR(max) <br /> &nbsp;&nbsp;&nbsp; ,@Server VARCHAR(20) <br /> &nbsp;&nbsp;&nbsp; ,@User VARCHAR(20) <br /> &nbsp;&nbsp;&nbsp; ,@Password VARCHAR(20) <br /> &nbsp;&nbsp;&nbsp; ,@FilePath NVARCHAR(100) = 'c:\ExportFile.xls'<br /> AS<br /> &nbsp;&nbsp;&nbsp; DECLARE @tmp VARCHAR(50) = '[##Table' + CONVERT(VARCHAR(36),NEWID())+']'<br /> &nbsp;&nbsp;&nbsp; BEGIN TRY<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DECLARE @Sql VARCHAR(max),@DataSource VARCHAR(max)='';<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --?ж?????????????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF @Server &lt;&gt; '.' AND @Server &lt;&gt; '127.0.0.1'<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SET @DataSource = 'OPENDATASOURCE(''SQLOLEDB'',''Data Source='+@Server+';User ID='+@User+';Password='+@Password+''').'<br /> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --???????????????????????<br /> </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SET @Sql = REPLACE(@QuerySql,' from ',' into '+@tmp+ ' from ' + @DataSource)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PRINT @Sql<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC(@Sql)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DECLARE @Columns VARCHAR(max) = '',@Data NVARCHAR(max)=''<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT @Columns = @Columns + ',''' + name +''''--?????????xp_cmdshell????????????????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ,@Data = @Data + ',Convert(Nvarchar,[' + name +'])'--??????????????θ????nvarchar??????????????????union?????????????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROM tempdb.sys.columns WHERE object_id = OBJECT_ID('tempdb..'+@tmp)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT @Data&nbsp; = 'SELECT ' + SUBSTRING(@Data,2,LEN(@Data)) + ' FROM ' + @tmp<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT @Columns =&nbsp; 'Select ' + SUBSTRING(@Columns,2,LEN(@Columns))<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --???xp_cmdshell??bcp???????????<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC sp_configure 'xp_cmdshell',1<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RECONFIGURE<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DECLARE @cmd NVARCHAR(4000) = 'bcp &quot;' + @Columns+' Union All ' + @Data+'&quot; queryout ' + @FilePath + ' -c -T'<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PRINT @cmd<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exec sys.xp_cmdshell @cmd<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC sp_configure 'xp_cmdshell',0<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RECONFIGURE<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC('DROP TABLE ' + @tmp)<br /> &nbsp;&nbsp;&nbsp; END TRY<br /> &nbsp;&nbsp;&nbsp; BEGIN CATCH<br /> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --??????<br /> </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF OBJECT_ID('tempdb..'+@tmp) IS NOT NULL<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC('DROP TABLE ' + @tmp)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXEC sp_configure 'xp_cmdshell',0<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RECONFIGURE<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT ERROR_MESSAGE()<br /> &nbsp;&nbsp;&nbsp; END CATCH</p> <p>????????????e汾?????xp_cmdshell??????????????????????????????????????????????????????????????sql server??????????????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919468.png" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919389.png" /></p> <p>?????????????????п?????</p> <pre><strong>--??????????????????????</strong>???????????????????? <span style="color: #6600cc">--??????? </span>EXEC dbo.ExportFile @QuerySql = 'select * from sys.objects', -- varchar(max) @Server = '.', -- varchar(20) @FilePath = N'c:\objects.xls' -- nvarchar(100) <span style="color: #006600">--?????? </span>EXEC dbo.ExportFile @QuerySql = 'select * from master.sys.objects', -- varchar(max) @Server = '192.168.1.52', -- varchar(20) @User = 'sa', -- varchar(20) @Password = 'sa', -- varchar(20) @FilePath = N'c:\52objects.xls' -- nvarchar(100)</pre> <p>??н?????£??????????????????б????????????C???????2??????????????</p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919325.png" /></p> <p align="center" style="text-indent: 0px"><img title="????????" alt="" width="600" style="cursor: pointer" src="/upload/tech/UploadPic/2012-12/20121226151919611.png" /></p> [Access]SQLite???????????????? http://www.haxv.top//tech/4436.html www.haxv.top Access 2012/12/10 22:05:50 <p>SQLite ?????????Access??????????????????????С??????????????????????????? SQLite ??????? CMS (?????????)?????????????????????, Oracle??MySQL??SQLServer ???????????? DBS??????????????????????????????????и??????????ó???????о??????????</p> <p><strong>SQLite????????<br /> </strong><br /> SQLite ?? SQL92 ???????????????????????????????SQLite ?????????????????????????μ?????????? (ACID) ??????????????й? ACID ????????????????ζ???????????????????????????У???????????С??????????μ??????????μ????У?????????δ???????????????? ?????????????????????????????????????в?????????????????????????????????????????????????????????????????????????????? ???????????????????SQLite ??????????????????????????????????????????ζ???????????????????????????????????????????????????д?????????????? ????????????????д??????????????????????????????????????????????д?????????????????<br /> <br /> <strong>1.?????????</strong></p> <p>????????У?????????????????Shell????CLP:</p> <p>sqlite3 test.db</p> <p>??????????????????????????????????????SQLite??????δ?????????????????????????????Щ???????SQLite????????????</p> <p><strong>2.?????????</strong></p> <p>sqlite&gt; create table Member(id integer primary key, name text, age integer,addr text)??</p> <p><strong>???id??????????????????????????????</strong></p> <p><strong>3.????????</strong></p> <p>sqlite&gt; insert into Member values(0,'wwl',21,'???');//id=0???б????????????????</p> <p>????sqlite&gt; insert into Member(name,age,addr) values('wwl',21,'???');</p> <p><strong>4.???????</strong></p> <p>sqlite&gt;.mode column</p> <p>sqlite&gt;.headers on</p> <p>sqlite&gt; select * from Member;</p> <p><strong>???select???????????????(.headers??.mode)???????????????????????</strong></p> <p><strong>5.?????????????</strong></p> <p>sqlite&gt; create view schema as select * from Member??</p> <p>sqlite&gt; create index Member_Idx on Member(id)</p> <p><strong>6.????????</strong></p> <p>???.dump????????????????????SQL??????????κβ??????.dump?????????????????????????(DDL)??????????????(DML)??????????′???????????????е??????????????????Shell?????????????????????????????κ??????????????????????Щ??????????????</p> <p>????????.dump ??????????????????磺.dump</p> <p>????????????????????????.dump[filename]?????????????е??????????????????С??????????????????????????.output stdout?????OK???</p> <p>&nbsp;&nbsp;&nbsp;&nbsp; sqlite&gt;.output file.sql</p> <p>sqlite&gt;.dump</p> <p>sqlite&gt;.output stdout</p> <p>??????file.sql????????????????????д????????????????????????????????</p> <p><strong>7.????????</strong></p> <p>?????????????????????????????????????????????????????????SQL??乹??????????.read??????????а???????????????а??????????????????????(comma-swparated values,CSV)?????????.import[file][table]???????????????????????????????????????????С?</p> <p>.read????????????.dump????????????????????????????????????????file.sql??????????????????????????????????????????μ???</p> <p>sqlite&gt;drop table Member;</p> <p>sqlite&gt;drop view schema;</p> <p>sqlite&gt;.read file.sql</p> <p><strong>8.?????????</strong></p> <p>?????????????????????????????????????????????????????????SQL????????????????????</p> <p>???????????????????CLP.dump????:sqlite3 test.db .dump &gt;test.sql</p> <p>??Shell?У??????????????????????????????????????????磺</p> <p>sqlite&gt;.output file.sql</p> <p>sqlite&gt;.dump</p> <p>sqlite&gt;.output stdout</p> <p>sqlite&gt;.exit</p> <p>??????????SQL??????CLP??????????????????</p> <p>sqlite3 test.db &lt;test.sql</p> <p>??????????????????????????????????????????????????????????????????Щ???????????????????????????????С??????????????????С??</p> <p>sqlite3 test.db vacuum</p> <p>cp test.db test.Backup</p> <p><strong>9.????????</strong></p> <p>sqlite&gt;select last_insert_rowid();//????????????????????</p> <p>sqlite&gt;.tabes//???????е??????</p> <p>sqlite&gt;.indices Member??//????????????</p> <p>sqlite&gt;.schema Member //?????????????????(DDL)???,????????????,????????????????(table,view,index,triger)????????</p> [SQL Server]SQL SERVER 2005??ν????????????????? http://www.haxv.top//tech/4408.html www.haxv.top SQL Server 2012/12/7 11:35:43 <p>SQL Server 2005?п????????????????????????????????????????????????????????÷??????£?</p> <p>??1???????sql server Management Studio????????????????????????????????????&mdash;&mdash;????????????</p> <p>&nbsp;<img alt="SQL SERVER 2005??ν?????????????????1" src="/upload/tech/UploadPic/2012-12/2012127113846563.jpg" /></p> <p>2??????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????2" src="/upload/tech/UploadPic/2012-12/2012127113846822.jpg" /></p> <p>??????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????3" src="/upload/tech/UploadPic/2012-12/2012127113846129.jpg" /></p> <p>3??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????4" src="/upload/tech/UploadPic/2012-12/2012127113846653.jpg" /></p> <p>??4????????????????????????????????????</p> <p>??????????????????:????????????????????????????????????????????????????????????????????sql</p> <p>Server????????????????????????????????????????????????????????????????????????С??</p> <p><img alt="SQL SERVER 2005??ν?????????????????5" src="/upload/tech/UploadPic/2012-12/2012127113846654.jpg" /></p> <p>??5??????????????????????????????????????????????????????ж?????????????????????????????????????????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????6" src="/upload/tech/UploadPic/2012-12/2012127113846665.jpg" /></p> <p>??6?????????????????????????????????????</p> <p>???б???????????????????????????????????????????????????????????????????????????????????????????????????豸????????????????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????7" src="/upload/tech/UploadPic/2012-12/2012127113846835.jpg" /></p> <p>??7?????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????8" width="707" height="655" src="/upload/tech/UploadPic/2012-12/2012127113847300.jpg" /></p> <p>8?????????????????????????????????????????????????????????估??????????????????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????9" src="/upload/tech/UploadPic/2012-12/2012127113847171.jpg" /></p> <p>??9?????????18.24?????????????????????????????????????????????????棺???????д??????У???????????????????????????????????????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????10" src="/upload/tech/UploadPic/2012-12/2012127113847284.jpg" /></p> <p>10??????????????????????????????????ɡ???????????????????????</p> <p><img alt="SQL SERVER 2005??ν?????????????????11" src="/upload/tech/UploadPic/2012-12/2012127113847399.jpg" /></p> <p>11?????????????????????sql server?????????????????????????????????????????sql Server??????????????????????????????</p> [Oracle]Oracle??ora-00603????????????????????????????? http://www.haxv.top//tech/4384.html www.haxv.top Oracle 2012/11/30 11:18:42 <p>??????????????????????ora-00603?????????λ?????????????????????????????????????????????</p> <p>?????????????£?</p> <p>Thu Nov 05 15:28:53 2009<br /> Errors in file d:\oracle\admin\orcl\udump\orcl_ora_4684.trc:<br /> ORA-00603: ORACLE server session terminated by fatal error<br /> ORA-01114: IO error writing block to file 11 (block # 42773)<br /> ORA-27041: unable to open file<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????<br /> ORA-01114: IO error writing block to file 11 (block # 42773)<br /> ORA-27041: unable to open file<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????<br /> ORA-01114: IO error writing block to file 11 (block # 42773)<br /> ORA-27041: unable to open file<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????</p> <p>?????File 11???????????????????????????????????????????????????????????8G????????????????70%?????????????????9??11??13??14?????????????????????????????????п??????????????????????????п????????????Ρ?</p> <p>??????orcl_ora_4684.trc???????Σ?</p> <p>JServer Release 9.2.0.1.0 - Production<br /> Windows 2000 Version 5.2 Service Pack 2, CPU type 586<br /> Instance name: orcl</p> <p>Redo thread mounted by this instance: 1</p> <p>Oracle process number: 30</p> <p>Windows thread id: 4684, image: ORACLE.EXE</p> <p>*** SESSION ID:(39.280) 2009-11-05 15:28:52.000<br /> *** 2009-11-05 15:28:52.000<br /> ksedmp: internal or fatal error<br /> ORA-01114: ????д????? 11 ????? IO ???? (?? # 42773)<br /> ORA-27041: ????????<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????<br /> ORA-01114: ????д????? 11 ????? IO ???? (?? # 42773)<br /> ORA-27041: ????????<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????<br /> ORA-01114: ????д????? 11 ????? IO ???? (?? # 42773)<br /> ORA-27041: ????????<br /> OSD-04002: ????????<br /> O/S-Error: (OS 32) ??????????????????????????????????<br /> Current SQL statement for this session:<br /> INSERT INTO &quot;VIO_JDCZP&quot; (&quot;XH&quot;,&quot;HPHM&quot;,&quot;HPZL&quot;,&quot;PHOTO1&quot;) VALUES (:1,:2,:3,:4) RETURNING ROWID into :5<br /> ----- Call Stack Trace -----<br /> calling&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call&nbsp;&nbsp;&nbsp;&nbsp; entry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; argument values in hex&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> location&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type&nbsp;&nbsp;&nbsp;&nbsp; point&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (? means dubious value)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> -------------------- -------- -------------------- ----------------------------<br /> _ksedmp+147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _ksedst+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> ..1.44_7.except.114&nbsp; CALLrel&nbsp; _ksedmp+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3<br /> +fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> ..1.1_3.except.34+a&nbsp; CALLrel&nbsp; _ksupop+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2<br /> f&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> _ttcpip+a86&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLreg&nbsp; 00000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5E 14 8ACE738 0<br /> _opitsk+2f4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _ttcpip+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> _opiino+5fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _opitsk+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0 A616320 6D1F564 C2 0<br /> _opiodr+4cd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLreg&nbsp; 00000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3C 4 8ACFBD8<br /> _opidrv+233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _opiodr+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3C 4 8ACFBD8 0<br /> _sou2o+19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _opidrv+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> _opimai+10a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLrel&nbsp; _sou2o+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> _OracleThreadStart@&nbsp; CALLrel&nbsp; _opimai+0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> 4+35c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> 7C824826&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CALLreg&nbsp; 00000000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /> &nbsp;?????????п???&ldquo;Current SQL statement for this session:<br /> INSERT INTO &quot;VIO_JDCZP&quot; (&quot;XH&quot;,&quot;HPHM&quot;,&quot;HPZL&quot;,&quot;PHOTO1&quot;) VALUES (:1,:2,:3,:4) RETURNING ROWID into :5&rdquo;??仰????????????&ldquo;INSERT INTO &quot;VIO_JDCZP&quot; (&quot;XH&quot;,&quot;HPHM&quot;,&quot;HPZL&quot;,&quot;PHOTO1&quot;) VALUES (:1,:2,:3,:4) RETURNING ROWID into :5&rdquo;??仰???????????????е??????????????仰????????д???????</p> <p>?????CS?????????а?????????????????3?????????????????????Щ????????????о????????????????С??80KB??200KB?????????????????????е??</p> <p>???????????????????????????????????????????????????????????oracle?????????????????????????Session???????</p> <p>????????????????ORACLE??????????????????????????????????????????????????????????????????????????д??δ????????????д??????????????????????????????????????????????????????????????????????????????????????????????</p> <p><strong><span style="color: #ff0000">?????????????<br /> </span></strong>1 ?????????????9.2.0.1????????????????10G???????????9.2.0.3???????????????á?<br /> 2 ????д??????????????????</p> <p><strong><span style="color: #ff0000">?????????????????<br /> </span></strong><br /> The solution is (as proposed on this thread):<br /> alter system set events '10046 trace name context off';<br /> alter system set timed_statistics=false;<br /> ???????????????????????????<br /> ???<br /> timed_staticstices ?????????????????????????CUP???????????????????????ж???????????????????</p> <p><strong><span style="color: #6600cc">ORA-00603??????????</span></strong></p> <p>???????job???????????????????????job???????????????г??????????????????????ORA-00603??????????????£?<br /> <br /> 1.?????????ORA-00603???????????????temp?????????????????????????????????temp???????? [MySQL]3????????????????mysql????????? http://www.haxv.top//tech/4383.html www.haxv.top MySQL 2012/11/30 11:11:28 <p>????mysql????????????????????????????????α????????????????????????????????????????mysql??????????</p> <p>1?????????????????????????′???????.bat??????????????????????????·????????????????????????????????D????mysql\mysql?£?????λ????F:\beifen?????????????????</p> <ol> <li ><span><span>@echo&nbsp;off &nbsp;</span></span></li> <li><span>&nbsp;</span></li> <li ><span>color&nbsp;0D &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>MODE&nbsp;con:&nbsp;</span><span >COLS</span><span>=</span><span >71</span><span>&nbsp;</span><span >LINES</span><span>=</span><span >25</span><span>&nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>title&nbsp;mysql??????????????(??????)--????????http://www.***.com &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set&nbsp;</span><span >sou_dir</span><span>=</span><span >&quot;D:\mysql\Mysql\data&quot;</span><span>&nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set&nbsp;</span><span >obj_dir</span><span>=</span><span >F</span><span>:\beifen\%date:~0,10% &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>net&nbsp;stop&nbsp;mysql &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>md&nbsp;%obj_dir% &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>xcopy&nbsp;/e&nbsp;/y&nbsp;%sou_dir%&nbsp;%obj_dir% &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>net&nbsp;start&nbsp;mysql &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>@echo&nbsp;off&amp;setlocal&nbsp;enabledelayedexpansion &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>call:D,30 &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>echo.&nbsp;30??????????%D% &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>echo.&nbsp;???30?????????...... &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;exist&nbsp;F:\beifen\%D%&nbsp;rd&nbsp;/s&nbsp;/q&nbsp;F:\beifen\%D% &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>echo&nbsp;?????????????????????...... &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>ping&nbsp;-n&nbsp;2&nbsp;127.0.0</span><span >&gt;</span><span>nul &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>exit &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>:D &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>for&nbsp;/f&nbsp;&quot;</span><span >tokens</span><span>=</span><span >1</span><span>-3&nbsp;</span><span >delims</span><span>=-:/&nbsp;&quot;&nbsp;%%a&nbsp;in&nbsp;(&quot;%date%&quot;)&nbsp;do&nbsp;( &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set&nbsp;</span><span >Y</span><span>=%%a&amp;set&nbsp;</span><span >M</span><span>=%%b&amp;set&nbsp;</span><span >D</span><span>=%%c &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;&quot;!M:~0,1!&quot;==&quot;0&quot;&nbsp;set&nbsp;</span><span >M</span><span>=!M:~1! &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;&quot;!D:~0,1!&quot;==&quot;0&quot;&nbsp;set&nbsp;</span><span >D</span><span>=!D:~1! &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>) &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set/a&nbsp;</span><span >D-</span><span>=%1 &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;%D%&nbsp;gtr&nbsp;0&nbsp;goto:Y &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>:M &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set/a&nbsp;</span><span >M-</span><span>=</span><span >1</span><span>&nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;!M!==0&nbsp;set/a&nbsp;</span><span >Y-</span><span>=</span><span >1</span><span>,</span><span >M</span><span>=</span><span >12</span><span>&nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set/a&nbsp;&quot;</span><span >T</span><span>=^!(M-2)&quot;,&quot;</span><span >R</span><span>=(^!(Y%%4)&amp;^!^!(Y%%100))|^!(Y%%400)&quot;,&quot;</span><span >C</span><span>=^!(M-4)|^!(M-6)|^!(M-9)|^!(M-11)&quot;,&quot;</span><span >D</span><span>=</span><span >T</span><span>*(28+R)+C*30+(^!T&amp;^!C) &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>*31+D&quot; &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>if&nbsp;%D%&nbsp;leq&nbsp;0&nbsp;goto:M &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>:Y &nbsp;</span></li> <li><span>&nbsp;</span></li> <li ><span>set&nbsp;</span><span >M</span><span>=</span><span >0</span><span>%M%&amp;set&nbsp;</span><span >D</span><span>=</span><span >0</span><span>%D%&amp;set&nbsp;</span><span >D</span><span>=%Y%-!M:~-2!-!D:~-2! &nbsp;</span></li> <li><span>&nbsp;</span></li> </ol> <p>2???????????????????????????????????????????????mysql???????????????mysql???????????????????---????????????????????????????????????</p> <p style="text-align: center"><img border="0" alt="3????????????????mysql?????????_????????" width="399" height="413" style="cursor: hand" src="/upload/tech/UploadPic/2012-11/20121130111239405.JPG" /></p> <p>3????????????????趨?????????????????????mysql?????????????????????????????mysql???????????????</p> <p style="text-align: center"><img border="0" alt="3????????????????mysql?????????_????????" width="480" height="211" style="cursor: hand" src="/upload/tech/UploadPic/2012-11/20121130111239611.JPG" /></p> 平码三中三1码中特见证奇迹
<acronym id="guwig"></acronym>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<rt id="guwig"></rt>
<acronym id="guwig"><small id="guwig"></small></acronym>
<tr id="guwig"></tr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<menu id="guwig"><object id="guwig"></object></menu>
<rt id="guwig"><small id="guwig"></small></rt>
<sup id="guwig"><small id="guwig"></small></sup>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<wbr id="guwig"></wbr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"></acronym>
<tr id="guwig"></tr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<tr id="guwig"><xmp id="guwig">
<tr id="guwig"></tr>
<rt id="guwig"></rt>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym><acronym id="guwig"><small id="guwig"></small></acronym>
<rt id="guwig"></rt>
<tr id="guwig"></tr>
<rt id="guwig"></rt> <samp id="guwig"></samp>
<rt id="guwig"></rt>
<wbr id="guwig"></wbr>
<samp id="guwig"><noscript id="guwig"></noscript></samp>
<samp id="guwig"></samp> <sup id="guwig"><small id="guwig"></small></sup>
<object id="guwig"><small id="guwig"></small></object><optgroup id="guwig"><menu id="guwig"></menu></optgroup>
<object id="guwig"><center id="guwig"></center></object>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<acronym id="guwig"></acronym>
<option id="guwig"></option>
<acronym id="guwig"></acronym>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<acronym id="guwig"><optgroup id="guwig"></optgroup></acronym>
<tr id="guwig"></tr>
<acronym id="guwig"></acronym>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<rt id="guwig"></rt>
<acronym id="guwig"><small id="guwig"></small></acronym>
<tr id="guwig"></tr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<menu id="guwig"><object id="guwig"></object></menu>
<rt id="guwig"><small id="guwig"></small></rt>
<sup id="guwig"><small id="guwig"></small></sup>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<wbr id="guwig"></wbr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"></acronym>
<tr id="guwig"></tr>
<acronym id="guwig"><small id="guwig"></small></acronym>
<tr id="guwig"><xmp id="guwig">
<tr id="guwig"></tr>
<rt id="guwig"></rt>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym>
<acronym id="guwig"><small id="guwig"></small></acronym><acronym id="guwig"><small id="guwig"></small></acronym>
<rt id="guwig"></rt>
<tr id="guwig"></tr>
<rt id="guwig"></rt> <samp id="guwig"></samp>
<rt id="guwig"></rt>
<wbr id="guwig"></wbr>
<samp id="guwig"><noscript id="guwig"></noscript></samp>
<samp id="guwig"></samp> <sup id="guwig"><small id="guwig"></small></sup>
<object id="guwig"><small id="guwig"></small></object><optgroup id="guwig"><menu id="guwig"></menu></optgroup>
<object id="guwig"><center id="guwig"></center></object>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<acronym id="guwig"></acronym>
<option id="guwig"></option>
<acronym id="guwig"></acronym>
<rt id="guwig"><optgroup id="guwig"></optgroup></rt>
<acronym id="guwig"><optgroup id="guwig"></optgroup></acronym>
<tr id="guwig"></tr>
吉林时时玩法说明 广西快十开奖结果今 上海基诺彩票玩法 福建时时走势图今天 新时时历史信息 杭州快乐12走势图手机版 领航时时彩计划软件免费版 球探网即时比分网电脑版 天天三分彩开奖 内蒙古19年重点项目 两码中特期期准免费 黑龙江时时lm0 白小姐传密二十三期 幸运飞艇开奖 11选五任选八多少钱 三中三资料平码2019