Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New ID...
Message
From
03/08/2000 21:01:37
 
 
To
03/08/2000 12:12:23
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
Miscellaneous
Thread ID:
00400393
Message ID:
00400818
Views:
15
Doesn't a trigger fire after a successful insert? If so, then I don't pass a Pk value, i would get a null not allowed error and the insert trigger woudn't fire.

Am I wrong on this?

>Bob,
>
>Couldn't you turn this stored procedure into an insert trigger on the table?
>
>John
>
>
>>We have a stored procedure that gets the next available ID for a table, from a table that holds ID's... Is there any way to use this stored procedure as the default for the primary keys?
>>
>>Thanks,
>>BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform