sql server - Get SQL Table Info -


how can sql table information linked server? have table called "address" , on remote server linked under "server objects"->"linked servers". need know information table. tried exec sp_help 'address' doesnt work remote servers.

you can access information_schema views linked server using qualified domain name. so, data types , columns, example, this:

select *  mylinkedserver.mydatabase.information_schema.columns table_name = 'address' 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -