常用代码段【备忘】

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>

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

 end 

 


SQL中更改主键  :set  IDENTITY_INSERT  table_name  on 

 

 

posted @ 2012-02-06 17:11  BangQ  阅读(235)  评论(0编辑  收藏  举报