I owe you, my dear reader, a quick update. If you have been following me on Twitter, you already know that on April 23 I started a new job with a new employer. In the last three weeks, I have been adapting myself to the new environment. This is not easy to do after being in the same job and the same employer for 9 years.
My new position is still “Oracle Developer” and I’m still based in Portland, Oregon USA. I will be doing SQL and PL/SQL development, Fusion Middleware development like Portal, OID, Business Intelligence and SOA/BPEL, in addition to E-Business Suite. I will be exposed to a broader and different set of Oracle technologies compared to my previous job. As always, I will share my new experiences with you through my blog.
One thing I will not continue doing is ColdFusion. Even though I have not blogged about it for a while, now I know for sure that I will not be using nor blogging about ColdFusion at all. As a result, I have changed the title of this blog to: News, views, tips and tricks on Oracle and other fun stuff. No more ColdFusion.
Because of this transition, my blogging activities have dropped recently. There is a lot of useful stuff I want to blog about. I promise I’ll find the time to write and hit the publish button. However, somehow I always find the time to Twitter. Hey, how much time does it take to write a 140 character blog post?! You can always follow me there.
Thank you for being a loyal reader.
Filed in Personal with 9 Comments | Tags: ColdFusion, job, Oracle, twitterHere is the email I received from Oracle:
Dear Edward Awad,
The history of information technology is a journey, defined by innovations such as the internet and grid computing. Oracle would like to personally welcome you to see the next generation of innovation by inviting you to the launch of Oracle Database 11g.
This is your opportunity to join Oracle President Charles Phillips and Oracle Senior Vice President Andy Mendelsohn, as well as leading industry experts from some of the most innovative companies of our time. Collectively, they will help you understand what’s needed to compete at this point in history, and how Oracle’s latest database release will help meet those needs.
The launch event is going to take place on July 11 in New York city.
Moreover, watch for 11g demos up on Morgan’s Library within a week of the production release.
Filed in Oracle with 1 Comment | Tags: 11g, OracleThis is one of uncle Larry‘s homes. He owns 12 properties in Malibu alone, with a total value of $180 million. This one is only $20 million. It has a cable railway that acts as a shuttle between the mansion and the pool. Impressive!
Source: Haute Living. Via: Valleywag.
Filed in Interesting Stuff, Oracle with 4 Comments | Tags: Oracle, pictureDid you know that you cannot use a bind variable if it has a specific name? And did you know that column names in your tables can be as cryptic as !@#$%^?
SQL reserved words cannot be used as bind variables. For example:
SQL> var to number;
SQL> var from number;
SQL> var where number;
SQL> var myto number;
SQL> exec :to := 1; :from := 1; :where := 1; :myto := 1;
PL/SQL procedure successfully completed.
SQL> SELECT * FROM dual WHERE 1 = :to;
SELECT * FROM dual WHERE 1 = :to
*
ERROR at line 1:
ORA-01745: invalid host/bind variable name
SQL> SELECT * FROM dual WHERE 1 = :from;
SELECT * FROM dual WHERE 1 = :from
*
ERROR at line 1:
ORA-01745: invalid host/bind variable name
SQL> SELECT * FROM dual WHERE 1 = :where;
SELECT * FROM dual WHERE 1 = :where
*
ERROR at line 1:
ORA-01745: invalid host/bind variable name
SQL> SELECT * FROM dual WHERE 1 = :myto;
D
-
X
Update Oct 14 2006: Refer to Ed’s post on how you can use the reserved words as bind variables as long as you quote them.
Someone at OraQA.com asked how to avoid special characters in column names. So, I did a little experiment and discovered that you could create tables with column names containing special characters like punctuation marks, dollar signs, percent signs… pretty much most of the keys on your keyboard. For example:
SQL> set define off
SQL> CREATE TABLE t
2 ("this%is,so-,cool$,man()" VARCHAR2(10),
3 "This@#is^~even+&cooler" NUMBER)
4 /
Table created.
SQL> desc t;
Name Null? Type
----------------------------------------- -------- ---------------
this%is,so-,cool$,man() VARCHAR2(10)
This@#is^~even+&cooler NUMBER
SQL> INSERT INTO t
2 VALUES ('A', 1)
3 /
1 row created.
SQL> INSERT INTO t
2 VALUES ('B', 2)
3 /
1 row created.
SQL> SELECT *
2 FROM t
3 /
this%is,so This@#is^~even+&cooler
---------- ----------------------
A 1
B 2
Now, who would use such column names and why?!
Update Oct 14 2006: Refer to Sergio’s and Marco’s posts for more quotation magic.
Filed in Oracle, Tips with 2 Comments | Tags: Oracle