1、插入数据insert into table(id,name) values("","") ---插入数据到table表中如:INSERT INTO sms.Communication ( RefType,RefId,Type,Message,CreateUserId,CreateDate ) v...
分类:
数据库 时间:
2014-06-28 18:36:01
阅读次数:
239
1.INSERT INTO SELECT语句 语句形式为:Insert into Table2(field1,field2,...) select value1,value2,... from Table1 要求目标表Table2必须存在,由于目标表Table2已经存在,所以我...
分类:
其他好文 时间:
2014-06-28 18:00:35
阅读次数:
241
IF OBJECT_ID('tb') IS NOT NULL DROP TABLE tbcreate table tb(id varchar(3) , pid varchar(3) , name varchar(10))insert into tb values('001' , null ,...
分类:
数据库 时间:
2014-06-28 17:58:36
阅读次数:
470
登录命令mysql -uroot -p21313新建用户insert into mysql.user(Host,User,Password) values("localhost","phplamp",password("1234"));刷新权限flush privileges;创建数据库create...
分类:
数据库 时间:
2014-06-21 07:39:29
阅读次数:
263
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-06-21 06:58:22
阅读次数:
186
DECLARE @TAB TABLE( [科室编号] [varchar](50) NULL, [科室编码] [varchar](50) NULL, [科室名称] [varchar](50) NULL, [拼音] [varchar](50) NULL)INSERT INTO @TABSELECT * ...
分类:
数据库 时间:
2014-06-21 06:55:07
阅读次数:
236
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, ...
分类:
其他好文 时间:
2014-06-20 19:35:03
阅读次数:
167
Bulk Insert命令具体 BULK INSERT以用户指定的格式复制一个数据文件至数据库表或视图中。 语法:Sql代码 BULKINSERT[['database_name'.]['owner'].]{'table_name'FROM'data_file'} WITH( [BATCHSIZE[...
分类:
其他好文 时间:
2014-06-20 18:50:45
阅读次数:
265
清除流程内部的所有相关数据eg1:declare @procedureTemp table ( [ProcedureCode] varchar(10) ) declare @ProcedureCode varchar(10) INSERT into @procedureTem...
分类:
数据库 时间:
2014-06-20 17:49:17
阅读次数:
227
INSERT INTO system_organize (organize_id,organize_code,organize_name)SELECT DISTINCT REPLACE(UUID(),'-',''),a_code,a_name FROM sys_fee_aREPLACE(UUID()...
分类:
其他好文 时间:
2014-06-20 16:49:13
阅读次数:
185