原创 informix 安裝問題集合
1. ***** Error occurred during installation. Please refer to log file //tmp/log.txt for details. ****** 再次安裝時出現的問題
原创 informix 數據分頁
informix 不支持limit 語法,
原创 informix 安裝缺少libm.so.6
最近業務有相關informix數據庫,安裝11.5版本的時候遇到這個問題,網上找的解決辦法: 輸入: yum install glibc -y yum install glibc.i686 glibc-devel.i686 glibc-s
原创 informix 插入中文顯示問號
一、 CLIENT_LOCALE 該變量指客戶機語言環境。在UNIX下默認爲en_us.8859-1(ISO 8859-1,而 en_us.819 則是 en_us.8859-1 的 shorthand ),在Windows下默認爲
原创 informix share memory 問題
1. 遇到這個問題是刪除share memory , 查看 share memory 命令 [root@localhost ~]# ipcs -m ------ Shared Memory Segments -------
原创 informix java.sql.SQLException: Transactions not supported
最近的項目使用informix數據庫,踩坑,出現這個問題 後面的說明:Failed to override connection auto commit/transaction isolation. java.sql.SQLExcepti
原创 2003 - Can't connect to MySQL server on 'localhost' (10061)
轉自:http://blog.sina.com.cn/s/blog_51eca05501017mfw.html 1、MySQL 使用 Navicat 出現錯誤“2003 - Can’t connect to MySQL ser
原创 SQL right()函數
http://www.yiibai.com/sql/sql_function_right.html 返回最右邊的len個字符的字符串str,或返回NULL如果任何參數是NULL。 SQL> SELECT RIGHT(‘fooba
原创 SCOPE_IDENTITY的用法
轉:http://www.cnblogs.com/daydayupanan/archive/2008/09/04/1283648.html SCOPE_IDENTITY 和 @@IDENTITY 的作用都是取得返回在
原创 request.getSession().getServletContext().getRealPath 爲null
轉自:http://www.cnblogs.com/langtianya/archive/2013/04/09/3011258.html 1、request.getRealPath() 方法已過時,現在可替換的實現方法有 req
原创 SQL Server Date 函數
定義和用法 CONVERT() 函數是把日期轉換爲新數據類型的通用函數。 CONVERT() 函數可以用不同的格式顯示日期/時間數據。 語法 CONVERT(data_type(length),data_to_be_con
原创 maven 基礎教程
Maven入門指南① :Maven 快速入門及簡單使用 - http://www.cnblogs.com/luotaoyeah/archive/
原创 mui 禁止下拉刷新
mui("#pullrefresh").pullRefresh().setStopped(true); 點贊 收藏 分享 文章舉報 dfyh1993 發佈了17 篇原創文章 ·
原创 數據庫存儲過程使用錯誤集合
SQL state [null]; error code [0]; sql injection violation, syntax error: syntax error, error in :'ll updateacco
原创 從數據庫隨機取出一條數據的業務需求
1.首先來個比較基礎的 select user_id,nickname from aw_users ORDER BY RAND() limit 1 不過嘛, 效率比較低,不建議使用。我也不太懂,網上說rand()是把表數據首先整個取出來