What should you do if you have an anydata column in a queue table and you don’t have any tool to read from it(sqldeveloper doesn’t support it natively)?
I have written some code to extract all the information from such a column and print it, whatever the content would be.
You can find out more Continue reading
On friday my quiz was on the PL/SQL Challenge.
Topic: “Guidelines for Designing Triggers: Avoid Non-Transactional Logic in DML Triggers”
Yes, about “statement restart” :-)
My idea about the quiz was “making developers aware of the Oracle behaviour”.
And I hope a lot of PL/SQL developers learned from it.
It wasn’t easy to come up with the question, the way of asking, the correct words, the answers…
But after a lot of mailing between Steven and the reviewers we finally had a quiz.
A lot people had it wrong, but I hope they don’t mind and are now aware of statement restart.
For more information and discussion about the quiz: PL/SQL Challenge blog
Steven Feuerstein started last year the PL/SQL Challenge, a quiz about…PL/SQL!
What else could one expect from Steven ;-)
The PL/SQL Challenge is an interesting quiz to test your PL/SQL knowledge and win some great prizes(up to $1000!).
Not only it’s about testing your knowledge, but also about learning a lot PL/SQL(even experienced developers can learn!).
At iAdvise and O2U we have some great PL/SQL developers and to prove that: we are the number one company in the PL/SQL challenge in the last quarter of 2010 and leading in this quarter.
We have three players in the top 100 this quarter of which one is in the top 20. And this with over a 1000 participants each day. Not bad I would say.
Not only the experienced players are participating and doing very well, but also our young Apex developers are doing great(one of them was in the beginners top 10 in December).
In the days of Java, E2.0, SOA, Fusion etc… don’t forget the roots: PL/SQL is still the preferred language on the database!
So, come out and play…and maybe win some prizes at the PL/SQL Challenge.
Something I really often use is this select:
SELECT distinct type,line,name,text
WHERE lower(Text) LIKE(‘%’||lower(:search_source)||’%’)
SELECT distinct ‘column’ type,null line,table_name||’.’|| COLUMN_NAME name,null
WHERE lower(COLUMN_NAME) LIKE(‘%’||lower(:search_source)||’%’)
SELECT DISTINCT ‘table’ type,null line,object_name name,null
WHERE object_type IN (‘TABLE’,’VIEW’)
AND lower(object_name) LIKE(‘%’||lower(:search_source)||’%’)
ORDER BY type,name,line
This select will show you most of the database objects in a schema(columns, table,view,code), where this ‘search_source’ string is used.
You can add this into you sqldeveloper as well, as a user defined report.
To accomplish this you will have to do the following steps:
1) Open sqldeveloper
2) go to Reports tab(If you don’t see this tab go to the Menu choose view->Reports
3) right-click ‘User Defined Reports’ -> add Report -> give name and put the sql code as above into SQL input screen(you can leave the rest as default)
You can use this Search in sqldeveloper now.
iAdvise organises a seminar on Forms modernization.
During this seminar we will show you how you can modernize your Oracle Forms applications, give it a rich look and feel, and adopt the latest technologies without throwing away years of investment in Oracle Forms.
We will show you how you can combine the power of an Oracle Forms application with functionality from external application (javabeans, pluggable java components, webservices,…) and how you can give a Forms application a modern “look and feel”.
Also part of this seminar is an overview of the new features in the latest Oracle Forms release(11g)
When: June 1, 2010
Where: iAdvise office, Kontich
Congratulations to Nathalie Roman for being Oracle Fusion Middleware Developer Of The Year.
Nathalie is already Fusion Reginal Director for Belgium and has been awarded for all her delivered work.
The article in Oracle Magazine:
Recently we have been working with Adobe Flex and Live Cycle Data Services, part from some little bugs the products seems great. The only thing that stops me from using more Flex is the fact that you need to have a license to use Adobe Live Cycle Data Services and not all customers are interested to make this investment.
So I was looking for a solution and came across this nice example of Mike Potter. He demonstrates how you can use flex with php in order to update a mySQL Database. This should also be possible in Oracle I thought, using mod pl/Sql. Let’s give it a try:
The first thing I wanted to accomplish was to display data from an Oracle database into my flex application. I will use xml to retrieve and display my data.
I started by making a new flex project with a custom component were I implemented a simple datagrid where I would display my retrieved data.
The next thing to do was to let Oracle display some xml so I could retrieve this back into my flex application. I will do this a simple as possible and just use the htp.p function in order to display some static xml:
I then called my procedure in my browser and checked of the xml is correctly generated:
This seemed correct, now I had to retrieve this data into my flex application. I will use the HTTPService tag in mxml to do this. As url property I gave the same location I typed in my browser to check the xml. Now complete your HTTPService with the right resulthandler, I used an Arraycollection to store my data and specified it as dataprovider in my datagrid. The result was what I hoped for:
This is the most simple example of course, but now I’m launched for some further research.