Hi all,
I have this complex Stored Proc
1. Drip tables if exist
2. build table using SELECT INTO from Linked Servers
The problem is it will drop table before it makes connection to Linked Servers. It connection failed, I don't have tables and many application failed. I want to somehow check connectin to Linked Servers before attemp to drop and re-build table. Yes, I prefer to use DROP table than DELETE FROM for many reasons.
Can anyone point me to the right direction?
Thanks
dk
I have this complex Stored Proc
1. Drip tables if exist
2. build table using SELECT INTO from Linked Servers
The problem is it will drop table before it makes connection to Linked Servers. It connection failed, I don't have tables and many application failed. I want to somehow check connectin to Linked Servers before attemp to drop and re-build table. Yes, I prefer to use DROP table than DELETE FROM for many reasons.
Can anyone point me to the right direction?
Thanks
dk