Home » Developer & Programmer » Forms » run sql file from from forms (10g)
run sql file from from forms [message #498032] Tue, 08 March 2011 05:25 Go to next message
muradjuber
Messages: 60
Registered: August 2010
Member
dear all

i want to run sql file by forms

is there command do that
Re: run sql file from from forms [message #498034 is a reply to message #498032] Tue, 08 March 2011 05:27 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Use host to run it via sqlplus?

It'd help if told us what this sql file was supposed to do.
Re: run sql file from from forms [message #498035 is a reply to message #498034] Tue, 08 March 2011 05:28 Go to previous messageGo to next message
muradjuber
Messages: 60
Registered: August 2010
Member
i want to execute sql file on my desktop

and i want to make it by forms not by sql plus
Re: run sql file from from forms [message #498039 is a reply to message #498035] Tue, 08 March 2011 05:56 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Make a stored procedure (based on a SQL file you are talking about) and call the procedure from a form.

Form, itself, is not capable of executing SQL files stored on a disk; it can, though, run them through SQL*Plus (but you don't want to do that. Why not?).
Previous Topic: Reading and Writing data in a text file.
Next Topic: Populate List - Dynamically
Goto Forum:
  


Current Time: Mon Sep 16 13:07:53 CDT 2024