Yii Framework Forum: SP set Cursor null, how can know? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

SP set Cursor null, how can know? Rate Topic: -----

#1 User is offline   jerry2801 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 504
  • Joined: 18-November 09

Posted 17 March 2010 - 05:49 AM

$conn = Helper::createOciConnect();
$cur = oci_new_cursor($conn);
$statement = oci_parse($conn,$sql);
oci_bind_by_name($statement,'CR',$cur,-1,OCI_B_CURSOR);
oci_execute($statement);
oci_execute($cur); // if SP set CR null, this line will take error


in the SP,
cr:=null;

how can i do?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users