锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久99国产精品久久99小说,91久久精品91久久性色,久久99精品久久久久久噜噜http://m.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94227鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭Mon, 24 Aug 2009 02:37:00 GMThttp://m.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94227
]]>- re: example1http://m.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94226鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭Mon, 24 Aug 2009 02:36:00 GMThttp://m.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94226
]]> - re: CString,string,char*涔嬮棿鐨勮漿鎹?/title>http://m.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704aliaoaliaoWed, 22 Oct 2008 08:26:00 GMThttp://m.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704
strcpy(char,CString,sizeof(char)); 榪欓噷鐨勫弬鏁版槸涓嶆槸鍐欏熶簡錛?

]]> - re: OTL 4.0, OTL concepthttp://m.shnenglu.com/robinson119/archive/2008/10/14/30435.html#63979xiao_xiaoxiao_xiaoTue, 14 Oct 2008 11:18:00 GMThttp://m.shnenglu.com/robinson119/archive/2008/10/14/30435.html#63979
]]> - re: OTL 4.0, OTL concepthttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58141harveyharveyWed, 06 Aug 2008 06:28:00 GMThttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58141#define OTL_ODBC
鑰屼笉鏄集錛詫肌錛o棘錛ョ殑渚嬪瓙
鍥犱負otl + oracle鐨勪緥瀛愮綉涓婇潪甯稿錛?
鑰宱tl + sqlServer鐨勪緥瀛愮綉涓婂緢灝戯紝
鍦ㄨ繖甯屾湜鑳借搗鍒版姏鐮栧紩鐜夌殑浣滅敤銆?img src ="http://m.shnenglu.com/robinson119/aggbug/58141.html" width = "1" height = "1" />
]]> - re: OTL 4.0, OTL concepthttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58140harveyharveyWed, 06 Aug 2008 06:25:00 GMThttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58140
浠ヤ笂鏄疧TL涓皟鐢ㄥ瓨鍌ㄨ繃紼嬶紝寰楀埌鍑哄弬鐨勪緥瀛愶紝錛即錛鏄庝功閲屾槸鏈夌殑錛屼絾鎴戜篃鎵句簡寰堜箙鎵嶆壘鍒扮殑銆傜綉鍧鏄http://otl.sourceforge.net/otl3_ex24.htm
闇瑕佹敞鎰忎互涓?
otl_stream o(1, stored procedure call
"{call my_proc("
銆銆銆銆銆銆銆" :A<int,inout>, " //
銆銆銆銆銆銆銆" :B<char[31],out>, " //
銆銆銆銆銆銆 銆" :C<char[31],in> " //char[31], 鍜宨n涔嬮棿涓嶈兘鏈夌┖鏍?
銆銆銆銆銆銆銆")}",
銆銆銆銆銆銆銆db);

]]> - re: OTL 4.0, OTL concepthttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58139harveyharveyWed, 06 Aug 2008 06:20:00 GMThttp://m.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58139
Source Code
#include <iostream>using namespace std;#include <stdio.h>#define OTL_ODBC_MSSQL_2005 // Compile OTL 4/ODBC, MS SQL 2005//#define OTL_ODBC // Compile OTL 4/ODBC. Uncomment this when used with MS SQL 7.0/ 2000#include <otlv4.h>otl_connect db; // connect objectvoid stored_proc(void)// invoking stored procedure{ otl_stream o(1, // buffer size should be equal to 1 in case of stored procedure call "{call my_proc(" " :A<int,inout>, " " :B<char[31],out>, " " :C<char[31],in> " ")}", // stored procedure call db // connect object ); o.set_commit(0); // set stream auto-commit off since // the stream does not generate transaction o<<1<<"Test String1"; // assigning :1 = 1, :3 = "Test String1" int a; char b[31]; o>>a>>b; cout<<"A="<<a<<", B="<<b<<endl;}int main(){ otl_connect::otl_initialize(); // initialize ODBC environment try{ db.rlogon("uid=scott;pwd=tiger;dsn=mssql"); // connect to ODBC otl_cursor::direct_exec (db, "CREATE PROCEDURE my_proc " " @A int out, " " @B varchar(60) out, " " @C varchar(60) " "AS " "BEGIN " " SELECT @A=@A+1" " SELECT @B=@C " "END" ); // create stored procedure stored_proc(); // invoking stored procedure } catch(otl_exception& p){ // intercept OTL exceptions cerr<<p.msg<<endl; // print out error message cerr<<p.code<<endl; // print out error code cerr<<p.var_info<<endl; // print out the variable that caused the error cerr<<p.sqlstate<<endl; // print out SQLSTATE message cerr<<p.stm_text<<endl; // print out SQL that caused the error } db.logoff(); // disconnect from the data source return 0;}
Output
A=2, B=Test String1

]]>
韩国三级大全久久网站|
亚洲狠狠久久综合一区77777
|
色狠狠久久综合网|
中文精品久久久久人妻|
麻豆一区二区99久久久久|
aaa级精品久久久国产片|
久久强奷乱码老熟女|
亚洲精品无码久久久久去q
|
看久久久久久a级毛片|
蜜桃麻豆www久久|
2020国产成人久久精品|
久久亚洲国产午夜精品理论片|
亚洲äv永久无码精品天堂久久|
久久亚洲中文字幕精品一区|
成人免费网站久久久|
亚洲人AV永久一区二区三区久久|
国产精品久久久久AV福利动漫|
蜜桃麻豆www久久国产精品|
国产精品一久久香蕉国产线看|
婷婷久久综合九色综合绿巨人|
国内精品久久久人妻中文字幕|
亚洲欧洲精品成人久久奇米网|
久久精品www|
久久国产热精品波多野结衣AV|
亚洲欧美国产精品专区久久|
91久久九九无码成人网站|
国产成年无码久久久久毛片|
国内高清久久久久久|
亚洲性久久久影院|
久久国产成人午夜aⅴ影院|
国产∨亚洲V天堂无码久久久|
久久精品国产亚洲AV忘忧草18|
日日狠狠久久偷偷色综合0|
国产精品久久久久久久午夜片|
香蕉久久夜色精品国产小说|
久久婷婷综合中文字幕|
99久久超碰中文字幕伊人|
99麻豆久久久国产精品免费|
久久久久亚洲AV无码永不|
国产精品美女久久久m|
久久国产精品无码HDAV|