Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

DROP table if exists in different database in the proc

$
0
0

hi ,

         I tried searching,but i couldnt get sql code my questions is.

   suppose a procedure  is running on x database the tables inside belong to y database.I need a syntax for that  tables which existing in Y database to drop table if exists and create statements .

Please help me on this


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>