Linux&MySQL&PHP&Nginx&Apache&MSSQL&Shell
发布时间: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是触发程.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2013-11-13 16:59:56
点击(此处)折叠或打开CREATE /*[DEFINER = { user | CURRENT_USER }]*/ FUNCTION `test`.`a`() RETURNS TYPE /*LANGUAGE SQL.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2013-11-08 18:06:14
点击(此处)折叠或打开;with #t as (select '张三' 姓名, '语文' 科目, 74 成绩 unionselect '张三' , '数学' , 83 unionselect '张三' , '物理' , 93 unionselect '李四' , '语文' , 74 unionselect '李四' , '数学' , 84 union.........【阅读全文】