Showing posts with label pwd. Show all posts
Showing posts with label pwd. Show all posts

Tuesday, 20 March 2012

connect to another server from a stored proc

I have a stored proc that receives the connection string detials like servername, dbname, tablename,userid, pwd as parameters. how do i connect to that particular database on that server with the userid and pwd details ?

thanks
D.found my answer..used OPENDATASOURCE.

thanks for anyone that tried.