常用代码段【备忘】
html空白模版
<!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=UTF-8" />
<title>HTML template</title>
<link href="http://blueprintcss.org/blueprint/screen.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js" type="text/javascript"></script>
</head>
<body>
<div id="container">
</div>
<script type="text/javascript">
</script>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HTML template</title>
<link href="http://blueprintcss.org/blueprint/screen.css" rel="stylesheet" type="text/css" />
<style type="text/css">
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js" type="text/javascript"></script>
</head>
<body>
<div id="container">
</div>
<script type="text/javascript">
</script>
</body>
</html>
SQL测试输入插入:
declare @index int;
set @index = 0;
while(@index < 100011)
begin
INSERT INTO [Northwind].[dbo].[Categories]
([CategoryName]
,[Description]
,[Picture])
VALUES
(
'bangq'
,'bangq_description'
,'jasdfasldkfjasidf')
set @index = @index + 1
set @index = 0;
while(@index < 100011)
begin
INSERT INTO [Northwind].[dbo].[Categories]
([CategoryName]
,[Description]
,[Picture])
VALUES
(
'bangq'
,'bangq_description'
,'jasdfasldkfjasidf')
set @index = @index + 1
end
SQL中更改主键 :set IDENTITY_INSERT table_name on
作者:BangQ
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利.
说明:本文以“现状”提供且没有任何担保,同时也没有授予任何权利。 | This posting is provided "AS IS" with no warranties, and confers no rights.
珍爱生命,Leave here!
说明:本文以“现状”提供且没有任何担保,同时也没有授予任何权利。 | This posting is provided "AS IS" with no warranties, and confers no rights.
珍爱生命,Leave here!