Step by Step TimesTen-- 使用ODBC訪問TimesTen資料庫C++篇(一個例子)(2)
接上篇Step by Step TimesTen-- 使用ODBC訪問TimesTen資料庫C++篇(一個例子)(1) http://space.itpub.net/81/viewspace-438946
switch (ret)
{
case SQL_SUCCESS:
fprintf(stderr, "*** %s\n"
"*** ODBC Error/Warning = %s, "
"TimesTen Error/Warning "
" = %d\n",
szErrorMsg, szSqlState,
pfNativeError);
break;
case SQL_SUCCESS_WITH_INFO:
fprintf(stderr, "*** Call to SQLError"
" failed with return code of "
"SQL_SUCCESS_WITH_INFO.\n "
"*** Need to increase size of"
" message buffer.\n");
break;
case SQL_INVALID_HANDLE:
fprintf(stderr, "*** Call to SQLError"
" failed with return code of "
"SQL_INVALID_HANDLE.\n");
break;
case SQL_ERROR:
fprintf(stderr, "*** Call to SQLError"
" failed with return code of "
"SQL_ERROR.\n");
break;
case SQL_NO_DATA_FOUND:
break;
} /* switch */
} /* while */
}
}
Makefile:
g++ -g -o test -I/ora/TimesTen/tt70/include test.cc -lrt -lttclient -lstdc++
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81/viewspace-438948/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- TIDB DM資料同步step by stepTiDB
- Vue.js SSR Step by Step (2) – 一個簡單的同構DEMOVue.js
- 2.4.14 Step 13: 備份資料庫資料庫
- 2.4.10 Step 9:手工建立資料庫資料庫
- React Step by StepReact
- 10GR2下建立物理standby STEP BY STEP
- Command 模式 Step by Step模式
- 阿里雲數倉Dataworks資料匯出到檔案step by step阿里
- Linkerd 2.10(Step by Step)—使用 Debug Sidecar,注入除錯容器來捕獲網路資料包IDE除錯
- Linkerd 2.10(Step by Step)—使用 Kustomize 自定義 Linkerd 的配置
- Promise的實現(step by step)Promise
- Shell Step by Step (4) —— Cron & Echo
- 使用Eclipse 安裝 構建Maven專案 (step-by-step)EclipseMaven
- Step by Step 安裝 BizTalk Server 2009Server
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- 單步除錯 step into/step out/step over 區別詳解除錯
- 【記憶體資料庫】TimesTen記憶體資料庫
- C#人臉識別入門篇-STEP BY STEP人臉識別--入門篇C#
- 實時 Linux 抖動分析 Step by stepLinux
- ABP應用開發(Step by Step)-下篇
- ABP應用開發(Step by Step)-上篇
- [完結] Learn Vue 2: Step By Step [Laracasts 免費視訊中文語音]VueAST
- [完結] Learn Vue 2: Step By Step [Laracasts 免費影片中文語音]VueAST
- Linkerd 2.10(Step by Step)—2. 自動化的金絲雀釋出
- Linkerd 2.10(Step by Step)—將 GitOps 與 Linkerd 和 Argo CD 結合使用GitGo
- Linkerd 2.10(Step by Step)—多叢集通訊
- Sql Server Linux(Redhat) Distributed Availability Group Setup — step by stepSQLServerLinuxRedhatAI
- Step-by-step,打造屬於自己的vue ssrVue
- Adaboost Algorithm StepGo
- 2.4.4 Step 3: 選擇資料庫管理員的身份驗證方法資料庫
- 深度學習之step by step搭建神經網路深度學習神經網路
- Linkerd 2.10(Step by Step)—設定服務配置檔案
- Linkerd 2.10(Step by Step)—4. 如何配置外部 Prometheus 例項Prometheus
- 實現 VUE 中 MVVM - step2 - DepVueMVVM
- [20181224]使用odbc連線oracle資料庫.txtOracle資料庫
- Vue的step步驟條的使用Vue
- 如何在step7上使用SCL
- HTML step 屬性HTML
- SAP WM 能否使用LT12去確認一個需要2-step法確認的TO單?