SERPland Oracle, PL/SQL, PHP, Autos, Bungalow-Hotels and more …

7Nov/070

Enterprise Architect (EA) – UML model with Use Case Metrics – pragmatic approach


Great! In Sparx System's Enterprise Architect you can model UML and also take advantage of the Use Case Metrics.
Using metrics in software developement projects is essential!

Enterprise Architect (EA) - Use Case Model with metrics

7Nov/073

Calculate next (this) friday date with pl/sql – hide out!


Today I needed a PL/SQL funtion to determine next friday's date.
Therefore I had to write a strange PL/SQL function. I'm kind of mixed up - am I complicated?

I'm sure there's a pretty simple Oracle solution out there - hide out!

Hopefully Steven Feuerstein never sees this lines of code. Maybe someon has a better idea than this ....

7Nov/070

With Oracle10g Database many new features on case-, accent- and linguistic idependent query and sort functions


Some really nice additional functionallty for sql and pl/sql developers has been shipped with Oracle10g.

Ever tried to search for almost similar string matching?

With Oracle10g's new database linguistic sort functions you can do it!

How to set up / enable linguistic sorting

alter session set NLS_COMP=ANSI;
alter session set NLS_SORT=GENERIC_BASELETTER;

Burleson Consulting - Oracle10g case insensitive index searches

ALTER SESSION SET NLS_COMP=ANSI;
ALTER SESSION SET NLS_SORT=GENERIC_BASELETTER;

http://sql-tips.de/index.php/Gro%C3%9F-/Kleinschreibung_bei_der_Suche_ignorieren

ALTER SESSION SET NLS_SORT='GENERIC_M_AI';

http://forums.oracle.com/forums/thread.jspa?messageID=1325991

About linguistic sorting on Oracle Docs

http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96529/ch4.htm

http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10749/ch5lingsort.htm