数据库
T_g520
这个作者很懒,什么都没留下…
展开
-
oracle定时器调用存储过程
介绍orcale定时器的简单用法,希望大家一看就能明白[b]1.创建一个表,为了能清楚看到定时器的运行情况我们创建一个带有日期字段的表[/b] [code="sql"]create table job_table(run_time date);[/code][b]2.创建存储过程[/b] [code="sql"]create or replace procedure job_p...2011-07-01 17:54:20 · 255 阅读 · 0 评论 -
oracle kill session
[code="sql"]select status,program,username,sid,serial# from v$session where username='username' AND STATUS='INACTIVE'[/code][code="sql"]alter system kill session 'sid,serial# '[/code]...2011-07-12 09:31:45 · 137 阅读 · 0 评论 -
sqlserver语句
[code="sql"]select rtrim(Kmdm) as Kmdm, rtrim(Fzhs) as Fzhs, rtrim(Yefx) as Yefx, rtrim(Kmlb) as Kmlb, '${annual}' as annual, '${ACCOUNT_CODE}' as ACCOUNT_CODE, kmxz,rtrim(kmmc) as k...2011-07-12 14:49:43 · 121 阅读 · 0 评论 -
oracle去除左右空格和.0
[table]|code|| 10002||10012.0|| 112.0||158|[/table]去除左右空格[code="sql"]update TB_PRICED_MATERIALS set code=trim(code) [/code]去除.0[code="sql"]update TB_PRICED_MATERIALS set cod...2011-08-03 16:31:06 · 1273 阅读 · 0 评论 -
ACID事物
http://www.cnblogs.com/malaikuangren/archive/2012/04/06/2434760.html原创 2013-04-18 16:21:30 · 172 阅读 · 0 评论