I'm working on a migration Script and trying to make the exec sp_droparticle @Publication=...
calls Idempotent (capable of running over again without error or doing harm)
Typically we'd do something like this:
IF EXISTS (SELECT Object )
BEGIN
exec sp_droparticle @Publication=
END
Q: Is there a nice way to check for Article existence? Tried Scripting from Replication wizard but no luck. Tried Searching internet but no luck.
Thanks
...Ray