本文介绍了Sql Server数据库中删除数据表中重复记录的方法。[项目]数据库中users表,包含u_name,u_pwd两个字段,其中u_name存在重复项,现在要实现把重复的项删除![分析]1、生成一张临时表new_users,表结构与users表一样;2、对users表按id做一个循环,每从...
分类:
数据库 时间:
2014-08-15 07:10:57
阅读次数:
271
WordPress仅仅用了10 个表:wp_comments, wp_links, wp_options, wp_postmeta, wp_posts, wp_term_relationships, wp_term_taxonomy, wp_terms, wp_usermeta, wp_users按...
分类:
其他好文 时间:
2014-08-15 01:13:16
阅读次数:
422
百度地图一个是真机包,一个是模拟器包。下面是把真机包和模拟器包 合成为一个。以便开发 所有的包合成方法均是一样。打开终端:lipo -create /Users/quancheng/Library/Developer/Xcode/DerivedData/LIBRARY-apqimrbblggwrnc...
分类:
移动开发 时间:
2014-08-14 23:12:36
阅读次数:
285
1.软件版本 apache-tomcat-7.0.55 apache-maven-3.2.2 eclipse-standard-luna-R-win32-x86_64 2.修改文件 2.1 tomcat ?tomcat-users.xml ?增加如下用户 角色 manager-script manager-script?— Access to the ...
分类:
其他好文 时间:
2014-08-14 21:12:19
阅读次数:
206
1、设置成即时加载2、查询语句使用join fetchfrom Coupon coupon left join fetch coupon.users where coupon.id=:id coupon的List users属性是懒加载,但是查询结果需要users的内容,则使用left join f...
分类:
其他好文 时间:
2014-08-14 20:22:19
阅读次数:
221
如果没有自己去设置安装路径,MYSQL默认安装在C:/Program Files/MySQL/MySQL Server 5.1,新建的数据库文件在C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/d...
分类:
数据库 时间:
2014-08-14 19:52:09
阅读次数:
226
HDFS Users GuidePurposeOverviewPrerequisitesWeb InterfaceShell CommandsDFSAdmin CommandSecondary NameNodeCheckpoint NodeBackup NodeImport CheckpointRe...
分类:
其他好文 时间:
2014-08-14 16:36:20
阅读次数:
244
VirtualBox虚拟盘路径默认是存在C盘的,而当我们发现C盘不够用的时候,想转移就感觉有点麻烦了,现在给大家介绍一个简单又使用的方法。第一步:到默认目录C:\Users\Administrator\VirtualBox VMs 找到需要转移的VirtualBox虚拟盘,剪切VirtualBox虚...
分类:
其他好文 时间:
2014-08-14 13:24:08
阅读次数:
236
创建项目开始一个Django的项目, 很简单,我们只需要用 命令 startproject 即可。Step1. 打开 CMD 并进入到你需要创建 项目 的路劲 C:\Users\Administrator>D:Step2. 执行下面的命令 django-admin.py startproject ....
分类:
其他好文 时间:
2014-08-14 10:33:18
阅读次数:
158
程序不能执行,kill掉任务管理器里面adb服务,重新连接设备仍然有错查到可能是adb端口被占用查看adb用的是哪个端口:C:\Users\wanglin>adb nodaemon server查看谁占用了这个端口:C:\Users\wanglin>netstat -ano | findstr "5...
分类:
数据库 时间:
2014-08-13 22:20:07
阅读次数:
298