Glad to hear it worked out!
>>>Dug out my 6.5 reference:
>>>
>>>SELECT database.owner.table
>>
>>And if you don't know the owner, it should be...
>>
>>database.dbo.table
>>
>>Wayne
>
>Thanks guys, I was asking how to execute a stored proc for a particular database. I found that you can specify which database by simply attaching the path to the sp name i.e.=SQLEXEC(connection,"{Call database.owner.sp_name}")
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05