PL/SQL Questions and Answers

Recent IT Questions

41 - 60 of 65

"a program is trying to automatically send e-mail on your behalf" in D2k form

whenever i send mail automatically throug D2K forms&Report I get a Message 'a program is trying to automatically send e-mail on your behalf'. i t will ask for a confirmation yes or no' it goes every time to the user. now if user will click on no then this mail will not go. so i want pl/sql coding...

View Answer   |  Nov 26 2008  4:41 AM GMT
PL/SQL, D2K, D2K Forms
asked by 440638

  45 pts.

do_while how can i use do while statement to delete certain rows based on the rowcount?

how can i use do while statement to delete certain rows based on the rowcount??

View Answer   |  Oct 3 2008  8:34 PM GMT
PL/SQL
asked by Mahe

  10 pts.

PL/SQL - select data - group by- having?

I need to select all names where Value EITHER a or b. how do I do that?/thnks Sample: Num Name Value 1 Ann a 2 Ann b 3 Julia a 4 Julia b 5 Peter a 6 Jnohn b

View Answer   |  Sep 24 2008  8:23 PM GMT
PL/SQL
asked by Julctm

  15 pts.

IN PL/SQL how to declare and use 'STATIC DATA TYPE like C'

Hi All, Can anybody help me to declare a variable having the similar propery of 'STATIC DATA TYPE IN C'. Means declare a variable and initialize it inside the procedure and called the procedure recursively but each time it is initializing the variable. I want any mechanism in PL/SQL that will...

asked by Oracle10g4developers

  5 pts.

I would like to know the procedure name

How to know the procedure name of itself? for example, ------------------------------ create or replace procedure my_proc1 is begin dbms_output.put_line (' procedure name =>' || xxxxxx ) ; end; ----------------------------- i want to print 'my proc1' as procedure name through ...

View Answer   |  Aug 29 2008  1:28 AM GMT
PL/SQL
asked by Gregori

  15 pts.

Inserting without duplicating

I need to create a row and to ensure that the row I'm creating does not already exist. I'm doing this in a pl/sql program.

View Answer   |  Aug 12 2008  5:19 PM GMT
PL/SQL
asked by Marlin32

  5 pts.

job problem

i create a job for updating table and make auto drop after that , the problem that when i create this job, one time it's created and one time not , in regular way , and this is the procedure. begin dbms_scheduler.create_job( job_name => 'DropIp_test', job_type => 'plsql_block', ...

Answer Question   |  Aug 10 2008  11:21 AM GMT
PL/SQL, DBMS_SCHEDULER
asked by Abdo

  5 pts.

how can i resolve oracle error 00103

I am getting the following error when running the below procedure from TOAD. I have ora 9i OS Windoes XP. CREATE OR REPLACE PROCEDURE SP_CALL_PROCEDURE22 (BUSINESS_UNIT1 in varchar2) IS CURSOR C1 IS SELECT BUSINESS_UNIT,VOUCHER_ID,INVOICE_ID,VENDOR_ID,GROSS_AMT FROM PS_VOUCHER WHERE...

View Answer   |  Jul 11 2008  4:36 PM GMT
Oracle error messages, PL/SQL, Oracle 9i
asked by 15091974

  5 pts.

Create a PL/SQL block that will insert new records into the StoreRoom_info table. The PL/SQL block must use substitution variables to prompt the user

Create a PL/SQL block that will insert new records into the StoreRoom_info table. The PL/SQL block must use substitution variables to prompt the user information. Check that the Region_id is between the values 1,2,3,4 or 5. If not found, the block must display a user friendly message notifying the...

Answer Question   |  Jul 8 2008  7:04 AM GMT
Database programming, PL/SQL
asked by VB RD

  45 pts.

How to capture emails with attachments from the POP server using Pl/SQL ?

I am able to retrieve emails from POP server using UTL-TCP package of PL/SQL. I am also able to retrieve Attachment with the email, but the contents of the Attachment are displayed as some random string of characters. Can anyone tell me how can I access the contents of the Attachment in...

