SQL Server中主外键的定义:1.create table dept(dept_no int primary key,dept_name nvarchar(50) not null)insert into dept values(10,'IT'),(20,'Finance'),(30,'Eng...
分类:
数据库 时间:
2014-07-22 22:56:53
阅读次数:
176
http://www.cnblogs.com/suihui/archive/2013/08/01/3229821.html一、查①select($where = '', $data = '*', $limit = '', $order = '', $group = '', $key='')/** ....
分类:
数据库 时间:
2014-07-18 23:21:48
阅读次数:
323
1.签名的意义 为了保证每个应用程序开发商合法ID,防止部分开放商可能通过使用相同的Package Name来混淆替换已经安装的程序,我们需要对我们发布的APK文件进行唯一签名,保证我们每次发布的版本的一致性(如自动更新不会因为版本不一致而无法安装)。2.签名的步骤 a.创建key b.使用步...
分类:
移动开发 时间:
2014-07-18 23:18:27
阅读次数:
251
mysql中如何查看和删除唯一索引。
查看唯一索引:
show index from mytable;//mytable 是表名
查询结果如下:
查询到唯一索引后,如何删除唯一索引呢,使用如下命令:
alter table mytable drop index mdl_tag_use_ix;//mdl_tag_use_ix是上表查出的索引名,key_name...
分类:
数据库 时间:
2014-07-18 23:05:47
阅读次数:
203
第一步 定义速卖通api的常量
public String client_id;
public String client_key;
public String site;
第二步 获取登陆的uRL
/**
* getloginurl
* @param redirect_uri
* @return
*/
p...
分类:
编程语言 时间:
2014-07-18 22:36:38
阅读次数:
412
分享下mysql中如何把主键定义为自动增长标识符类型。1、把主键定义为自动增长标识符类型在mysql中,如果把表的主键设为auto_increment类型,数据库就会自动为主键赋值。例如:create table customers(id int auto_increment primary key...
分类:
数据库 时间:
2014-07-18 21:20:02
阅读次数:
244
开发时,经常用到NSLog,但release是又想一次过清掉all NSLog,方法是:在xxx-Prefix.pch里添加[cpp]view plaincopy#ifdefDEBUG#defineDLog(...)NSLog(__VA_ARGS__)#else#defineDLog(...)/**...
分类:
移动开发 时间:
2014-07-18 21:05:57
阅读次数:
221
In Javascript, the key work "this" is a hard point to understand, in this artical, I will try to explain ittalking about "this", we have to talk about...
分类:
编程语言 时间:
2014-07-18 20:14:34
阅读次数:
223
查询某session上持有的锁资源USE AdventureWorksGOSELECT DB_NAME(resource_database_id) AS [DataBase],resource_type --DATABASE、FILE、OBJECT、PAGE、KEY、EXTENT、RID、APPLI...
分类:
其他好文 时间:
2014-07-17 13:39:24
阅读次数:
273
linux命令执行遵循环境变量PATH中的路径,但是有时我们会发现这种现象:#mv/sbin/ls/bin/
[root@xx~]#ls/tmp/
-bash:/sbin/ls:Nosuchfileordirectory/sbin和/bin同样是PATH环境变量中的搜索路径,但是移动之后却发现不了命令,这是因为,命令在上次执行之后以key-value形式缓存..
分类:
系统相关 时间:
2014-07-17 08:11:59
阅读次数:
347