Av rating:
Total votes: 35
Total comments: 9


Phil Factor
Captain Codd and the Simple Proposition
26 September 2007

A pantomime for Database Professionals

Scene 1

In the church vestry. Polly Morphism looks despairingly at Rev. D. Composition. The elderly priest is bent over his desk in a canonical form (he is a cardinal type). The candle flickers; Polly is tearful.

D Composition
(shaking his head sadly) "Hah, that base Relvar! The wicked Relvar Predicate is entirely without any integrity constraints. He is an insensitive curser and a primitive operator. Do anything to avoid him,"
Polly:
"It is no good; he has my pet tuples in his nidalic view. I must retrieve them with my tuple extractor or they will be subject to lossy decomposition. I will have to bargain with him.
D Composition:
"I have to admit that he is a star schemer. You'll have to negotiate, maybe offer buffer cash. Blackmail is rank Relvar's characteristic function".

Scene 2

A smoky dive, called the 'HotSpot '. Rough types abound. Relvar and Polly sit hunched over a table. Her faithful SPID stands behind her, arms folded impassively, scimitar tucked in his belt. Relvar's SPID stands, sneering wickedly.

Polly
"I've come to negotiate, to make a simple proposition"
Relvar
"Your n-Place or mine? Your persistence is monadic. I'm glad you have seen reason, because your tuples are in my power. Soon, the Tuple Unwrapping will begin. Their internal predicates will be mine (Nasty laugh). I will be idempotent!
Polly
(flushing) "You swine! Haven't you heard of De Morgan's Laws?"
Relvar
(with ACID sarcasm) "Thanks for the Complement. You scare me! Hah! That flat relation? Pshaw!" (audience boos noisily)
Polly
(thinks: Maybe this is a bad transaction scenario ) "Surely we can be sensible? I'm here to see if we can do a deal to retrieve my tuples. I have an atomic proposition that could lead to a Transaction. My SPID can start the process with a triggered procedure

(Suddenly, an Argument starts at a nearby base table. A fight breaks out. A lunging body falls perilously near to Polly and knocks her SPID flying. Inverted Tables everywhere. The scimitar skids across the floor. Quick as a flash, Relvar's SPID leaps onto Polly's SPID and pins him to the ground)

Relvar
(gloatingly) "So fate has chosen your SPID to be a deadlock victim. Soon he will be a bound variable"

Captain Codd bursts in on the scene. A clash of Cymbals

Codd:
Not so fast, Relvar. You have committed a fatal error and made a hash of it. Polly is under my protection!!

(An immediate conflict ensues. Wham! Bam! Captain Codd delivers a lightning Sheffer stroke to Relvar's jaw, Soon, Captain Codd has Relvar in a granular lock followed by a restriction, an immediate constraint, finishing with a deadly embrace)

Relvar
Aiee! You have me in a Multi-Relvar constraint. I repent!! Let me go! Release my constraint! From now on I shall lead a Normal life.
Captain Codd:
If so, it will be your first Normal Form, Relvar. I suspect you will need a unique constraint. Any base manipulation, and you will be a bound variable in a loop structure.
Polly
Thanks, Captain Codd! I rely on you but it is a multi-valued dependency, though I am irreducably dependent

Scene 3

An Arcadian meadow. The sun is shining. Polly Morphism and Captain Codd admire Polly's flock of tuples

Polly
(surrounded by her bleating tuples, nuzzling up to her adoringly) Oh Captain Codd, now my SPID is released and my tuples safe, I can enjoy a tuple union. How can I repay you?
Captain Codd
(looking serious) It isn't over until we can engineer some sort of total Relvar constraint, with an identity restriction. He could yet strike again.

Ominous music…

Will Relvar Predicate strike again?
Look out for the thrilling Sequel to... Captain Codd and the Simple Proposition

Heroic music...

Ends.



This article has been viewed 3449 times.
Phil Factor

Author profile: Phil Factor

Phil Factor (real name withheld to protect the guilty), aka Database Mole, has 20 years of experience with database-intensive applications. Despite having once been shouted at by a furious Bill Gates at an exhibition in the early 1980s, he has remained resolutely anonymous throughout his career.

Search for other articles by Phil Factor

Rate this article:   Avg rating: from a total of 35 votes.


Poor

OK

Good

Great

Must read
 
Have Your Say
Do you have an opinion on this article? Then add your comment below:
You must be logged in to post to this forum

Click here to log in.


Subject: LOL!
Posted by: --CELKO-- (not signed in)
Posted on: Wednesday, October 03, 2007 at 3:58 PM
Message: I wonder how many kids know what a Sheffer stroke is?

Subject: !!!
Posted by: Karen (not signed in)
Posted on: Wednesday, October 03, 2007 at 8:14 PM
Message: ...a few kids will either know it or not...NAND!

Subject: My Captian , My Captian
Posted by: Mal Daughtree (view profile)
Posted on: Thursday, October 04, 2007 at 1:11 AM
Message: An elegant turn of phrase of such not heard in the halls of higher learning for an eon. Yippee !! More training manual should read like this. Thanks <:)

