oci simple case of
if ((time ((time_t *) 0)-begin_time)> 60) (
break;
)
)
/ / Printf ( "The sum is% d \ n", sum);
/ / Disconnect
error_proc (errhp, OCILogoff (svchp, errhp));
/ / Sucess + +;
/ / If ((time ((time_t *) 0)-begin_time)> 60) (
/ / Break;
/ /)
/ / / / Printf ( "time [% lu] \ n", time ((time_t *) 0));
/ /)
printf ( "error: [% u] [% u], success: [% d] \ n", errora, errorb, sucess);
fflush (stdout);
/ / Pthread_exit (NULL);
)
int main (int argc, char * argv []) (
/ / Signal (SIGPIPE, SIG_IGN);
int i = 0;
int max = atoi (argv [1]) - 1;
for (; i <max; i + +) (
if (fork () == 0) (
break;
)
)
fun ();
while (1) (
sleep (100);
)
return 0;
)
Related Posts of oci simple case of
-
How to obtain the trace file name
Sql_trace/10046 such as when we use to carry out the process of tracking case, the trace file to generate. Trace file name from the following components: <sid> _ora_ <pid>. trc Users to track the following script file name: For Unix: For ...
-
Oracle HowTo: a die to determine the progress of affairs Recovery
Encountered a problem yesterday, at the opening of the serial SMON is restored, for a die affairs, how to observe the progress of their recovery. Service has been unable to die because of v $ transaction through to observe, so must be carried out to ...
-
Oracle HowTo: determine whether a resumption of the progress of death Affairs
Encountered a problem yesterday in the opening of the serial SMON is restored, for a death matters, how to observe the progress of their recovery. Service has been unable to die because of v $ transaction through to observe, so must be carried out to ...
-
Oracle Sysdba certification authority management
<br /> Outlined one at ORACLE has a special level of competence - sysdba authority, sysdba privileges ORACLE systems have the highest authority, has opened the database, turn off the database, restore database, such as advanced permissions, the ...
-
Detailed: database name. Instance name. ORACLE_SID. Database name
Detailed: database name, instance name, ORACLE_SID, database name, global database names, service names and hand the script to create oracle database Database name, instance name, database name, global database names, service names, This is easy for some
-
Oracle10g Network Configuration
1.Oracle Net Listener configuration listener configuration file is $ ORACLE_HOME / network / admin / listener.ora: The following format: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = <IP/dbserver_name>) (PORT = 1521))) 2. Client <br /&g ...
-
LISTENER and EZCONNECT
listener =========================== Listener should be noted that there are two methods Register: Dynamic and Static Registration Registration Registration <br /> dynamic, that is, when the listener configuration, Do not need to configure stat ...
-
ProC will select the data on the two-dimensional array
Examples are as follows: (Over)
-
use sqlldr 1 Introduction
The customer is always asked for two days to a number of temporary table to import text data, sql * loader is also not very familiar with the FREE today to sum up. General to set up two files: Control files and data files, if the data can also be les ...
-
Oracle in the relationship between User and Schema
If we want to know the database and the User What is the relationship between Schema, we must first know about User and Schema database What is the concept in the end. In SQL Server2000 in architecture because of the reason, User and Schema there is ...













Leave a Reply