occi 连接数据库createconnection的有关问题

occi 连接数据库createconnection的问题
因为工作需要,初次接触oracle occi。有以下疑问,希望各位能帮忙看下?
像下面这样的 (3个参数):

sprintf(ConnBuf,"Provider=OraOLEDB.Oracle.1;Password=%s;Persist Security Info=True;User ID=%s;Data Source=%s",pwd,usr,db);
try
{
cn->Open(ConnBuf, strMissing, "",adConnectUnspecified);

    }

用occi可以这样:

con = env->createConncetion(usr, pwd, db);



但是像这样的(4个参数) 怎么做啊

sprintf(ConnBuf,"Provider=OraOLEDB.Oracle.1;Data Source=%s;"
         "Initial Catalog=%s;User Id=%s;Password=%s;", sv,db,usr,pwd);
try
{
cn->Open(ConnBuf, strMissing, "",adConnectUnspecified);

    }


看occi文档(10G) 结果更不明白了?怎么只有2个参数?还是说应为版本不同啊?occi 连接数据库createconnection的有关问题
或者谁能给我一份更详细的文档吗 我是11G的
------解决方案--------------------
还有个问题 occi中有 movefirst、movelast这样的函数吗 
--------------------------------------------------------------------------
没有。只有ResultSet->next()向后逐行遍历

movefirst可以重新执行获取结果集获得等效结果   movelast没有办法,只有逐行遍历。