Hello,
I too have a question about Mandatory Keys (SQL Server 2008 R2). In the SQL textbox, I put: DECLARE @pl_id decimal(16, 0) EXEC [dbo].[sp_get_primary_key_v2] 'user', 'id_employee', 1, @pl_id
and then click the test key and it works fine, showing the newly acquired Primary Key. Then I click OK and lose everything except the 'declare' portion of the statement.
1. Can we use stored procedures? The test worked fine but the statement was not saved.
2. If we can use sproc, this one has an output variable, @pl_id, is that causing the issue?
I am using Oct release, 32 bit, Wndows 7, Outlook 2010. Thanks in advance.