搜索到与相关的文章
数据库相关

关于动态添加存储过程的错误

有这么一个存储过程:1ALTERPROCEDURE[dbo].[ap_BuyAndSaleAction]2@DataActionint,3@IDint=0,4@RentWaynvarchar(100),5@Citynvarchar(100),6@Districtnvarchar(100),7@Titlenvarchar(100),8@Addressnvarchar(1000),9@XiaoQunvarchar(100),10--@AddTimedateti

系统 2019-08-12 01:53:13 2317

数据库相关

SQL代理执行EXE可执行程序

原文: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 2317

Oracle

oracle子查询分解(分而治之)

用一个sql语句完成一下问题:A,B,C三人的年龄相乘为36;相加等于所有在场的人的人数;年龄大的人的宠物仓鼠的有个腿是木头的,试着给出这三人的年龄。解决方案:需要知道用于查询分解的基本格式,考虑类似下面的表达式withalias1as(subQuery1)alias2as(subQuery2)……select……;首先,注意带三人年龄的乘积是36,可设年龄都是整数,因此就必须创建一个1~36的范围内,——就需要一个36行的表,每一个表对应一个可能的年龄:

系统 2019-08-12 01:52:14 2317

Oracle

plsql连接oracle 64位数据库ORA-12514错误

今天帮小师妹还原数据库,删除表空间的时候把数据库搞坏了,plsql连接时报了ORA-12514:TNS:listenerdoesnotcurrentlyknowofservicerequestedinconnectdescriptor错误。反复修改监听文件也是没能得到解决。知道看到网上的解决方案:1.首先打开SQLPlus,sysassysdba;showparameter;startupopenhstestdb;发现了这两个错误ORA-00119:inv

系统 2019-08-12 01:51:27 2317

数据库相关

.NET连接sybase乱码问题

.net从sybase中取数,变乱码的问题,网上很多人说,直接改服务器端的字符集,其实不用的。用.NET来转换。publicstaticstringChangeCharset(stringstr,Encodingsource,Encodingtarget){stringstrChanged="";try{byte[]btSource=source.GetBytes(str);strChanged=target.GetString(btSource);}ca

系统 2019-08-12 01:33:46 2317

操作系统

bash脚本测网络流量

bash脚本测网络流量_hoxily的窝窝_百度空间bash脚本测网络流量#!/bin/bashif[-n"$1"];theneth_name=$1elseeth_name="eth0"fii=0send_o=`ifconfig$eth_name|grepbytes|awk'{print$6}'|awk-F:'{print$2}'`recv_o=`ifconfig$eth_name|grepbytes|awk'{print$2}'|awk-F:'{prin

系统 2019-08-12 01:33:27 2317

操作系统

Janus: Vim Distribution

carlhuda/janusJanus:VimDistributionThisisadistributionofplug-insandmappingsforVim,GvimandMacVim.Itisdesignedtoprovideminimalworkingenvironmentusingthemostpopularplug-insandthemostcommonmappings.Thedistributioniscompletelycustomisa

系统 2019-08-12 01:33:22 2317

Java

Java--Eclipse关联Java源码

打开Eclipse,Window->Preferences->Java点Edit按钮后弹出:点SourceAttachment后弹出:选择Java安装路径下的src.zip文件即可跟Java源码关联Java--Eclipse关联Java源码

系统 2019-08-12 01:33:01 2317

Oracle

oracle数据表中的中文变问号

先查询一下selectuserenv('language')fromdual;查看oracle字符集,$sqlplus/nologSQL>connectsys/oracleassysdbaSQL>startup如何设置ORACLE数据库的编码(ZHS16GBK)修改成UTF8SQL>shutdownimmediate;SQL>startupmount;SQL>altersystemenablerestrictedsession;SQL>altersyste

系统 2019-08-12 01:32:44 2317

编程技术

dequeueReusableCellWithIdentifier

dequeueReusableCellWithIdentifier:Returnsareusabletable-viewcellobjectlocatedbyitsidentifier.-(UITableViewCell*)dequeueReusableCellWithIdentifier:(NSString*)identifierParametersidentifierAstringidentifyingthecellobjecttobereused.B

系统 2019-08-12 01:32:38 2317