转:http://xuliewei.cn/archives/3071主要讲述如何在后台建立对某数据库表的增删查该,如有雷同纯属巧合、如有不妥欢迎指出1.通过phpmyadmin建表CREATE TABLE IF NOT EXISTS `pre_jianyanxmlb` (`lbid` mediumi...
分类:
数据库 时间:
2014-12-17 01:29:26
阅读次数:
230
1 File sourFile = new File(start); //来源文件 2 File tarFile = new File(end); 4 if(!tarFile.exists()){ 5 ...
分类:
编程语言 时间:
2014-12-16 16:47:40
阅读次数:
154
eg1:ifos.path.isdir(‘E:\test‘):passelse:os.mkdir(‘E:\test‘)##os.mkdir()只会创建一个目录,不可以级联创建eg2:ifnotos.path.exists(‘E:\test‘):###判断文件是否存在,返回布尔值os.makedirs(‘E:\test‘)##os.makedirs()这个连同中间的目录都会创建,类似于参数mkdir-peg3:..
分类:
编程语言 时间:
2014-12-15 22:01:57
阅读次数:
275
1.【问】:Jfina如何不区分数据库列名的大小写? 我这儿随时出现 The attribute name is not exists: regdate,改成regDate就OK.怎么设置不区分大小写呢??? 【答】: ActiveRecordPlugin ar = new ActiveRecord...
分类:
其他好文 时间:
2014-12-15 17:29:31
阅读次数:
249
exists的用法select *from haha where exists (select *from bumen where bumen.code = haha.bumen and bumen.name = '销售部' )and age>35(运行方法为逐条查询)select name,sex...
分类:
数据库 时间:
2014-12-15 16:43:32
阅读次数:
249
[转]eclipse android : A project with that name already exists in the workspace - freeliver54 - 博客园I'm new to Eclipse/Java/AndroidI have already created...
分类:
移动开发 时间:
2014-12-15 15:07:49
阅读次数:
255
一般对于中文使用都是用utf8字符集和utf8_general_ci 的排序规则 为什么要选用这两种方式可以参考~~~ 哪篇帖子~下次找到贴上来 mysql>CREATE?DATABASE?IF?NOT?EXISTS?my_db?default?charset?utf8?COLLA...
分类:
数据库 时间:
2014-12-15 12:20:05
阅读次数:
234
原来代码:File tempDir = new File(path); //path 是一个参数 if (!tempDir.exists()) { try { tempDir.mkdir(); //mkdirs 可创建多级目录,mk...
分类:
移动开发 时间:
2014-12-14 15:42:35
阅读次数:
330
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-12-14 00:38:30
阅读次数:
161
1、判断文件是否存在,file_exists("文件名") or die("no such file");2、set_error_hanlder("错误处理函数名称", 错误常量);一般用于处理系统的各种错误这是一个回调函数,可以调用自定义的错误处理函数。自定义的函数可以接受至少两个参数最多五个参数...
分类:
Web程序 时间:
2014-12-12 20:47:43
阅读次数:
207