1.如何删除表的某一列altertablexxxdropcolomnxxx;2.增加某一列altertablexxxaddcolumnnametype;eg:altertablestudentaddagenumber;3.修改某一列altertablexxxmodify(columnametype);//括号可要可不要4.修改表名renameoldtabletonewtable;5.2张表,stu(sid,sname)和ac(aid,sid,aname,s
系统 2019-08-12 01:52:54 2781
来源:http://blog.csdn.net/kongdong/作者:fasiondog重读《软件构架实践》第一章,里面举了这样一个例子:试想一下,如果把对某个系统的需求分析文档分别交给两个在不同组织工作的设计师,结果会如何?这两个设计师是给出一个构架,还是给出两个不同的构架呢?答案是:一般情况下,会给出两个不同的构架。这一结果立刻就可以证明系统需求决定构架的观点是错误的。这个问题可以这样表述:问题:为什么“需求不能决定构架”?“是”的解决方案:答案已经
系统 2019-08-12 01:33:38 2781
#!/bin/shexport_JAVA_SR_SIGNUM=12exportJAVA_HOME=/usr/java/jdk1.6.0_11exportCATALINA_BASE=/home/co_newest_family/tomcatexportCATALINA_HOME=/usr/local/apache-tomcat-6.0.18exportLD_LIBRARY_PATH=:/usr/local/lib/:/usr/local/apr/lib/:/
系统 2019-08-12 01:33:20 2781
http://www.imtxc.com/blog/2012/04/25/vim-tips-and-experience/首先明确一些环境和一些术语说明:我所使用的是DebianLinux上的vim7.3版本;下面的配置中,表示按住Ctrl后按v键;下面的配置中,表示按住Alt后按t键;我在说明中提到的“前”,一般的意思是“右或者下”,“后”的意思一般是“左或者上”;我提到的“字”一般表示一
系统 2019-08-12 01:32:49 2781
BelowiswhatiscollectedShowsSQLServersinformationShowstop5highcpuusedstatemantsShowswhosologgedinShowslongrunningcursorsShowsidlesessionsthathaveopentransactionsShowsfreespaceintempdbdatabaseShowstotaldiskallocatedtotempdbdatabaseS
系统 2019-08-12 01:32:19 2781
构建一个二阶多项式:x^2-4x+3多项式求解>>>p=np.poly1d([1,-4,3])#二阶多项式系数>>>p(0)#自变量为0时多项式的值3>>>p.roots#多项式的根array([3.,1.])>>>p(p.roots)#多项式根处的值array([0.,0.])>>>p.order#多项式的阶数2>>>p.coeffs#多项式的系数array([1,-4,3])>>>多项式拟合用三阶多项式去拟合importmatplotlib.pyplo
系统 2019-09-27 17:49:53 2780
字体固定,位置固定,干扰点和字体颜色深度没有交叉,比如下面的样例,是我前几天帮朋友写投票机刷票时碰到的一个具体案例。基本就三步,确定特征码-分割图片-逐个匹配,代码很简单,不超过100行usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Drawing;namespaceBmpNumber{classNumber{//数字特征库staticint[,]_num0=
系统 2019-08-29 23:52:57 2780
1:importjavax.microedition.lcdui.Graphics;2:3:publicclassCrystalRGB{4:5:publicfinalstaticvoiddrawRGBVRect(Graphicsg,intcolor,intx,inty,6:intwidth,intheight){7:int[]rgb=getRGBVColor(color,height);8:for(inti=0;i9:intnTemp=x+width-(i
系统 2019-08-29 23:27:50 2780
WithArcGISServer,youcancreateWebapplicationsforeditingdatawithoutwritinganycode.YoucreatetheseapplicationsinArcGISServerManager.ThisexampleshowshowtocreateaWebeditingapplicationinManager.Creatingtheapplicationisactuallythefinalste
系统 2019-08-29 23:22:51 2780
实现tab页很多方法,有一些是用纯CSS实现,其他大多数是基于jquery、mootools或者其他js框架实现,既然有这么多可以拿来即用的插件,又何苦重复造轮子。Jquery插件1.jQueryUITabs这个tab脚本已经绑定在jqueryUI库里,它有很多的配置项,比如你可以配置出可以滚动的tab,tab嵌套等等。2.jQueryidTabsidTabs可以让你在网页中轻松地加入tab页,而且它还可以对它进行无穷无尽扩展。Mootools插件3.Mo
系统 2019-08-29 23:21:34 2780