易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

linux下 jdk配置

1.java.sun.com/j2se/1.4.2/download.html">http://java.sun.com/j2se/1.4.2/download.html 下载一个Linux Platform的JDK,建议下载RPM自解压格式的(RPM in self-extracting file,j2sdk-1_4_2_06-linux-i586-rpm.bin); 
2. 上载到Linux服务器上,在shell下执行命令:
[root@LinuxServer rpm]# chmod 755 j2sdk-1_4_2_06-linux-i586-rpm.bin
[root@LinuxServer rpm]# ./j2sdk-1_4_2_06-linux-i586-rpm.bin 
这时会有一段Sun的协议,敲几次空格键,当询问是否同意的时候,敲yes就可以了。
Sun Microsystems, Inc.
Binary Code License Agreement
for the
JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD
EDITION, VERSION 1.4.2_X
...
Do you agree to the above license terms? [yes or no]yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by  ......

Linux 下getch()和getche()

Linux下getch()和getche()
I would recommend never mixing input techniques in a program. Don't mix fgets() or scanf() with getchar(). Don't mix any standerd C library input function with a non-standard function that bypasses the C stream mechanism, be that getch(), getche(), bioskey(), or anything else. Note that these functions do not read from stdin, they read from a hardware keyboard, which is not the same thing.
 
 
 
Functions like getch() and getche() haven't been incorporated into the C standard because not all host systems provide ways to turn off input buffering. Thus compilers include these as common extensions wherever possible.
 
 
 
 
It is worth pointing out that writing Standart C (or Standart POSIX or whatever) is not always useful or desirable. It is up to the programmer to decide when and whether the benefits of sticking to any particular standards are worth their costs. But in order to make such a decision (and execute it), ......

SQL Server 2008定时作业的制定(SQL2005参考此方法)

SQL Server 2008 定时作业的制定
--1.打开【SQL Server Management Studio】,在【对象资源管理器】列表中选择【SQL Server 代理】;
--2.鼠标右击【SQL Server 代理】,选择【启动(S)】,如已启动,可以省略此步骤;
--3.展开【SQL Server 代理】列表,右击【作业】-->【新建作业】;
--3.1 在【常规】选项卡中:
-- 输入作业名称,如"My Job";
--3.2 在【步骤】选项卡中:
--3.2.1 点击【新建】,输入【步骤名称】,如“步骤1”,类型默认T-SQL脚本,也可以选择SSIS包等;
--3.2.2 在【数据库】一栏选择要作业处理的数据库,在【命令】的右边空白编辑栏输入要执行的SQL代码,
EXEC p_Name --如:执行一个P_Name的存储过程
-- 也可以点击命令下面的【打开】,打开.sql脚本;
--3.2.3 输入运行脚本后,建议点击【分析】,确保脚本语法正确,然后点击下面的【确定】按钮;
--3.3 在【计划】选项卡中:
--3.3.1 点击【新建】,输入【计划名称】,如“计划1”,计划类型默认是”重复执行”,也可以选择执行一次等;
--3.3.2 在【频率】-->【执行】处选择“每天”、“每周”或“ ......

SQL语句关键字UNION小知识

   今天在用UNION进行将两个查询结合时,发现加了text类型的字段进去就报错了,错误信息如下:
不能以 DISTINCT 方式选择 text、ntext 或 image 数据类型。
     经过翻阅资料后才知道,原因在于如此操作 无法对text类型判断是否重复,所以要在UNION后加个ALL关键字,如下:
select top 6 * from
(select top 6 a.content,b.title, b.takenoticeid ID,b.taketime,type = 1 from takenotice_content as a,
(select * from comm_takenotice_201004 where takeperson = 'g567890' )as b
 where a.contentid = b.contentid and b.readstatus ='0'
union all
select top 6 a.content,title = '', b.takesmsid ID,b.taketime,type = 2  from takesms_content as a,
(select * from comm_takesms_201004 where takeperson = 'g567890')as b
 where a.contentid = b.contentid ) x order by taketime desc
   如需按某一条件排序,则要加别名,如上面sql中的x,方可执行。 ......

EBS 常用PL/SQL代码


检查某个模块的安装状态 (S代表共享安装 I代表完全安装 N代表没有安装)
select fat.application_name,fpi.status
from fnd_application_tl fat,fnd_product_installations fpi
where fat.language='US' and fat.application_id=fpi.application_id
order by fpi.status
......

SQL解密ctext字段内容函数

--SQL解密ctext字段内容函数
--exec sp_decrypt '约束名称'
--exec sp_decrypt 'DF_InsuranceRecord_PeriodUnit'
--exec sp_decrypt '存储过程名称'
--exec sp_decrypt 'sp_SearchPrinting_InsuranceRecord'
--主要用途:读取systemcomments中的字段内容。包括约束,存储过程等等。
--原文应该来自http://blog.csdn.net/j9988/archive/2004/04/16/16747.aspx,作者发布文章只有3篇,可能转了移BLOG.不过确实是高手。省却了我很多的时间。本来打算先找OX字符传格式的破解函数,或者在C#中解密的viabanry(8000)字段内容。
--存在存储 过程超过4000时候会换行的一些评论中反映的问题。出现错误我会及时修正。
CREATE  PROCEDURE sp_decrypt(@objectName varchar(50)) 
AS 
begin 
set nocount on 
begin tran 
declare @objectname1 varchar(100),@orgvarbin varbinary(8000) 
declare @sql1 nvarchar(4000),@sql2 varchar(8000),@sql3 nvarchar(4000),@sql4 nvarchar(4000) 
DECLARE  @OrigSpText1 nvarchar(4000),  @OrigSpText2 nvarchar(4000) , @OrigSpText3 nvarchar(4000), @resultsp nvarchar(4000) ......
总记录数:40319; 总页数:6720; 每页6 条; 首页 上一页 [1158] [1159] [1160] [1161] 1162 [1163] [1164] [1165] [1166] [1167]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号