Retrieving Foreign key schema with da.FillSchema. Is it possible?

  • Thread starter Thread starter A.Neves
  • Start date Start date
A

A.Neves

Hi,


I'd like to retrieve database schema using OleDbDataadapter.FillSchema, but
I couldn't find how to retrieve foreign Keys. Is It Possible? How?


Any help would be very much apreciated. Thanks.
 
I do not know if schema fills that much even on SQLServer.
Try for SQLServer sp_fkeys, if you use other database tell and you will get
the apropiate catalog view
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top