以下代码可以加在程序包里面,用于修改当前session的语言参数。--设置session语言
PROCEDUREp_Set_Nls_Language(Pi_Nls_LangINVARCHAR2DEFAULT‘SIMPLIFIEDCHINESE‘)IS
BEGIN
EXECUTEIMMEDIATE‘ALTERSESSIONSETNLS_LANGUAGE=‘||Chr(39)||
Pi_Nls_Lang||Chr(39);
EXCEPTION
WHENO..
分类:
数据库 时间:
2014-08-28 11:36:00
阅读次数:
207
欧拉函数,又称为Euler's totient function,在程序编辑中有很大的用途,所以在此总结一下。欧拉函数定义 少于或等于n的数中与n互质的数的数目。欧拉函数求法 因为任意正整数都可以唯一表示成如下形式: n=p1^a1*p2^a2*……*pi^ai 可以推出:Eula...
分类:
其他好文 时间:
2014-08-28 11:02:09
阅读次数:
205
For the most part, a lot of what we know about software development can be applied to different environments and technologies. But, there are always s...
分类:
其他好文 时间:
2014-08-27 23:20:28
阅读次数:
223
获取正在运行的程序并把它加入到一个listview的adapter类面,方法如下:
// 正在运行的
public List getRunningProcess() {
pi = new PackagesInfo(this);
am = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
// 获取正在运行的应用
ru...
分类:
移动开发 时间:
2014-08-27 22:06:52
阅读次数:
375
Abstract: In this paper, a general approach for human action recognition is applied for classifying human movements into action classes . The propose ...
分类:
其他好文 时间:
2014-08-27 21:56:28
阅读次数:
477
#include #include #include #include #include #include #include #include const double PI=acos(-1.0);const int MAX=0x7fffffff;const long long MOD=(long ...
分类:
其他好文 时间:
2014-08-27 18:35:08
阅读次数:
340
462 A 题意读懂后就好做了,就是与一个方块上下左右相邻的‘o’的个数,如果是偶数,yes,否则,no。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define pi acos(-1.0)
#define inf 0xfffffff
#define maxn 5000...
分类:
其他好文 时间:
2014-08-27 14:44:07
阅读次数:
179
Arole-basedaccesscontrol(RBAC) modeling and auditing system is described that enables a user toaccessand/or create security roles that can be applied ...
分类:
数据库 时间:
2014-08-27 10:42:57
阅读次数:
437
最近想买几本关于.net和设计模式的书,刚在CSDN的DearBook上逛了下,整理几本这方面比较经典的书。有些书的英文版本在里面找不到。其中售价指的是非VIP会员的价格,也就是普通会员的价格。Microsoft .NET框架程序设计(修订版)(中文版)Applied Microsoft .NET ...
分类:
Web程序 时间:
2014-08-27 10:42:27
阅读次数:
341
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define MAXN 400010
#define MOD 20071027
#define INF 0x7fffffff
#define EPS 1e-8
#define PI acos(-1.0)
#def...
分类:
其他好文 时间:
2014-08-27 09:28:47
阅读次数:
191