archives

FAQ 4.24 How do I reverse a string?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

Duplicate with no archive log files

I ran the following command, "Duplcate target database to dupdb nofilenamecheck". I received the error that no log files were present or unable to preform media recivery because of missing log. I have now copied the archive logfiles over to my dupdb server. waht command would i perform next to fix my stupid mistake. Thanks.

Calculating space

Hello I am a junior dba. I was wondering if anyone could point me how to do the following?: I am currently trying to verify/calculate the size of my current oracle db/schema. I've been using: select sum(bytes)/1024/1024 from dba_data_files + select sum(bytes)/ 1024/1024 from v$log; (NOTE: I ran the two select statements separately. Just thought I'd

Calculating space

Hello I am a junior dba. I was wondering if anyone could point me how to do the following?: I am currently trying to verify/calculate the size of my current oracle db/schema. I've been using: select sum(bytes)/1024/1024 from dba_data_files + select sum(bytes)/ 1024/1024 from v$log; (NOTE: I ran the two select statements separately. Just thought I'd

FAQ 4.32 How do I strip blank space from the beginning/end of a string?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

Question in Perl Arrays

Hi, I am trying to understand how arrays work in scalar context. Here is the question: @a = (10,20,30,40,50); @b = @a[0..3]; print "[@b] \n"; when I run this script, I am getting proper result i.e. o/p is: [10 20 30 40] But when I do this change: @a = (10,20,30,40,50); @b = $a[0..3]; # THIS LINE IS CHANGED

Hey, arent you Matt Moran... I Am A Star!

I am preparing to head out to Chicago but I just remembered a story I have to relay. Jess and I were at the gym about 2 weeks ago.  I was walking to the water fountain when a guy stopped me and said, "Hey, aren't you Matt Moran, the songwriter?" "Yesss....," I replied, a little bit surprised. "My wife and I have seen you play

DB2 9 for z/OS Data Sharing: Distributed Load Balancing and Fault Tolerant Configuration

Redpaper, published: Thu, 17 Jul 2008 This IBM® Redpaper provides information about exploiting client load balancing and fail over capabilities across a DB2® data sharing group or a subset of the group members.

FAQ 3.23 Can I write useful Perl programs on the command line?

This is an excerpt from the latest version perlfaq3.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

10G Grid Control - Extracting Metric Data

Hi, I've recently installed Oracle Grid control 10G to monitor a number of db instances which is working well. My manager is currently setting up a system that will include various Key Performance Inidcators for oracle based systems e.g. uptime etc. He's requesting whether I can provide the raw data for these metrics

SUPER v2008 Build 32 - Tech2

SUPER v2008 Build 32 Tech2, India - 13 hours ago Easy conf

get process name from process id

I need to know the name of the parent process. using getppid function I can get the process id of the parent process. How do I translate parent pid to a name. Is there a way to do it in in perl without invoking ps command. thanks.

Learning About Process

In any project you are creating something that must do something. Mostly we think about the "what" in our projects and too often we don't think of the "why". To be an excellent business analyst you must never stop asking WHY. There are some techniques that I use even if I have very specific requirements documents. The reason is that most of the time a user will tell you not just their requirement

FAQ 4.18 Does Perl have a Year 2000 problem? Is Perl Y2K compliant?

This is an excerpt from the latest version perlfaq4.pod, which comes with the standard Perl distribution. These postings aim to reduce the number of repeated questions as well as allow the community to review and update the answers. The latest version of the complete perlfaq is at [link] .

find which subgroups don't match in regex

Hello gents, here's the thing been confusing me for a while: $regex="(\w+)\s([0-9]+)"; $a="Tom 1990"; # it's a match $b="Jack xyz"; # not a match, because of $2 doesn't match ... but here's my question, exactly how to inform the users of this unmatched subgroup? (i.e. $2 is the problem, $1 is fine, etc.)

PostgreSQL at OSCON

As always, we're going to have a lot of PostgreSQL activity around OSCON. Here's my list of things to see and do ...

SOS...on system command

I'm trying to store out put into the array the search for string in this case truncating, but when I run the following command it prints all the output before going to the foreach loop, it was my understanding that the out put of the of the command will be saved into @output then it can be searched, can some tell me where I go

I Have a Spreadsheet. Why Do I Need Customer Support Software?

No more lost information, missed SLAs, or incidents falling through the cracks. No more calling multiple numbers to find your customer. No more attempting to update a gargantuan spreadsheet without errors or promising yourself you will design the perfect database for all this information when you have the time.