Answer Question   |  Jun 18 2008  5:06 PM GMT
POP3, PL/SQL, UTL-TCP
asked by Monk

  10 pts.

What causes ora-00904 error on valid fields when querying across dblink in a cursor

I have a procedure that contains a cursor that runs in a cursor for loop. The select query runs fine over the dblink all by itself, but when I try to compile the procedure, I get the PL/SQL: ORA-00904: invalid identifier on the column names. I can do a describe on the table over the link and all...

View Answer   |  Jun 12 2008  11:18 PM GMT
PL/SQL, Cursor, ORA-00904
asked by Tom msu

  15 pts.

PLSQL based method to capture emails from POP server

I am using UTL_TCP package of PLSQL. I am able to connect to the POP server but I am unable to retrieve any email content. Using the UTL_TCP.available() method, I am getting the returned number of bytes as Zero inspite of their being an email. I tested the telnet commands againt the POP server &...

View Answer   |  Jun 5 2008  7:21 PM GMT
TCP, POP3, PL/SQL
asked by Monk

  10 pts.

pl/sql code for email id validations

i need pl/sql procedure that validates the email id is correct or not?

View Answer   |  Jun 4 2008  5:58 AM GMT
PL/SQL, Code, Email ID validation
asked by Raffee

  5 pts.

Need help with a slow pl/sql script

Hello. I am running this script and it is taking over 3 hours on Oracle 10. Can anyone help. ---------------------------------- spool noaddressusagerelfix.LOG set timing on; SET SERVEROUT ON; DECLARE vpartyCustomerNo TableB.I_OCPRTY_USAGES%TYPE; vI_OCPOSTAD_USAGES ...

View Answer   |  May 23 2008  11:00 AM GMT
SQL, PL, Oracle 10
asked by Darrankavanagh

  20 pts.

Pl/sql code for queries

Hi , I have written 4 sql queries.2 select commands and 2 delete commands.now I want to write a pl/sql block for this.i.e after 2 select statements if the given condition satisfies then 1st delete command applicable. same way for 2nd delete command.I want to write cusor for those 2 select...

View Answer   |  May 21 2008  5:20 PM GMT
Oracle developers, PL/SQL
asked by User71408

  5 pts.

Running Procedures within the PL/SQL program

WE are dealing with stored procedures in a PL/SQL program. I am trying to execute the procedure from within the program itself. Is there a need to do it within a cursor or is there a specific manner to do that?!

View Answer   |  Apr 28 2008  10:53 AM GMT
Stored Procedures, PL/SQL, SQL Server stored procedures
asked by Nimsalwayz

  5 pts.

Truncate or not Truncate SQL

What are the pros/cons of truncate a table export/import to just drop table?

View Answer   |  Apr 11 2008  3:37 PM GMT
SQL, PL/SQL
asked by Jay Dog

  5 pts.

HOw to Find Duplicate Geometry in Oracle Spatial

If anyone knows a SQL statement for Oracle spatial on how to find duplicate geometry for area, line and point features, I would much appreciate it if she\he can share this with me. A million thanks in advance... Regards, Sam

Answer Question   |  Mar 18 2008  2:42 PM GMT
SQL, Database, PL/SQL
asked by SamAvella

  25 pts.

Oracle listener

Hi all, can you help regarding oracle 10g listener?Sometimes for no reason i cannot log on int database, and then found there is two listeners running at the same time, do you know why?

View Answer   |  Mar 13 2008  7:01 AM GMT
PL/SQL, Oracle 10g, Oracle Listener
asked by 2617

  15 pts.

ORA-06550 error: the function is undefined or not a procedure, yet I have defined the function

I get the following error message: ORA-06550: line 2, column 1: PLS-00221: 'CUSTOM_AUTH' is not a procedure or is undefined ORA-06550: line 2, column 1: PL/SQL: Statement ignored Error ERR-10460 Unable to run authentication credential check function. I have defined the function custom_auth

View Answer   |  Mar 13 2008  1:24 AM GMT
PL/SQL, ORA-06550, Undefined Function
asked by T Will

  5 pts.

41 - 60 of 65