今天我登录PL/SQL连接ORACLE11GR2报错如下:ORA-12154TNScouldnotresolvetheconnectidentifierspecified。我的解决办法是:1.打开“我的电脑”--“属性”--“高级系统设置”--“环境变量”--“系统变量”--PATH--“编辑”--删除“C:\app\linxi\product\11.2.0\dbhome_1\BIN”这..
分类:
其他好文 时间:
2014-11-06 02:16:53
阅读次数:
170
获取和设置非标准HTML属性:Element类型还定义了getAttribute()个setAttribute()方法来查询和设置非标准的HTML属性。也可以用来查询和设置XML文档中元素上的属性。这些方法和前面的基于API之间的区别有:1)属性都被看做是字符串。getAttribute()不返回数值、布尔值或对..
分类:
其他好文 时间:
2014-11-06 02:15:04
阅读次数:
327
python_files_operationsfiles, file objectsopen(name [, mode [, bufsize]])eg:file = "data.txt"f = open(file, 'r')f = open(file, 'w')'r':read'w':write'a...
分类:
编程语言 时间:
2014-11-06 00:31:29
阅读次数:
271
伪代码:RECURSIVE-INSERT-SORT (A, n) if n>1 RECURSIVE-INSERT-SORT (A ,n-1) InsertLastNumber (A,n)InsertLastNumber (A,n) temp = A[n] i=n-1 whi...
分类:
编程语言 时间:
2014-11-06 00:26:59
阅读次数:
270
实践经典迷宫问题的两种解法,给出了实际运行的动态效果图,以帮助体会栈的运用。...
分类:
编程语言 时间:
2014-11-05 23:14:21
阅读次数:
377
认识语句
document.write("Hello");
document.write("World");
浏览器里面输出:HelloWorld,并没有换行,要换行document.write("");或者把document.write("Hello")改为document.write("Hello"+“”);分好只是表示一句结束...
分类:
Web程序 时间:
2014-11-05 23:14:21
阅读次数:
229
算法导论,插入排序public class InsertSort { public static double [] sort(double [] num) { for(int i =1; i=0 && temp < num[j]) { ...
分类:
编程语言 时间:
2014-11-05 21:11:10
阅读次数:
187
在一个医药行业的系统中需要根据患者的接触记录ID获取不同接触类型的集合,效果像这样--患者接触记录信息,一个患者可以有N个不同的接触记录,每个接触记录又有N个接触类型记录IF OBJECT_ID ('dbo.TEST') IS NOT NULLDROP TABLE dbo.TESTGOCREATE ...
分类:
数据库 时间:
2014-11-05 21:02:30
阅读次数:
252
页面<%@pagelanguage="java"contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"%>
<%
Stringpath=request.getContextPath();
StringbasePath=request.getScheme()+"://"
+request.getServerName()+":"+request.getServerPort()
+path+"/";
%>
<!DOCTY..
分类:
其他好文 时间:
2014-11-05 19:54:38
阅读次数:
135
直接插入排序
/*总是将a[i]与a[i+1]作比较,temp记录两者中较小的数
然后对这个数左边遍历将比temp大的数右移,
然后在空出来的位置上插入temp进行排序*/
#include
insert_sort(int a[],int n)
{
int i,j,temp;
for(i=1;i<n;i++)
{
if(a[i] <a[i-1])
{
temp=a[i];...
分类:
编程语言 时间:
2014-11-05 19:45:11
阅读次数:
271