Question

Asked on 2003-03-31 at 07:14:50ID: 25460667

Call SQLLDR from a PL/SQL

by: glurrea50

Rating8.0Very Good

Hi, all

I need to call SQLLDR from a servlet. I was trying this by using Runtime class, but I can't do that because the user running the JVM doesn't have S.O. execution privileges over SQLLDR command, and I don't want to grant this kind of privileges, security reasons, you understand.

So, calling a PL/SQL from Java it seems like the right approach, but, can I call SQLLDR from a PL/SQL? is there an alternative to SQLLDR in PL/SQL?

Any help or thought about a way to do this, will be very helpful!!!

Thanks in advance

P.S. I will give you 250 points, but I can't buy more points right now and I only have 135

  1. Make sqlldr only load rows that are a certain leng…
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production "CORE 11.1.0.7.0 Production" TNS for IBM/AIX RISC System/6000: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production I…
  2. ORACLE -- SQL -- Inner/Left/Right Joins
    --#1 = below gets 12 rows (SELECT fmrc.fmrescomponentid, fmr.fmcode, fmrc.fmpercentage, fmr.fmentityobjectid FROM fmresourcecmp fmrc INNER JOIN fmresource fmr ON fmrc.fmresourceid = fmr.fmentityobjectid WHERE fmr.fmcode LIKE UPPER('A1454')) --#2 = below gets additional columns, still …
  3. How do I call an Oracle stored procedure from S…
    Hi, I'm trying to call an Oracle stored procedure from SQL server using a linked server and can't get this working. What I've done so far is the following: 1. I created a store procedure SQL_SP1 on SQL server which is on Window server . Then I created a store procedure on Oracle which is on Unix server (Oracle_SP1) 2.…
  4. select data from collection
    Hi, I'm trying to write a procedure including a cursor. This procedure retrieves data from SQL Server DB to write it into csv file and load it into Oracle DB using sqlldr. Since the data sets are very large this approach seems to work fine. But: When compiling the procedure I get the following error: PLS-00642: local collection types not allo…
  5. call external procedure dll from PL/SQL Oracle
    Hi How do i do to call library external in .dll (source code in VB6 or .NET) from PL/SQL Oracle Database 10GR2 with OS Windows Regards Gerid Garcia

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
call can from sql
Participating Experts
3
Solution Grade
A

Replies

 by: andrewst

Posted on 2003-03-31 at 07:36:13ID: 28243404

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: venkotch

Posted on 2003-03-31 at 08:26:54ID: 28243405

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by:

Posted on 2003-04-01 at 07:21:07ID: 28243406

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-01 at 08:16:24ID: 28243407

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-01 at 08:27:09ID: 28243408

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-01 at 08:28:08ID: 28243409

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-01 at 10:43:12ID: 28243410

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-01 at 12:15:23ID: 28243411

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-03 at 11:47:48ID: 28243412

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: schwertner

Posted on 2003-04-03 at 22:46:04ID: 28243413

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: glurrea

Posted on 2003-04-05 at 17:28:05ID: 28243414

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: schwertner

Posted on 2003-04-07 at 01:39:24ID: 28243415

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert