刚刚从MySql/MSSQL数据库转到Oracle,用C#调用时一直更新不成功 ,后来发现是传参数格式不正确的问题。Oracle里的command 要在参数名前用冒号:标注。SqlServer和MySQL都是用@。见http://www.codeproject.com/Questions/61858...
分类:
数据库 时间:
2014-08-22 16:03:58
阅读次数:
309
刚開始接触android的时候,每次用数据库都会犹豫使用哪种方式,一种是getContentResolver().query(...),还有一种是managedQuery(...),后来习惯了使用前一种,后一种就被我遗忘了,可是在实际做项目时,有时数据库常常会报cursor not close的.....
分类:
其他好文 时间:
2014-08-22 16:03:38
阅读次数:
195
查询语言:Query Language条件表达式:where+having+on输入参数:支持位置参数 ?1,和命名参数 :userName,但这两者不能混用条件组合:属性导航:user.userName,一元运算 + -,逻辑操作 NOT AND OR,比较Comparison:= > >= 区间...
分类:
其他好文 时间:
2014-08-22 15:57:29
阅读次数:
493
客户端:1、查看现有共享连接net use2、清除现有共享连接net use * /del /y (建议使用)或 net use * /delete (在删除了后再重新连接还有可能会出现一些其他问题,例如不能多用户连接的问题!)3、用命令建立共享连接net use \\IP password /us...
分类:
其他好文 时间:
2014-08-22 15:50:28
阅读次数:
137
?调用系统窗口调用Google搜索Intent intent = new Intent();intent.setAction(Intent.ACTION_WEB_SEARCH);intent.putExtra(SearchManager.QUERY,"searchString");startActi...
分类:
其他好文 时间:
2014-08-22 12:53:39
阅读次数:
161
1.某字段更新 自增 1 update table set a=a+12.修改某一字段的数据类型alter table "tablename" modify "column" "type"3.更改字段名alter table "tablename" change column col_old col...
分类:
数据库 时间:
2014-08-22 12:49:58
阅读次数:
270
All the things present from the universe is frequently modifying each of the time regardless of irrespective of whether it has occurred in past times ...
分类:
其他好文 时间:
2014-08-22 12:36:36
阅读次数:
219
JD安装说明:*****Eclipse 插件安装*****1. 在网上搜索并下载jdeclipse_update_site.zip2. Eclipse -> Install New Software -> Add3. 随便输入一个名字,比如JD。在下面的路径中选择zip包所在位置。点击安装4. Wi...
分类:
编程语言 时间:
2014-08-22 12:26:26
阅读次数:
188
.htaccess 301问题A网站 a.com/a.html 301到 B网站 b.com/b.html RewriteRule ^a.com/a.html$ http://www.b.com/b.html&%{QUERY_STRING} [R=301,L]
分类:
数据库 时间:
2014-08-22 12:18:16
阅读次数:
251
mysql>set profiling=1;mysql>show profiles;mysql> set @query_id=6;Query OK, 0 rows affected (0.00 sec)mysql> select state,sum(duration) as total_R,roun...
分类:
其他好文 时间:
2014-08-22 12:17:46
阅读次数:
265