Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call function in different database

Status
Not open for further replies.

SteveDingle

Programmer
Jul 26, 2004
254
GB
Hello All,

I thought I posted this yesterday but can't find a record for it. (Hope I didn't put in wrong forum)

SS2K - I would like to call the fn_listextendedproperty from an SP in a different database (same server) and can't figure out the syntax I would use

Thanks very much
Steve
 
Hello ca8msm,
Thanks for quick response, sorry for being dense but I am not sure "where" I put that format. For instance the function parameters for a field column property would be:

fn_listextendedproperty(
'MyProperty',
'user',
'dbo',
'table',
'MyTable',
'column',
'MyColumn'
)

Can't figure out where the database name would go.

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top