<xj.yian@my.flextronics.com> wrote:
>
>
>yes , u are right, thanks man, actually my purpose is write a SP to link
>up two different DB together, and i try to use the openrowset, and
>because i need to pass in like user name, pwd into the SPs, so i need to
>declare one varchar(300) to become the Query string, then use the exec
>to get the information, but have some issue i cant use the Openrowset,
>like i need to set ANSI_NULLS ON and etc, and also i cant use Tran, do u
>have any simple example ? pls advise, thanks a lot.
>
>
>*** Sent via Developersdex
http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!