Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
[code]Insert into TestSelect @DB, @DB_Name, @Date, @Quantity Where exists(select * from SomeTable where ID = @ID)[/code]Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED"