ChBaeumer wrote:
My main concern is the part which is normally inside the database like views, functions, stored procedures, triggers, ...
Normally a lot a things is done inside the database, like consistency checks, actions on delete, insert and update, functions which gather values for views and so on.
If you have them now inside SqlServer, you of course have to move them towards Oracle as well.
The question is how to I move this code into the layer whithout to much performance loss in a scenario where many clients access the database directly.
And yes, I do use Guids as PK because they make in our scenario life easier ;-)
Triggers should be ported, as doing things outside the DB in a trigger like way can be cumbersome. consistency checks and the like can be moved towards the BL tier, you probably lose some cycles due to the move of data outside the DB but that shouldn't be much.
GUIDs are a problem, Oracle doesn't have a type which can mimic them, the most likely candidate is a varchar2 but that's not that optimal.