CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Jeremy D. Miller -- The Shade Tree Developer

Under the hood and working with .Net, TDD, Software Design, and Agile Stuff

Remembering how to use Oracle

I'm using Oracle for the first time in about 3 years starting today.  I thought it would be like coming home because I grew up on Oracle 7.34 and then on to Oracle 8.1.7.  I know I routinely bash the usage of stored procedures and hand rolled data access strategies as a waste of manpower for all but edge cases, but there was a day and time when I banged out stored procedures and packages in PL/SQL at will and almost lived inside a SQL*Plus window.  While I'm still more comfortable writing Oracle flavored sql, I forgot some of the annoyances with Oracle:

  • The installer just flat out sucks.  It took me 3-4 tries just to get the stinking client on correctly, and the Java installer is sloooooooow
  • Downloading the freeware TOAD once a month.  I opened it up for the first time today and was immediately greeted with a message that it expires tomorrow
  • TNSNames klooge, need I say more?
  • I've gone back and forth on this a couple times, but I think I like autonumber better than sequences now for surrogate keys.  I like letting an ORM handle the mechanics best though.

The good:

  • The warm and fuzzy feeling.  I've built bigger, badder systems on Oracle, but always had more hiccups with Sql Server 2000 (that nolock crap is ridiculous).  Even if it's completely in my imagination, I like knowing the Oracle database engine is there. 
  • Everything is capitalized.  The old guys I learned Oracle coding from kept the caps lock on almost permanently and that's the way it's supposed to be.  I kinda think of it as the database yelling "yes sir!, fetch INVOICE_DETAIL sir!" back to me like the good obedient soldier it is.
  • Since I've still never managed to get the hang of ANSI join syntax, it's kind of nice to be able to write inner & outer joins without resorting to some sort of GUI wizard


Comments

Ed Gibbs said:

TNS names I had almost forgotten about that with a similiar 3 year hiatus from Oracle.  If you think the installer for the database is bad, just try installing Oracle Financials.  My feeling with Oracle having worked with a lot of their products is I can deal with the database, but keep Forms/Reports, 10g App server, etc far away.

# May 1, 2007 8:55 AM

John Opincar said:

If you are working with 10g, Oracle SQL Developer is a decent tool that's free and not crippled like Toad.

After 15 years (ANSI 92), I think everyone should have switched to the modern join synatx by now.  Even you Oracle guys.

# May 2, 2007 12:46 PM

rc said:

If you use Oracle 9, 10 or 11 you can use the ansi join syntax, but you can use the old style too.

# January 6, 2008 3:08 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Jeremy D. Miller

Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy previously worked as a systems architect building mission critical supply chain software for a Fortune 100 company and learned agile development practices as a .Net consultant at ThoughtWorks, one of the pioneers of agile development. Jeremy is the author of the open source StructureMap (http://structuremap.sourceforge.net) tool for Dependency Injection with .Net and the forthcoming StoryTeller (http://storyteller.tigris.org) tool for supercharged FIT testing in .Net. Jeremy's thoughts on just about everything software related can be found on his weblog "The Shade Tree Developer" at http://codebetter.com/blogs/jeremy.miller, part of the popular CodeBetter site. Jeremy is a Microsoft MVP for C#. Check out Devlicio.us!

Our Sponsors

Free Tech Publications

This Blog

Syndication

News

All opinions expressed here constitute my (Jeremy D. Miller's) personal opinion, and do not necessarily represent the opinion of any other organization or person, including (but not limited to) my fellow employees, my employer, its clients or their agents.

About Me

"Best Of" Compendium

StructureMap (Dependency Injection for .Net)

StoryTeller (Supercharged Fit)

Build your own Cab

TestDriven

MVP