Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kwil38

    Return multiple rows with a function

    Santa, My apologies, I had not noticed that feature but just utilized it for Dagon and also will in future posts. kwil38
  2. kwil38

    Return multiple rows with a function

    Dagon - Thanks, that works perfect!
  3. kwil38

    Return multiple rows with a function

    I have a table defined as follows: Row_id NUMBER Email VARCHAR2(50) Option_Name VARCHAR2(2000) Option_Value_1 VARCHAR2(2000) Option_Value_2 VARCHAR2(2000) Last_Update_Date DATE I need to create a function that will return all rows (there could be 1 or many) for a...
  4. kwil38

    Delete Old Archivelogs

    Sorry, I wasn't very clear on what I needed. I'm using Netbackup (which in turn uses RMAN) to backup my database. I don't want to create and run the backup from OEM, only to create a job which simply deletes archivelogs that have been backed up 3 times. Is that possible?
  5. kwil38

    Delete Old Archivelogs

    I am using Oracle 10g and RMAN on Linux. Is there a way to automatically delete archivelogs that have been backed up 3 times via OEM or a script? Currently, I'm deleting them manually with the following: rman catalog=rman/*****@RMAN target=netbackup/******@PROD RMAN> delete archivelog all...
  6. kwil38

    Oracle and Windows

    I'm not aware of an equivalent to the UNIX command date, but I'm still pretty new to the Windows/Oracle game as well. Anyone else have an idea? As far as declaring a variable goes, you should be able to do anything in the .sql file that you can do in SqlPlus. So you declare a variable as...
  7. kwil38

    Oracle and Windows

    Can you not use SYSDATE in your execute statement - execute my_proc(SYSDATE); Depending on which version of Windows you are using (I'm on Windows Server 2003 Enterprise Edition), it may be slightly different but - 1. Go to Start/All Programs/Accessories/System Tools/Scheduled Tasks 2...
  8. kwil38

    Oracle and Windows

    IMAUser, Typically what I do is create a batch script which calls a sql script. Then the batch script can be scheduled to run accordingly via Windows Scheduled Tasks. For example, I have a batch script file called drop_employees.bat which contains the following line of code - sqlplusw...
  9. kwil38

    Recovery To Another Database

    Worked perfectly! Thanks a lot!
  10. kwil38

    Recovery To Another Database

    I'm testing my backup and recovery strategy and am stuck on the following scenerio - The production server crashes and I have to recover a database named 'prod' onto another server and a database called 'test'. I have successfully recovered from the last cold backup by restoring the datafiles...
  11. kwil38

    Reclaim Space in a Tablespace After Purging

    Carp - Yes, I did have to rebuild the indexes associated with each table.
  12. kwil38

    Reclaim Space in a Tablespace After Purging

    Just a follow-up.... I used the 'ALTER TABLE <tablename> MOVE PARALLEL NOLOGGING;' to give the space back to the tablespace and all worked fine. No adverse effects whatsoever. Thanks a lot guys!
  13. kwil38

    Reclaim Space in a Tablespace After Purging

    Santa - After thinking on it, I may have changed my mind. The 'ALTER TABLE <tablename> MOVE PARALLEL NOLOGGING;' sounds like it would be the easiest approach and would free the space for other tables in the tablespace to use. At the rate our database grows, that space would be utilized fairly...
  14. kwil38

    Reclaim Space in a Tablespace After Purging

    Thanks for the info guys. Santa - #2 is what I'd like to do. I've also been researching the ALTER TABLESPACE tablespacename COALESCE; command. However, if I'm understanding correctly, it won't actually decrease the size of my tablespace, it will just group free extents together.....sort of...
  15. kwil38

    Reclaim Space in a Tablespace After Purging

    I have purged some old data out of a couple of tables, all of which belong to the same tablespace. After doing this, I expected my tablespace size to decrease, however it remained exactly the same. Is there another step or a compression utility that I need to run to reclaim this space...
  16. kwil38

    Killing a session shut down my database!!!

    J - No, it wasn't a background process that I tried to kill...it was a user process.
  17. kwil38

    Killing a session shut down my database!!!

    I tried to kill a user session and it shut down my database!!!! Here's what I did - I had logged into Enterprise Manager, selected the session I wanted to end, and clicked the kill session button. I received an error to the effect of "can't close session" and I clicked the cancel button...
  18. kwil38

    ORA-00474: SMON process terminated with error

    Last Friday, my Oracle 9i production database shut itself down during the middle of the workday...never happened before in the 4 months we've been live with Oracle. After examining the alert log file, I found the following error caused the database to shutdown: Fri Dec 30 13:51:16 2005 Errors...
  19. kwil38

    Any Way To Break Up An Address Into It's Components

    I have an address string (ex. Rural Route 12 Box 204) that I need to break into individual address components - i.e. Rural Route 12 as the street and 204 as the box. The easiest way I can see to do this is to start reading the string at the beginning, somehow get the end position of the first...
  20. kwil38

    DESEncrypt Procedure

    Yeah, that just what I need to know. Appreciate the help!

Part and Inventory Search

Back
Top