锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久99国产精品久久99小说,91久久精品91久久性色,久久99精品久久久久久噜噜http://www.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94227鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭Mon, 24 Aug 2009 02:37:00 GMThttp://www.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94227

鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭 2009-08-24 10:37 鍙戣〃璇勮
]]>
re: example1http://www.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94226鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭Mon, 24 Aug 2009 02:36:00 GMThttp://www.shnenglu.com/robinson119/archive/2009/08/24/30436.html#94226

鎻愪氦澶辮觸鍚?鍙互閫氳繃鈥滄仮澶嶄笂嬈℃彁浜も濇仮澶嶅垰鍒氭彁浜ょ殑鍐呭 2009-08-24 10:36 鍙戣〃璇勮
]]>
re: CString,string,char*涔嬮棿鐨勮漿鎹?/title><link>http://www.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704</link><dc:creator>aliao</dc:creator><author>aliao</author><pubDate>Wed, 22 Oct 2008 08:26:00 GMT</pubDate><guid>http://www.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704</guid><description><![CDATA[5 CString to char * <br> <br>strcpy(char,CString,sizeof(char)); 榪欓噷鐨勫弬鏁版槸涓嶆槸鍐欏熶簡錛?<br><img src ="http://www.shnenglu.com/robinson119/aggbug/64704.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/robinson119/" target="_blank">aliao</a> 2008-10-22 16:26 <a href="http://www.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>re: OTL 4.0, OTL concepthttp://www.shnenglu.com/robinson119/archive/2008/10/14/30435.html#63979xiao_xiaoxiao_xiaoTue, 14 Oct 2008 11:18:00 GMThttp://www.shnenglu.com/robinson119/archive/2008/10/14/30435.html#63979

xiao_xiao 2008-10-14 19:18 鍙戣〃璇勮
]]>
re: OTL 4.0, OTL concepthttp://www.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58141harveyharveyWed, 06 Aug 2008 06:28:00 GMThttp://www.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58141#define OTL_ODBC

鑰屼笉鏄集錛詫肌錛o棘錛ョ殑渚嬪瓙

鍥犱負otl + oracle鐨勪緥瀛愮綉涓婇潪甯稿錛?
鑰宱tl + sqlServer鐨勪緥瀛愮綉涓婂緢灝戯紝

鍦ㄨ繖甯屾湜鑳借搗鍒版姏鐮栧紩鐜夌殑浣滅敤銆?img src ="http://www.shnenglu.com/robinson119/aggbug/58141.html" width = "1" height = "1" />

harvey 2008-08-06 14:28 鍙戣〃璇勮
]]>
re: OTL 4.0, OTL concepthttp://www.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58140harveyharveyWed, 06 Aug 2008 06:25:00 GMThttp://www.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);


harvey 2008-08-06 14:25 鍙戣〃璇勮
]]>
re: OTL 4.0, OTL concepthttp://www.shnenglu.com/robinson119/archive/2008/08/06/30435.html#58139harveyharveyWed, 06 Aug 2008 06:20:00 GMThttp://www.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


harvey 2008-08-06 14:20 鍙戣〃璇勮
]]>
久久久人妻精品无码一区 | 久久天天躁狠狠躁夜夜2020老熟妇| 久久国产精品久久| 欧洲国产伦久久久久久久| 久久久久免费精品国产| 99国产欧美久久久精品蜜芽| 国产真实乱对白精彩久久| 青草国产精品久久久久久| 国产精品午夜久久| 亚洲AV无码一区东京热久久| 久久本道久久综合伊人| 欧洲成人午夜精品无码区久久| 久久精品成人影院| 三上悠亚久久精品| 久久久久亚洲av成人网人人软件| 99久久人人爽亚洲精品美女| 日本强好片久久久久久AAA| 婷婷久久精品国产| 国产精品成人99久久久久91gav| 麻豆一区二区99久久久久| 久久精品国产乱子伦| 婷婷久久综合九色综合98| 久久精品99久久香蕉国产色戒| 免费一级做a爰片久久毛片潮| 欧美伊香蕉久久综合类网站| 久久99国产综合精品| 久久综合给合久久国产免费 | 欧美粉嫩小泬久久久久久久 | 久久婷婷五月综合97色直播| 欧美亚洲另类久久综合| 国产亚洲色婷婷久久99精品| 久久亚洲精品成人AV| 亚洲国产另类久久久精品黑人| 精品国产99久久久久久麻豆| 久久人人爽人人爽人人av东京热 | 亚洲中文久久精品无码ww16| 久久亚洲AV成人无码软件| 四虎影视久久久免费观看| 一本一本久久a久久精品综合麻豆| 欧美精品丝袜久久久中文字幕| 精品无码久久久久久久久久|