Re: operatins sys command

From: Álvaro Palma Aste <queria_direccion_at_el.perla.invalid>
Date: Thu, 10 Oct 2002 01:16:30 +0000 (UTC)
Message-ID: <ao2kde$i9d$1_at_localhost.localdomain>


Karsten Farell escribió:
>Ammar wrote:
>> hii
>> im new to pro c .. i want to know dat how can we call an operating
>> system command from proc program .... actually i wan to run sqlldr
>> from the pro c program without goin to the command prompt . ill be
>> very gr8 ful to you
>> thanks

And why don´t you just make the upload using fprintf and SQL commands from Pro*C, instead of accesing host commands suchs as SQL*Loader? I´m not pretty sure, but I think that using C functions is faster than running host commands

>Pro*c is just a preprocessor to a normal c program. It takes embedded
>SQL commands and converts them to the appropriate function calls.
>Everywhere else it's just regular c. You call the operating system just
>like you do in normal c -- for example, with the system() function.

-- 
Atte.
Álvaro Palma Aste
******************************************************
It's the only form of protest they're allowed 
I've seen their silent faces scream so loud 
If they were to speak these words they'd go missing too 
Another woman on a torture table what else can they do

Sting - They Dance Alone...
Received on Thu Oct 10 2002 - 03:16:30 CEST

Original text of this message