锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久水蜜桃,亚洲图片你懂的,亚洲第一毛片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 鍙戣〃璇勮
]]>
久久精品国产日本波多野结衣| 国产午夜久久影院| 一本色道久久综合狠狠躁| 亚洲国产精品18久久久久久| 日本久久久久亚洲中字幕| 国产精品九九久久精品女同亚洲欧美日韩综合区 | 久久久久国产精品麻豆AR影院 | 99久久精品免费看国产一区二区三区 | 蜜臀av性久久久久蜜臀aⅴ| 亚洲精品国产成人99久久| 久久亚洲欧洲国产综合| 国内精品久久久久影院日本| 国内精品伊人久久久影院| 国产成人无码精品久久久久免费| 伊人久久精品无码二区麻豆| 久久精品国产亚洲精品| 久久亚洲国产中v天仙www| 亚洲狠狠婷婷综合久久久久| 香蕉久久永久视频| 久久午夜综合久久| 国产成人综合久久精品尤物| 91精品国产91久久久久福利| 三上悠亚久久精品| 精品无码久久久久久国产| 国产精品成人99久久久久| 97精品依人久久久大香线蕉97| 四虎影视久久久免费| 久久青青国产| 九九久久精品无码专区| 精品人妻伦一二三区久久| 久久免费观看视频| 国内精品伊人久久久久影院对白| 伊人久久大香线焦综合四虎| 久久r热这里有精品视频| 亚洲国产精品久久久久婷婷老年| 999久久久免费精品国产| 国产精品久久久久AV福利动漫| 国产精品对白刺激久久久| 亚洲天堂久久精品| 欧美激情精品久久久久久久九九九| 青青久久精品国产免费看|