bug when changing a PROCEDURE to a FUNCTION
Powlin
Posts: 42 Bronze 3
When I convert some already created procedure for example
CREATE PROC IsWasAlreadyClosed(@Call_ID int)
and convert it to
CREATE FUNCTION IsWasAlreadyClosed(@Call_ID int)
When I try to sync the databases the Wizard failed, when I press the Next button on the first step nothing occurs. I need to remove synchronization of the IsWasAlreadyClosed proc/function so that compare will function.
The tools detect that IsWasAlreadyClosed (the procedure) need to be deleted and IsWasAlreadyClosed (the function) need to be created, this is correct but it won't sync.
I need to first run it with the delete and run another synch with the creation.
CREATE PROC IsWasAlreadyClosed(@Call_ID int)
and convert it to
CREATE FUNCTION IsWasAlreadyClosed(@Call_ID int)
When I try to sync the databases the Wizard failed, when I press the Next button on the first step nothing occurs. I need to remove synchronization of the IsWasAlreadyClosed proc/function so that compare will function.
The tools detect that IsWasAlreadyClosed (the procedure) need to be deleted and IsWasAlreadyClosed (the function) need to be created, this is correct but it won't sync.
I need to first run it with the delete and run another synch with the creation.
Comments
We have logged a bug for this issue (SC-4539), and have scheduled it to be fixed in SQL Compare 8.2
I hope this information is helpful for anybody else that might encounter this.