Chinaunix首页 | 论坛 | 博客
  • 博客访问: 808759
  • 博文数量: 127
  • 博客积分: 3662
  • 博客等级: 中校
  • 技术积分: 1371
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-02 12:36
个人简介

Linux&MySQL&PHP&Nginx&Apache&MSSQL&Shell

文章分类

全部博文(127)

文章存档

2016年(1)

2015年(8)

2014年(14)

2013年(26)

2012年(17)

2011年(28)

2010年(33)

发布时间:2014-02-19 17:00:06

触发程序是与表有关的命名数据库对象,当表上出现特定事件时,将激活该对象。CREATE TRIGGER语法CREATE TRIGGER trigger_name trigger_time trigger_event   ON tbl_name FOR EACH ROW trigger_stmt 触发程序与命名为tbl_name的表相关。trigger_time是触发程.........【阅读全文】

阅读(863) | 评论(0) | 转发(0)

发布时间:2013-12-17 16:17:56

tinyint,smallint,mediumint,int,bigint。分别使用8,16,24,32,64位存储空间,取值范围是-2^(n-1)到2^(n-1)-1,n是存储位数,如:tinyint存储范围是0 ~ 255,tinyint unsigned是-128 ~ 127unsigned(不准有负值)tinyintsmallintmediumintint.........【阅读全文】

阅读(1344) | 评论(0) | 转发(0)

发布时间:2013-11-13 16:59:56

点击(此处)折叠或打开CREATE    /*[DEFINER = { user | CURRENT_USER }]*/    FUNCTION `test`.`a`()    RETURNS TYPE    /*LANGUAGE SQL.........【阅读全文】

阅读(7303) | 评论(0) | 转发(0)

发布时间:2013-11-11 16:32:25

点击(此处)折叠或打开/* Microsoft SQL Server Integration Services Script Component* Write scripts using Microsoft Visual C# 2008.* ScriptMain is the entry point class of the script.*/using System;using Sy.........【阅读全文】

阅读(1142) | 评论(0) | 转发(0)

发布时间:2013-11-08 18:06:14

点击(此处)折叠或打开;with #t as (select '张三' 姓名, '语文' 科目, 74 成绩 unionselect '张三' , '数学' , 83 unionselect '张三' , '物理' , 93 unionselect '李四' , '语文' , 74 unionselect '李四' , '数学' , 84 union.........【阅读全文】

阅读(3632) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

大鬼不动2010-10-06 11:33

踩踩

回复  |  举报

大鬼不动2010-10-01 19:41

踩踩

回复  |  举报

大鬼不动2010-09-27 08:33

踩踩

回复  |  举报

大鬼不动2010-09-21 08:44

踩踩

回复  |  举报

大鬼不动2010-09-20 19:49

最近在忙什么呢

回复  |  举报
留言热议
请登录后留言。

登录 注册