MONKEY PROGRAMMER BOY EPISODE 8: Sandra Bullocks
Authors Note: Please be aware this is NOT a cartoon. I actually DO work for the people in the Microsoft clip art collection.
"Tramps like us, baby we were born to code".
Authors Note: Please be aware this is NOT a cartoon. I actually DO work for the people in the Microsoft clip art collection.
I passed IBM DB2 UBD 8.1 Family Fundementals this morning. This makes me an IBM Certified Database Associate. From now on I will be able to leap tall buildings in a single bound and hold my breath for ages.
How did I do this?
Well I read this book: DB2 Universal Data Base: V8.1 Certification Test 700 Exam CRAM and mucked about with a trial version of DB2 for a while. Easy.
What did I learn?
The exam is mainly DML commands with bits about the DB2 family of products, security and constraints. If you are up to speed with simple SQL then you should pass this exam fairly easily without much preparation. It was worth it tho, as it has filled in quite a few gaps on my general relational database knowledge and I am now familiar with the main DB2 tools: Command Centre, Control Centre etc.
Hey anything else we should know smartypants?
Well one thing I liked about the book was the example table they used:
EMPNO NAME WORKDEPTIt's the Rolling Stones! This is much better than the sales values for the US states or lots of cobblers about foo() and bar().
---------- -------------------- --------------------
001 jagger A01
002 watts A01
003 richards B01
004 jones C01
001 wyman -
CREATE TABLE albums ( name char(30) NOT NULL, year INTEGER NOT NULL,
Constraint NOCRAPALBUMS check (year <= 1978))
NAME YEAR
------------------------ ----------
Beggars Banquet 1968
Let it Bleed 1969
Get Your Ya Yas Out 1970
Sticky Fingers 1971
Exile On Main Street 1972
Goats Head Soup 1973
It's Only Rock and Roll 1974
Black and Blue 1975
Love You Live 1976
Some Girls 1978
INSERT INTO Albums('Emotional Rescue' , 1980)
SQL0545N The requested operation is not allowed because a row
does not satisfy the check constraint "NOCRAPALBUMS"
".
Explanation:
Check constraint violations can occur on either INSERT or UPDATE
operations. The resulting row violated the check constraint
definition on that table.
The statement cannot be processed.
Occasionally a chap has a quick look at some of the Spam he receives. This is not a good idea as often the messages contain dangerous links to sordid pornography and spyware. Now and then though, as a father of three children under eight years old, one feels it necessary to check on the dangerous world that is only a click away <coughs>. In one of my recent forays, I happen to notice a set of almost identical messages that varied only slightly in their odd use of English; I thought I would share one with you:
I walked on twilight alley late at the night.
Ominous boors seized me.
They torn asunder my pants and bra.
I was pure before...
This made laugh out loud. I imagine there is some Serbo-Croat to English translation software out there some where.
Anyhow, I am sick of all this cheap tasteless stuff, I'm off for some classy birds with big bristols over at vowe.net ;-).
www.flickr.com |