Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> IDENTITY property (MS SQL Server code port)
Our company is considering porting our existing application (an _Extremely_ large wharehouse automation system) from MS SQL Server to Oracle 7.3 for Windows NT.
We have had quite a few things that made us uneasy about this port, including a copious ammount of GPFs and general goofiness with the oracle products. (I had my first 4 access violations from the oracle tools before I even got the instance running)
We have just hit another brick wall: Porting columns with the IDENTITY property.
The Identity property is a MS declarative constraint that makes the specified column automaticly take the next available value. This was too tempting to resist using for many of our primary keys. We have perhaps 200 tables with the identity property on their primary keys, and multiples of that number of points in our code where we are inserting into those tables (and therefore not specifying a primary key).
Our problem is that we cannot find an equivolent functionality with Oracle 7.3 Workgroup Server.
I understand that I could write about 200 Before Triggers to furnish these values, but this seems like an option of last resort, due to the size and tediousness of the task, as well as concerns about the efficiency of such a solution.
If any of the Oracle gurus out there could give me any advice.
Specifically, my questions are these:
Any help would be very much appreciated. We will be making our decision about oracle migration (to be or not to be) within the next few weeks.
Thanks a bunch! Received on Tue Jun 10 1997 - 00:00:00 CDT
![]() |
![]() |