定义:typet_numberstabistableofnumber;举例:createorreplacefunctiongetbldroomidforcert(p_certidnumber,p_sequencenumber)returnvarchar2istypet_numberstabistableofnumber;v_bldroomidst_numberstab:=t_numberstab();v_cntnumber:=1;beginforbrrsi
系统 2019-08-12 01:54:56 2437
创建表:create;删除表:drop;查询:select;增加:insertinto;删除列:delect;修改:update;分组:groupby;表连接:join、leftjoin、rightjoin、crossjoin;去除重复:distinct;表连接过滤:having;视图(虚表):view;序列号:rownum;字段属性:constratint;索引:index;序列:sequence;PL_SQL:declare-begin-end;游标:
系统 2019-08-12 01:54:56 2437
.NetFramework3.5提供了LinqToSQL组件,为我们访问数据库提供了方便。我用的是VS+Oracle开发工具。也想体验一下快捷方便的感觉。1.连接Oracle数据库在连接Oracle数据库过程中,提示“错误OCIEnvCreate失败,返回代码为-1,但错误消息文本不可用”.查找了相关资料,找到了是WIN7的安全模式,权限问题,在win7下要用管理员身份运行所有的不兼容软件。于是,以管理员身份启动vs2008,再次连接,数据连接成功!2.新
系统 2019-08-12 01:54:52 2437
一:建立sequence--CreatesequencecreatesequenceSEQ_PUSHminvalue1maxvalue9999999999startwith1incrementby1cache20;二:建立Trigger在向t_push表中插入一条数据时,ID自动赋值createorreplacetriggertr_id_insertbeforeinsertont_pushforeachrowdeclare--localvariablesh
系统 2019-08-12 01:54:18 2437
今天在plsql中不小新把刚建的oracle表删除了,而且还有不少数据,差点出了一身冷汗,我赶紧到网上查找解决办法,发现解决之道如此简单:flashbacktablecomm_system_parmstobeforedrop;openjweb提供企业级的javaweb快速开发解决方案。演示地址:http://www.openjweb.com/crmadmin123456email:baozhengw@163.comqq:29803446在plsql中误删数
系统 2019-08-12 01:53:19 2437
1.删除并且屏蔽文件gitrm--cached*.xcuserstategitcommit-m"Removedfilethatshouldn'tbetracked"2.删除远程分支oschina:gitpushoschina:your_branch_namegithub:gitpushorigin:your_branch_name3.删除本地分支gitbranch-dyour_branch_name4.查看分支gitbranch-agit常用命令
系统 2019-08-12 01:53:14 2437
程序包由两部分构成:规范(specification)和主体(body)。创建表createtablePEOPLE(IDNUMBERprimarykeynotnull,NAMENVARCHAR2(20)notnull,STATUSNVARCHAR2(3))insertintopeople(id,name,status)values(1,'福康','CLX');insertintopeople(id,name,status)values(2,'陆晓','ac
系统 2019-08-12 01:52:52 2437
文章结束给大家来个程序员笑话:[M]题问述描:对数据库插入作操,后commit,再shutdown,oracle没反应。处理方法:因数据库有大批数据要回滚,故先执行SQL>altersystemcheckpoint;SQL>shutdownimmediate;每日一道理闷热的天,蝉儿耐不住寂寞地不停在鸣叫,我孤单一人,寂静的身旁没有一个知音,想疯狂地听摇滚乐,听歇斯底里的歌声,那只为逃避无人的世界里那浓烈的孤单气息。一个人是清冷,两个人便是精彩,于是,莫名
系统 2019-08-12 01:52:52 2437
原文:SQL代理执行EXE可执行程序1.如果没有启用xp_cmdshell安全配置是不可以使用的--启用xp_cmdshellEXECsp_configure'xp_cmdshell',1GO--重新配置RECONFIGUREGO2.执行脚本xp_cmdshell{'command_string'}[,no_output]如:EXECxp_cmdshell'D:\RP\Job\Release\RegentsoftBIService.exe'SQL代理执行E
系统 2019-08-12 01:52:23 2437
http://www.eclipse-workbench.com/jsp/http://www.objectlearn.com/index.jsphttp://www.crionics.com/products/opensource/eclipse/eclipse.jsphttp://eclipse-plugins.2y.net/eclipse/index.jsp----------goodftp://202.113.29.2/pub/eclipse/pl
系统 2019-08-12 01:33:32 2437