Can't load IA 32-bit .dll on a
Can't load IA 32-bit .dll on a AMD 64-bit platform
解決方法:
替換 bin 目錄下的tcnative-1.dll 為64位的版本 http://files.cnblogs.com/inteliot/tcnative-1.rar
一、http://www.cnblogs.com/weiwcn/archive/2008/03/24/1120079.html
今天看到專案程式碼裡有這條語句,不懂select 1 from XXXXXXX裡的1是何意,查了一番才知道:
1、select 1 from mytable;與select anycol(目的表集合中的任意一行) from mytable;與select from mytable 作用上來說是沒有差別的,都是檢視是否有記錄,一般是作條件用的。select 1 from 中的1是一常量,查到的所有行的值都是它,但從效率上來說,1>anycol>,因為不用查字典表。
2、檢視記錄條數可以用select sum(1) from mytable;等價於select sum(*) from mytable;
3、實際專案SQL:
select c_insrnc_cde, c_nme_cn
from t_prd_ins a
where a.c_prod_no = '01'
and not exists
(select 1
from (select d.c_insrnc_cde, a.c_nme_cn
from t_prd_ins a,
tb_bas_ply_policy_rdr c,
tb_bas_ply_policy_rdr_list d
where a.c_insrnc_cde = d.c_insrnc_cde
and d.c_policy_id = c.c_policy_id
and d.c_seq_no = c.c_seq_no
and a.c_kind_no = '01'
and c.c_dpt_cde = '101' ----機構樹中取出機構
and c.c_prod_no = '01'
and c.t_effc_tm and c.t_expd_tm >= TO_DATE('2007-9-5', 'YYYY-MM-DD')
and c.c_work_mode = '00501'
and c.c_reach_area = '00701'
) t
where t.c_insrnc_cde = a.c_insrnc_cde);
二、http://blog.csdn.net/wangyihust/archive/2009/02/05/3863758.aspx
測試場景:(轉自網路文獻)
table表是一個資料表,假設表的行數為10行。
1:select 1 from table 增加臨時列,每行的列值是寫在select後的數,這條sql語句中是1
2:select count(1) from table 不管count(a)的a值如何變化,得出的值總是table表的行數
3:select sum(1) from table 計算臨時列的和
在SQL SERVER中用 1 測試了一下,發現結果如下:
1:測試結果,得出一個行數和table錶行數一樣的臨時列(暫且這麼叫,我也不知道該叫什麼),每行的列值是1;
2:得出一個數,該數是table表的行數;
3:得出一個數,該數是table表的行數;
然後我又用“2”測試,結果如下:
1:得出一個行數和table錶行數一樣的臨時列,每行的列值是2;
2:得出一個數,該數是table表的行數;
3:得出一個數,該數是table表的行數×2的數
然後我又用更大的數測試:
1:得出一個行數和table錶行數一樣的臨時列,每行的列值是我寫在select後的數;
2:還是得出一個數,該數是table表的行數;
3:得出一個數,該數是table表的行數×寫在select後的數
綜上所述:第一種的寫法是增加臨時列,每行的列值是寫在select後的數;第二種是不管count(a)的a值如何變化,得出的值總是table表的行數;第三種是計算臨時列的和。
語句if not exists(select 1 from deleted d join inserted i on d.ID=i.ID
and d.col1=1 and i.col1=2)
if not exists 如果不存在
(..)這裡該是驗證更新,更新前的id等於更新後的id,並且更新前col的值是1,更新後的值是2
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/430/viewspace-2807379/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- java.lang.UnsatisfiedLinkError: F:\apache-tomcat-7.0.62\bin\tcnative-1.dll: Can't load IA 32-bit .dlJavaErrorApacheTomcat
- 啟動idea報Failed to load JVM DLL..jre\bin\jvm.dll,If you already have 32-bit JDK installedIdeaAIJVMJDK
- 啟動intellij時報錯Failed to load JVM DLL..jre\bin\jvm.dll,If you already have 32-bit JDK installedIntelliJAIJVMJDK
- rman: can't open target
- 64bit CPU 知識 (IA32,IA64,EM64T,AMD64)
- mail can't send title on SolarisAI
- [轉] The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missingAPI
- datastage7.5 can't view data?ASTView
- IDEA 報錯Failed to load JVM DLLIdeaAIJVM
- TypeError: can‘t concat str to bytesError
- Mongoose can't update timestampGo
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- mysql遇到Variable can’t be set to the value of ‘NULL’MySqlNull
- Oracle dbconsole can't startOracle
- mysql can't start dues to the disk space is fullMySql
- load d3dcompiler_46.dll failed3DCompileAI
- redis : Can't save in background: fork: Cannot allocate memoryRedis
- Supervisor 解決 can't find command *
- eslint --fix 報錯 can't not find modulesEsLint
- mysql [ERROR] Can't create IP socket: Permission deniedMySqlError
- 解決can't find -lGL的問題
- MongoDB報錯:"assertion" : "can't map file memory"MongoDB
- RMAN的"rman: can't open target"錯誤
- 啟動idea時, 碰到 "failed to load JVM DLLIdeaAIJVM
- Could not load dynamic library ‘cublas64_10.dll‘; dlerror: cublas64_10.dll not found或者缺少DLL問題Error
- 32bit Pl/SQL developer 報can not find oci.dllSQLDeveloper
- You can‘t specify target table ‘Person‘ for update in FROM clause
- WIN配置git 配置後失敗 can't be establishedGit
- cordova 解決can’t not find moudle " plugman platform ios"PlatformiOS
- 異常: 'ascii' codec can't encode charactersASCII
- [jenkins]Can’t connect to window server – not enough permissionsJenkinsServer
- can't create PID file問題處理
- pycharm啟動時候出現 fail to load jvm dllPyCharmAIJVM
- Troubleshooting when srvctl can't start RAC instance, but sqlplus can start it [ID 844272.1]SQL
- 【Intellij IDEA】開啟IDEA時錯誤:Failed to load JVM DLL ...\jvm.dllIntelliJIdeaAIJVM
- multiprocessing pool AttributeError: Can't get attribute 'func'Error
- mysql中You can’t specify target table for update in FROM clMySql
- mha_replication_check Can't exec "mysqlbinlog": No such file or directoryMySql