摘要:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb23
阅读全文
摘要:
----前台<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm38.aspx.cs" Inherits="WebApplication2.WebForm38" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona
阅读全文
摘要:
void Application_Error(object sender, EventArgs e) { // 在出现未处理的错误时运行的代码 string Message = string.Empty; Message = "Url" + Request.Path + Server.GetLastError().ToString(); //不存在 就建立資料夾 預設 C:\\Trioptics string sPath = @"C:\\MGSLog"; if (!Directory.Exists(sPath)) { Directory.CreateDi
阅读全文
摘要:
set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgo-- =============================================-- Author:Garry-- Create date: 2012-01-16-- Description:查詢人員離歸崗報表-- =============================================-- EXEC [spPersonOnAndOffPost] '2012-1-15 10:00:00','2012-1-17 23:00:00'CREATE P
阅读全文
摘要:
一、查看有哪些表被锁住select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id; select b.username,b.sid,b.serial#,logon_time from v$locked_object a,v$session b where a.session_id = b.sid order by b.logon_time;杀进程中的会话alter system kill session &
阅读全文