Subject: My Captain , My Captain ( should learn to Spell !!)
Posted by: Mal Daughtree (view profile)
Posted on: Thursday, October 04, 2007 at 1:12 AM
Message: Opps <:(

Subject: Will Relvar Predicate strike again?
Posted by: P.Pirker (not signed in)
Posted on: Thursday, October 04, 2007 at 3:03 AM
Message: I certainly hope so! :-))

Subject: Brilliantly Written !!!
Posted by: Swadge (not signed in)
Posted on: Thursday, October 04, 2007 at 3:09 AM
Message: This is the best piece of geek writing I have seen for a while, if not ever. It is very well written and very cool! Well done!

Subject: Error 0xE0008492
Posted by: ilyas (view profile)
Posted on: Thursday, October 04, 2007 at 6:12 AM
Message: Hi all,
I am getting error while taking backup of SQL 2000 databases not all but some databse geting skip.with following error message.
V-79-57344-33938
Can any help me in this!!!!!!!!!

Subject: Error 0xE0008492
Posted by: Phil Factor (view profile)
Posted on: Thursday, October 04, 2007 at 4:14 PM
Message: This should be on the forum. post it there, if Knowledge base article 280759 doen't help

Subject: disease
Posted by: marty nickel (not signed in)
Posted on: Friday, October 05, 2007 at 7:43 AM
Message: this is sick. i loved it.

 

















Level Playing Field
 The Federal Government in the States accepts tenders for their IT projects from a wide-range of... Read more...

Women in IT: Change at Every Level
 In the past, straight-forward sexism was a real problem in the IT industry – women in IT were... Read more...

Second Life: A Virtual World of Real Money
 As more and more people invest in alter egos to live a pseudo life online in Linden Labs' latest... Read more...

Ross Anderson: Geek of the Week
 Professor Ross Anderson is one of the foremost experts in Computer Security in the world. He has... Read more...

Dr Richard Hipp, Geek of the Week
 Simple-Talk's Geek of the Week is Dr Richard Hipp. His code is probably running on your PC, and running... Read more...

Linus Torvalds, Geek of the Week
 Linus Torvalds is remarkable, not only for being the technical genius who wrote Linux, but for then... Read more...

Driving up software quality - the role of the tester
 Have you ever wondered what a software tester does? Helen Joyce, test engineer at Red Gate software... Read more...

Coming Out as a Cancer Survivor - A Guide for Software Developers
 A personal perspective on the responsibilities of a cancer-surviving software developer Read more...

The Computer that Swore
 Database Developers occasionally get crazy ideas into their heads. Phil Factor should know; He... Read more...

The Writing on the Wall
 Phil Factor offers an intriguing theory on why so many, hugely complex, government IT projects fail. Is... Read more...

Over 150,000 Microsoft professionals subscribe to the Simple-Talk technical journal. Join today, it's fast, simple, free and secure.

Join Simple Talk