摘要:1、http://bugs.mysql.com/bug.php?id=12030 CONCAT with INTEGER modifies result-set encoding 2、这个bug的修改方式, 对integer变量进行转换 CONCAT(p.company,'-',CAST(p.id AS CHAR CHARACTER SET utf8 ))
阅读全文
摘要:net start OracleOraDb10g_home1TNSListenernet start OracleServiceORCL第一个是监听服务第二个是数据库服务
阅读全文
摘要:运行 sqlplus回车 longon as sysdba回车 回车 这样就可以登录了。 SQL>create user username identified by password; SQL> grant dba to username; SQL> conn username/password; SQL> select * from user_sys_privs; win7...
阅读全文
摘要:oracle有直接的sql来遍历一颗树的子节点和父节点 遍历一个节点的所有子节点(classid的值就是该节点的值) select * from organization_ a start with a.organizationid = 185137connect by prior a.organizationid = a.parentorganizationid 遍历一个节点的...
阅读全文
摘要:plsql developer打开字段值出现无效的窗口句柄解决方法 PLSQL Developer打开oralce字段时报“无效的窗口句柄”的问题,与系统的打印服务有关,只要将“Print Spooler"服务启动即可。
阅读全文
摘要:环境变量增加NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
阅读全文
摘要:1、常用的函数分为五大类: 字符函数、数字和日期函数、数字函数、转换函数、混合函数 2、字符函数 字符函数主要用于修改字符列。这些函数接受字符输入,返回字符或数字值。Oracle 提供的一些字符函数如下。 1. CONCAT (char1, char2) 返回连接“char2”的“char1”。 2. INITCAP(string) 将“string”的字符转成大写。 这个只能转换首字母为大写,...
阅读全文
摘要:select * from recyclebin r where r.original_name = 'MSM_EXAINVITEBIDSCHEMEHEAD' ; flashback table MSM_EXAINVITEBIDSCHEMEHEAD to before drop;
阅读全文
摘要:1、mysql服务无法启动 修改my.ini中为 default-storage-engine=MYISAM
阅读全文