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 Mike Lewis 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. Sambo8

    Help creating procedure

    Hi There T, Yes it was a success - many thanks for your help! Cheers, Sam
  2. Sambo8

    Help creating procedure

    Hi all, Many thanks for your help it needs to be a procedure as I need to schedule it as a job. Thank you Sam
  3. Sambo8

    Help creating procedure

    Hi there, I want a procedure to do the following: update table1 set eventstate='Processed' where eventstate='Processing' and eventstarttime < sysdate-30; here is my invalid procedure - please can you tell me where I'm going wrong? create or replace procedure update_processed DECLARE estate...
  4. Sambo8

    Procedure compilation errors

    Hi there, I'm having a problem with my procedure I want to execute an alter trigger for every tablename in the audittables table concatanate the AUA to the tablename. Here's my code: Create or Replace procedure samtest.disable_trigs IS tabname IN varchar2(30) Begin select...
  5. Sambo8

    dbms_scheduler puge by status

    Hi There, Does anyone know of a way to purge log_history by status? I want to use the dbms_scheduler.puge (log_history thing to purge all succesful jobs? Many thanks, Sam
  6. Sambo8

    [B] Password Verfication help [/b]

    Hi There, Thanks for you assistance, I hadn't found anything either and wanted to double check I hadn't overlooked , it was a request from the client to keep inline with their windows security policy. Cheers, Sam
  7. Sambo8

    [B] Password Verfication help [/b]

    Hi There, I'm looking for a way of stopping a user from changing their password more than once in a day. So the password has to have a minimum age of 1 day. Any ideas? Many thanks, Sam
  8. Sambo8

    IMPDP multiple schemas with table options

    Hi all, I want to run a datapump import using multiple schemas. Is there a way of doing multiple schemas but norows to 1 or 2 tables? e.g. SCHEMAS=SCHEMA1, SCHEMA2 TABLES=SCHEMA1.TABLE2:norows Cheers, Sam
  9. Sambo8

    Function not found error

    Hi All, Please ignore my above post, I found the problem was actually the if beginning above the functions with the fi below. Apologies. Sam
  10. Sambo8

    Function not found error

    Hi there, Please can you take a look at my script, my other functions work fine but funcB gives the error: [55] funcB: not found. #!/bin/ksh CURRENTDAY=$(cat hello) echo $CURRENTDAY VAR=$(date +'%a') echo $VAR if [ $VAR = $CURRENTDAY ] ; then echo 'Matched' ################# function funcA...
  11. Sambo8

    please help newbie to scripting

    Hi there, The following is my script: #/usr/bin/ksh # this gets yesterdays day SAM=$(TZ=CST+24 date '+%a') echo $SAM ERROR1=$(echo "Email backup not run PLEASE CHECK") ERROR2=$(echo "Error in backup see backuperrordetails.log for details") find /u01/app/oracle/work/sam/backup/backup.$SAM...
  12. Sambo8

    AIX alternative to mmin or amin

    Hi there, I want to know if a file exists that has been touched in the last 30 mins. mmin and amin do not work on the server so I was trying to touch a file and find a file if it was newer than that file as follows: find /u01/sam/test/hello.txt -newer timelastrun.txt echo "no error" but I...
  13. Sambo8

    help pulling a string from a file

    Hi There, I haven't done a lot of scripting so I'm struggling - any help muchly appreciated. Brief explanation below incase there is an easier way to do this? I have a script that runs through a list of files created within the last day and greps Error it then outputs that line to results.lst...
  14. Sambo8

    how to tell if mod_sql is in use?

    Hi Mufasa, Many thanks the directory didn't contain modplsql only Jserv and Apache. so no modplsql for that DB. Fantastic, Thanks you Sam
  15. Sambo8

    how to tell if mod_sql is in use?

    Hi There, I'm guessing this is a dumb question, is there anyway you can tell if your database is utilizing mod_plsql? Cheers, Sam
  16. Sambo8

    simple date query in ksh

    Hi There, I'm very new to ksh I have a script that goes into a folder that begins with a date and creates a file as follows: #!/usr/bin/ksh cd /work/sam/$(date +%Y%m%d) touch hello.txt this works to create a file called hello.txt in the path /work/sam/20080508/ now I want that to be minus 3...
  17. Sambo8

    Remove OLD STATS

    Hi There, I think there is a script to remove old stats from the STATS tablespace, e.g older than 1 month. But cannot find it anywhere. Does anyone know of such a script. Many thanks, Sam
  18. Sambo8

    ORACLE DB to MYSQL

    Hi There, I'm after a bit of assistance. Has anyone migrated an oracle DB to mysql? the task in hand is to migrate over a terabyte of partitioned data so that it can be stored and accessed (probably rarely) for upto a year. Is mysql a feasible option for this? Can the migration toolkit...
  19. Sambo8

    Number of Queries per day

    Hi All, Is there a way of finding out the number of sql queries run against a 9i database in a day? Many thanks, Sam
  20. Sambo8

    SGA and ORACLE TEXT

    Hi All, Is there any documentation showing whether installing Oracle Text requires more SGA? Many thanks, Sam

Part and Inventory Search

Back
Top