Oracle Data Warrior

Taking on Data Architecture, Data Warehousing, Data Vault, Fitness, Exercise, and who knows…

Archive for the tag “oracle development tools”

Hurry – Only 24 Hours Left to Get a Free Conference Registration

As I have written before, I love Oracle User Groups.

My two most favorite groups are the Oracle Development Tools User Group (ODTUG) and the Rocky Mountain Oracle Users Group (RMOUG).

These two groups put on what are arguably the best annual conferences for users of Oracle technology – by users, for users.

Over the past 20+ years I have attended most of their events – and NEVER paid a registration fee.

This was very helpful when my boss said there was no money for training. I just said “I get in free”.

So would you like to attend one of these events for FREE?

All you have to do is submit an abstract to present a session. If you get selected, your registration fee is waived. This is worth over $1000.

But you have to hurry, the deadline for submission is Monday October 15th, 2012.

Details:

RMOUG Training Days is  February 11-13, 2013 in Denver, Colorado. (Right in the middle of ski season!)

Go here to submit an abstract.

ODTUG’s KScope event will be June 23-27th in wonderful New Orleans.

Go here to submit an abstract.

I have submitted multiple abstracts to both events.

So what are you waiting for – go submit now!

See you in Denver and New Orleans in 2013.

Kent

P.S. My Kindle ebook  started out as a user group presentation. No telling what you might do with your presentation.

Countdown to KScope: Oracle Education, Fitness and More

It’s almost here: the best education event for Oracle developers – the Oracle Development Tools User Group KScope12 conference.

It starts Saturday June 23rd with the annual community service day helping out the Boy’s and Girl’s Club of San Antonio.

Then things really get rolling on Sunday June 24th with the famed all-day, in-depth symposiums.

One Monday, the main sessions kick things into high gear.

This year I am lucky enough to give two presentations on my favorite topics.

On Monday June 25 from 10:00 am – 11:00 am, I will present Introduction to Data Vault Modeling for an Oracle BI Environment. 

Then on Thursday June 28, from 10:30 am – 11:30 am, you can close out the conference by attending my presentation on SQL Developer Data Modeler: Reverse Engineering (and Re-engineer) an Existing Database Using Oracle SQL Developer Data Modeler.

If you are using the KScope app, don’t forget to add these sessions to your schedule and then check in during the sessions to be eligible for  some special ODTUG prizes.

Of course there will be networking events, a vendor hall, food and fun.

With all the good food and sitting in intense sessions all day, it is important that we all do our best to stay fit. To help with that, I will again be leading a 30 minute Chi Gung session every morning at 7 AM on the main lawn.

Really – anyone can do it. Read my article here for details.

Come out and join me to get your day off to a calming start so you can focus on getting the most out of your day at Kscope12.

And don’t forget to follow me on twitter @KentGraziano. I will be tweeting live and posting pictures all week from the conference.

See you in San Antonio. Giddy Up!

-Kent

Quick Tip: Adding a Custom Design Rule to Oracle Data Modeler

As most of my readers know, I use Oracle’s SQL Developer Data Modeler to do all my data modeling.

It has a lot of great features that are documented online in various places. One of those is Design Rules.

Design Rules (Tools -> Design Rules -> Design Rules) include a host of predefined quality checks on many of the objects created in a data model. This includes entities, attributes, relationships, tables, columns, constraints, indexes, etc.

You select the rules, or group of rules, and hit “apply”. The rules then check your model and tell you, object by object, if there are any issues.

Some issues are warnings. Others show up as errors. A error generally means that if you try to create DDL, that DDL will fail when you try to execute it an Oracle database.

One nice feature is that you can double click on a highlighted issue and go directly to the object with the issue so you can fix it.

An example of a design rule check is the length of the table name. Oracle still has a limit of 30 characters (Why????)  on object names, so there are design rules to check for that.

Pretty useful really.

For the Data Vault model I am currently building, we are trying to generate lots of stuff based on the table name (i.e., surrogate key sequence and some PL/SQL load procedures, but that is a much longer story). As a result we discovered we need to limit the table names to 26 characters because we need to use the table name as a root that has prefixes and suffixes added in certain cases.

Too bad the built in design rule is set to 30.

And there is no way to modify that built in rule (verified on the OTN Forum).

So the solution is to create a Custom Rule (Tools -> Design Rules -> Design Rules). The intrepid Philip from the Oracle development team kindly provided me with the base code to create the rule I needed. I was able to take his code, and use the one custom rule that comes delivered as a template, to make a new rule that did the check I wanted.

Here is the code:

var ruleMessage;
var errType;
var table;
//define
function checkName(table){
result = true;
ruleMessage=”";
if(table.getName().length()>26){
ruleMessage=”Table name over 26 characters”;
errType=”Error”;
return false;
}else{
return true;
}
}
//invoke it
checkName(table);

I won’t explain the code (you can figure that out if you like), but it does work as I wanted, so I am a happy camper. :-)

Now after I add new objects to the model (e.g., hubs, links, satellites), I just run this rule to find any that are too long. Then I fix the table name and reapply my constraint naming standards (another very useful and simple utility in the tool). After that I can generate the DDL and build the objects in the db, then re-run our code generator.

If you have not looked at the features of SDDM, time to look.

Happy Modeling!

- Kent

P.S. To see more article about SDDM, check out Jeff Smith’s blog (in my blog roll).

P.P.S. Don’t forget to follow me on twitter @KentGraziano. I retweet a lot of Jeff’s article there. ;-)

What’s in your war chest?

When you gear up to do battle with your next data warehouse or data modeling problem, what are your weapons of choice?

ERwin?

Oracle Designer?

SQL Developer?

Or do you go “old school” with the traditional pen and paper (or marker and white board)?

Whatever your approach, everyone has a favorite. Tell me what yours are in the comments.

Take care out there.

Kent

P.S. Want to know what my weapons of choice are? Check out my War Chest page and the Blogroll and Useful Sites in the right column on this page.

Oracle User Groups: Are you a member?

I love user groups.

Getting introduced and involved in them has made a huge difference in my career. If it was not for all the people I have met in the last 22+ years, my career, and life, would have been very different.

I have met hundreds (maybe thousands) of amazing people both from within Oracle Corp and outside. Many of them became, and remain, my friends. Which is why we all love to get together several times a year at various user group and industry events to catch up, exchange wars stories, and learn new things.

Right now, I am starting to prepare for one of my favorites – ODTUG KScope. I will be there presenting in June and  running my popular Morning Chi Gung class for the 2nd year in a row.

If you have not registered, get to it! Rooms are going fast and you want to be sure to stay at the conference resort (yes – resort, not hotel!).

And on the ODTUG front, they have just announced you can now join for just $99 a year. That is the best value you can find for the world’s best Oracle user group for Developers.

So are you in? Are you at member of at least one user group?

What? You don’t know which one to join?

Then check out this new cool site Oracle just put up with videos from some of the user group leaders. After that, check out their new User Group Central with information about Oracle user groups around the globe.

So get out there and meet some new people and learn some new things.

Come to KScope12.

Join a user group.

See you in San Antonio.

Kent

P.S. Don’t forget to submit an abstract for Oracle OpenWorld before the deadline passes. It will get you a free pass to the show (worth over $2000). Tell’em ODTUG and the Oracle Data Warrior sent you.

Post Navigation

Follow

Get every new post delivered to your Inbox.

Join 389 other followers

%d bloggers like this: