"S" before "B" when using the "P".
Just when I was feeling a little more secure in tidbits of knowledge, I got a request from a client today.
From: Client
To: Kim
Please run a simple SQL statement in Production.
"Okay", I thought, "Here goes!". It was easy! I ran it! No fear! Then I got another request two minutes later.
From: Client
To: Kim
Please run these two attachments.
[attachments: ThingOne.pkb; ThingOne.pks]
OH MY GAWD!
What were THEY? What was I supposed to DO with them? Was I supposed to RUN them? Was I supposed to import them into a schema? I have never seen things with these extensions before! Yah, again, people - wonder at my ignorance. It's pretty vast.
Okay, Google is my friend. You know what? pks and pkb files are all over the place in the Google, but they don't tell you what to do with them. They just tell you bugs and issues. Thank GOD I have Sr. DBA R.
And Instant Messenger
I open up Instant Messenger and start typing...
Me: Um, have you ever seen a pks or pkb file?
Sr. DBA R: Yes.
Me: Um, do you... run them?
(pause of Instant Messenger silence)
Sr. DBA R.: Yes.
(kim comment - he messenges like this. Very brief. To the point. He probably knows I'm trying to compose a message that sounds somewhat knowledgeable and this entertains him.)
Me: Um... how?
Sr. DBA R.: Open them in editor in Toad and then run them.
This is where I am busily scrounging in my mind to figure out how to do this, I mean, yes, technically, I understand what he means, but I am still sort of new to the little green frog. I've been using this tool called Embarcadero and it seems easier, but none of the cool DBAs use, and I want to be cool. Desperately, I want to be cool. I want to use the Toad.
Me: So... how do I do that in Toad? (oh, please come over please please please)
Just when I was feeling a little more secure in tidbits of knowledge, I got a request from a client today.
From: Client
To: Kim
Please run a simple SQL statement in Production.
"Okay", I thought, "Here goes!". It was easy! I ran it! No fear! Then I got another request two minutes later.
From: Client
To: Kim
Please run these two attachments.
[attachments: ThingOne.pkb; ThingOne.pks]
OH MY GAWD!
What were THEY? What was I supposed to DO with them? Was I supposed to RUN them? Was I supposed to import them into a schema? I have never seen things with these extensions before! Yah, again, people - wonder at my ignorance. It's pretty vast.
Okay, Google is my friend. You know what? pks and pkb files are all over the place in the Google, but they don't tell you what to do with them. They just tell you bugs and issues. Thank GOD I have Sr. DBA R.
And Instant Messenger
I open up Instant Messenger and start typing...
Me: Um, have you ever seen a pks or pkb file?
Sr. DBA R: Yes.
Me: Um, do you... run them?
(pause of Instant Messenger silence)
Sr. DBA R.: Yes.
(kim comment - he messenges like this. Very brief. To the point. He probably knows I'm trying to compose a message that sounds somewhat knowledgeable and this entertains him.)
Me: Um... how?
Sr. DBA R.: Open them in editor in Toad and then run them.
This is where I am busily scrounging in my mind to figure out how to do this, I mean, yes, technically, I understand what he means, but I am still sort of new to the little green frog. I've been using this tool called Embarcadero and it seems easier, but none of the cool DBAs use, and I want to be cool. Desperately, I want to be cool. I want to use the Toad.
Me: So... how do I do that in Toad? (oh, please come over please please please)
(Two moments of Instant Messenger silence)
Sr. DBA R shows up at my cubicle. He was probably thinking oh my god, she's in Production maybe it's worth the 1 minute I spend with her in her cube to head off the 3 hours of RMAN recovery in case she wipes out the database. Or maybe not. I project a lot of my insecurities.
He very kindly shows me how to open editor, open my files and VOILA! There it is! He cautions me to run pkS, then pkB. And I run it! And it's against the wrong schema. Whereupon he kindly shows me select name from v$database, which I have now consigned to making sure I always run before I do anything else ever in my life, ever.
And then I run them again. They run great! And ask, "Do I do commit?" and he wanders off saying, "Nope, it's ddl". (which I KNEW didn't require commit!! Dammit!! But I forgot.)
And now I know what to do with pkS and pkB files.