You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>数据备份</title>
</head>
<body>
<%
if (request.getSession().getAttribute("cx").equals("超级管理员"))
{
String sql="";
sql="backup database jspmjsfglxthsg8101W6B8 to disk='D:/jspmjsfglxthsg8101W6B8.dat'";
new CommDAO().commOper(sql);
out.print("<script>alert('操作成功!!, 您的数据库已成功备份于D:/jspmjsfglxthsg8101W6B8.dat');location.href='sy.jsp';</script>");
}
else
{
out.print("<script>alert('对不起,您没有该权限');location.href='sy.jsp';</script>");
}
%>
</body>
</html>