码迷,mamicode.com
首页 >  
搜索关键字:drop    ( 5540个结果
Oracle PL/SQL复合数据类型
drop table test purge; create table test (   id number(2),   name varchar2(60) ); insert into test values(1,'aaa'); insert into test values(2,'bbb'); insert into test values(3,'ccc'); insert...
分类:数据库   时间:2014-10-27 12:52:52    阅读次数:382
A Tour of Go Range continued
You can skip the index or value by assigning to_.If you only want the index, drop the ", value" entirely.package main import "fmt"func main() { pow...
分类:其他好文   时间:2014-10-27 06:54:42    阅读次数:224
A Tour of Go For is Go's "while"
At that point you can drop the semicolons(分号): C'swhileis spelledforin Go.package main import "fmt"func main() { sum := 1 for sum < 1000 { ...
分类:其他好文   时间:2014-10-27 00:10:05    阅读次数:213
SQL Server 触发器的修改与删除
修改: alter trigger trigger_name on ..... as ..... #把create 修成 alter 就可以了。删除: drop trigger trigger_name on {database_name | object_name | server|;...
分类:数据库   时间:2014-10-26 22:48:19    阅读次数:263
mysql语句
--数据定义语言(DDL)1.创建和删除数据库:create database和 drop database语句;2.创建、修改、重命名、删除表:create table 表名、alter table 表名(add/drop)列名、rename table、drop table 表名;3.创建和删除...
分类:数据库   时间:2014-10-26 00:14:50    阅读次数:213
改进版本的精确数据权限定义和实现
由于工程实现上的某些小问题,为了达到方便实现如图效果,对数据结构做了一点点的调整。 新的数据结构如下图: 第一个图片的数据源视图: IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID(N'RoleDataPermit') AND OBJECTPROPERTY(id, N'ISVIEW') = 1) DROP VIE...
分类:其他好文   时间:2014-10-25 23:07:36    阅读次数:392
全面解析SQL SERVER 的左右内连接
SQL SERVER数据库的三个常用连接解析: USE [BI] GO DROP TABLE BI.dbo.TABLE_ONE; GO DROP TABLE BI.dbo.TABLE_TWO; GO CREATE TABLE BI.dbo.TABLE_ONE(  [ID] [int] NOT NULL,  [NAME] [nvarchar](50) NOT NULL ) ON...
分类:数据库   时间:2014-10-25 23:03:13    阅读次数:207
jsp连接mysql
下载mysql-connector-java-5.1.26-bin.jar驱动程序。复制粘贴到目录下。web-inf/lib下数据库:--删除数据库DROP DATABASE IF EXISTS mldn ;--创建数据库CREATE DATABASE mldn CHARACTER SET UTF8...
分类:数据库   时间:2014-10-23 22:26:12    阅读次数:286
sqlserver 2008实现的转账事务模拟
use master drop table customer create table customer( id int primary key, account decimal check(account>0), name varchar(20) ) --use master alter table dbo.customer add check(customer.account...
分类:数据库   时间:2014-10-23 16:18:44    阅读次数:240
GROUP BY 语句用于结合合计函数,根据一个或多个列对结果集进行分组
1 drop table orders; 2 create table orders ( 3 o_id int auto_increment primary key, 4 orderdate date, 5 orderprice int, 6 customer varchar(100) 7 ); ....
分类:其他好文   时间:2014-10-22 12:28:08    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!