Is it possible, if so how

I have a small requirement like.
I need to write a "C" function which takes two parameters.one is a sql script file and another is the out file that contains the result after execution of sql script.
here my doubt is whether we can run the *.sql directly without actually breaking the *.sql file into sqlstatements.
Any pointers...
Thanks
Ravi

No client API that I'm aware of allows you to pass in entire SQL files. Your application could go to a shell and call SQL*Plus, however, which does take SQL files as arguments.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Disk utility can't repair the Macintosh HD, asking toback up all files as possible? and how to  reformat the disk?

    disk utility can't repair the Macintosh HD, asking toback up all files as possible? and how to  reformat the disk?

    Some problems can indeed be fixed this way. But working from Recovery_HD or Disk Warrior DVDs and working in the restricted environment those provide can be difficult. You can literally spend days working on this problem (while your regular work is unavailable) only to discover the old drive is unsalvageable.
    There is no way to know up front whether you are facing a major Hardware failure or a minor software glitch, or something in between. Often you are forced to work from the drive you no longer trust. I continue to recommend you do this work from a different, fully functioning Mac OS X booted from a different drive.
    If you have had the foresight to (as The hatter often recommends) clone your virgin install onto another drive for use in such situations, you will be able to recover from such problems in record time. If not, my previous recommendations stands:
    Buy a new Drive. Or  two. Install Mac OS X from scratch on a new drive, and get your Mac running again. Later, you can use the full power of Mac OS X to attempt to rescue your data, if needed. Then Zero the old drive, to see if it can hold data again reliably.
    If the old drive eventually provides some needed data, and is salvageable, Merry Christmas.

  • I am trying to copy and paste a 734mb film on to an 8GB usb but it keeps saying "It cannot copy as there isn't enough space". How is this possible? And how do I put the film on the usb?

    I am trying to copy and paste a 734mb film on to an 8GB usb but it keeps saying "It cannot copy as there isn't enough space". How is this possible? And how do I put the film on the usb?

    Look at the USB stick in Disk Utility and check whether it may be partitioned or have other software on it taking up space.

  • Is it possible to see how many COGI errors I have cleared in previous month and in which transaction I can able to see that record?

    Is it possible to see how many COGI errors I have cleared in previous month and in which transaction I can able to see that record?

    Mukundan,
    Refer Below SAP Note 1868084 - FAQ: Transaction COGI
    Question:
    Is it possible to log the actions in transaction COGI?
                  Answer:
    SAP Note 309050 provides a modification but it can only be used temporarily. Also refer to SAP Note 1894587 in this context. It provides a report for displaying and deleting the data records in the log table AFFWPRO.
    BR
    KK

  • Is it possible to see how many hours an iMac has been "running"?

    Is it possible to see how many hours an iMac has been "running"?

    From the Finder, click the Apple logo at top left, choose About This Mac and then from the window that opens choose System Report.
    Scroll down to the Software heading and in the System Siftware overview, you'll see Time since boot.

  • Want to install that app.is it possible,if yes how to?

    I purchased an ipad 4 in uae without facetime,now I am in India and want to install that app.is it possible,if yes how to?

    Hssilam wrote:
    I purchased an ipad 4 in uae without facetime,now I am in India and want to install that app.is it possible,
    Sorry... No.
    FaceTime has been permanently Disabled on that Device
    See this Discussion  >  https://discussions.apple.com/message/15858866

  • I like to play windows videos *mwv on my MacPro, it is possible and when how?

    I like to play windows videos *mwv on my Computer, it is possible and when how?

    Try VLC, seems to be the most simple and compatable player i know for both mac and pc.
    http://www.videolan.org/vlc/

  • Is it possible to estimate how long battery will last in 5th Gen Nano based on playing time?

    I just got a 5th gen ipod nano.  It looks like it was never used.  I tested the ipod as Apple suggests --It charges enough to play for 13 hours, not 24.  Is it possible to estimate how long the battery will last from this point?  Does the ability of the battery to take a charge fall off gradually, or is it a quick process?  Thanks.

    I just got a 5th gen ipod nano.  It looks like it was never used.  I tested the ipod as Apple suggests --It charges enough to play for 13 hours, not 24.  Is it possible to estimate how long the battery will last from this point?  Does the ability of the battery to take a charge fall off gradually, or is it a quick process?  Thanks.

  • Is it possible (if so: how) to store an i-Photo file (with an average of 50 photos per file) onto a USB-stick, in a way that the file with the heading (e.i.'holidays' or 'work') remains in tact? If I click 'export' all photos are stored separately. Thanks

    I am trying to store I-Photo files onto a USB-stick, keeping the file (with an average of 50 photos) in tact. Is this possible and if so: how, please? I have tried clicking on 'export' and then click on the name of the USB-stick. But by doing this all photos seem to be stored separately, under their image number - and not under the file name. Which makes it near impossible to easily refind the photos on the USB-stick.
    Thanks for advice

    Dear Alex,
    If I understand correct your post you are confused with difference of loading procedure between real smartcard and SDK simulation. It is a fact that simulation uses its own loader application and smartcards usually use GlobalPlatform card manager application. To load CAP file to the GP compliant card it is necessary to use sequence of commands such as INSTALL(load),LOAD,INSTALL(install+make_selectable). I do not know any specific java API to perform this loading with any reader. But there are few software programs from various card producers. This software is usually distributes toghether with smartcards.
    Yours
    Dmitri

  • I can't open firefox on an old computer, but would still like to access my firefox bookmarks on that computer, is that possible, if so, how?

    My old computer is infected with a virus that won't allow me to open Firefox -or Windows Explorer, for that matter- but since I'm no longer using that computer, that isn't an issue. However, I do need some bookmarks from the old computer. Is it at all possible to find them despite these handicaps? If so, how? I believe I was running Firefox 3 or 4 on the old comp.

    See http://kb.mozillazine.org/Software_Update (Software Update not working properly)
    Remove the files in the updates and updates\0 folder:
    *C:\Documents and Settings\<user>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates
    *(%USERPROFILE%\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox\updates)
    *C:\Program Files\Mozilla Firefox\updates
    *Do a clean reinstall and download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    *Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer. Do not remove personal data when uninstalling.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    You can skip the step to create a new profile, that is not necessary for this issue.
    See http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Is it possible to see how many times a component has been used in our websites?

    Hi,
    we currently have 3 websites running and I don't know if a component we created is actually in use.
    Is there a way to find this out?
    Thanks,
    Giulio

    Hi kasq,
    thanks for your quick answer...I tried
    path=/apps/mywebsite/components/scrollable/html.jsp
    and the result was
    XPath query
    /jcr:root/apps/upc-cablecom-ch/components/scrollable/html.jsp//*
    Filtering predicates
    Results
    Number of hits: 1
    Time: 0.16 seconds
    /apps/mywebsite/components/scrollable/html.jsp/jcr:content  (html,  json)
    So how do I have to read it? I see 1 number of hits, that I assume it's how many times it's used from other files...but how do I actually see how many times it's used on all our pages?
    Sorry for this newbie question, but only now I'm getting deeper in CQ5
    Thanks,
    G

  • How do i add purchased apps, songs and Tv from one i tunes account on a laptop to my i phone, WITHOUT having to delete all of my items downloaded from my other account on my home PC?  If it is not possible, anybody know how i'd go about getting a refund?

    When i link the phone to the laptaop, it shows all of the stuff stored on it, but will not let me add any more downloads without first deleting eveything off it - which defeats the purpose.  Any ideas as to how i can add these new downloads to my phone without wiping everything else??  Any help would be greatly appreciated!!!

    Thats great Allan - only recently purchased an external drive so will try to transfer via that, or borrow a cable and try and link them up.
    Its weird as it would let me use the shared files function to shift the new aps onto the phone, but not the audio or video files.  Will give the suggested solutions ago and hopefully that'll do the trick.
    Really appreciate your assistance - 
    warm regards
    Lee

  • When I open Firefox, the Google screen comes on. Then I type the first letter of my search and up pops up possible searches. How can I delete some of these choices?

    How can I block some of the past searches on Google when I start to type the first few letters of past searches?

    If you want to remove saved form data from a drop down list then use these steps:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also Clear Recent History
    *https://support.mozilla.org/kb/Clear+Recent+History

  • Possible to check how much time an update statement on a table would take ?

    Hello @all
    I have a table with a fragmented Index, the table has an actula "user_updates" from 226'699.
    How can i find out how much time an update on this table takes ?
    i would like to check if there is any performance increase when i regroup the index (rebuild), cause the index has a fragementation of 85% now... (or should i delete the index completely) cause there are no user_seeks... only user_updates on the table...
    and i thought that indexes only makes sense if users are reading from the table... am i wrong ? (cause on every update from the table, the index (indexes) have to be updated too...
    Thanks and Regards
    Dominic

    Rebuilding the index will not likely result in a modification be quicker. At least not more than marginal. In fact, it might wven be slower, since if you currently have space on the index page for the new row and then rebuild so you *don't* have space then
    the index rebuild will make that update be slower (at least for the cases where you get page splits). 
    However if the index isn't used to find rows (any of the other three columns), then you have an index which only cost you and doesn't help you!
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Tibor, check out this forum thread:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/64ad4f52-2fd8-4266-b4a4-5657c8870246/needed-more-answerers?forum=sqlgetstarted
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • My macbook is getting hot pretty quickly. What are the possible causes?  How can I tell if it is mechanical vs. dust?

    My Macbook Pro is getting hot pretty quickly. What are the possible causes?  I have had the machine about 3 years.

    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Install iStat Menus 4.05 to provide actual temperature readings and fan speeds.

  • Myself and my partner both have ipods and want to use the same computer for them is that possible if so how please

    we are trying to use 2 different ipods on the same computer but it says we have to delete the music and  re format cos the music doesnt belong that ipod evertime we connect another ipod

    Yes. See:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

Maybe you are looking for