锘??xml version="1.0" encoding="utf-8" standalone="yes"?>狠狠88综合久久久久综合网
,亚洲欧美一级久久精品,久久九九久精品国产免费直播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
]]>- 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
]]> - re: CString,string,char*涔嬮棿鐨勮漿鎹?/title>http://www.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704aliaoaliaoWed, 22 Oct 2008 08:26:00 GMThttp://www.shnenglu.com/robinson119/archive/2008/10/22/22870.html#64704
strcpy(char,CString,sizeof(char)); 榪欓噷鐨勫弬鏁版槸涓嶆槸鍐欏熶簡錛?

]]> - 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
]]> - 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" />
]]> - 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);

]]> - 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

]]>
久久这里只有精品18|
久久综合久久鬼色|
激情伊人五月天久久综合|
久久精品www人人爽人人|
狠狠狠色丁香婷婷综合久久五月|
精品久久777|
久久亚洲国产精品五月天婷|
少妇熟女久久综合网色欲|
久久久精品人妻一区二区三区蜜桃
|
蜜臀av性久久久久蜜臀aⅴ|
久久亚洲高清观看|
久久人人爽人人人人爽AV|
亚洲国产成人久久精品影视
|
亚洲AV无码久久精品成人|
国产亚洲美女精品久久久久狼|
欧美久久天天综合香蕉伊|
精品国产91久久久久久久|
日本五月天婷久久网站|
国产99久久久国产精品~~牛
|
国产免费久久精品99re丫y|
欧美综合天天夜夜久久|
欧美黑人又粗又大久久久|
久久婷婷五月综合色奶水99啪
|
国产综合精品久久亚洲|
久久久久人妻精品一区二区三区
|
三级片免费观看久久|
四虎国产精品免费久久5151|
久久综合亚洲欧美成人|
亚洲精品美女久久久久99小说|
国产精品久久国产精品99盘|
久久久无码精品亚洲日韩蜜臀浪潮|
久久午夜夜伦鲁鲁片免费无码影视
|
热re99久久精品国产99热|
久久99精品久久久久子伦|
国内精品久久久久影院日本|
久久国产劲爆AV内射—百度|
久久人妻少妇嫩草AV蜜桃|
久久SE精品一区二区|
性欧美大战久久久久久久久|
色欲久久久天天天综合网|
亚洲精品乱码久久久久66|