How to obtain primary key?

paul_heru

Member
Joined
Sep 27, 2005
Messages
14
Programming Experience
Beginner
I want to ask the option in the dataset or in the sqldataadapter , so when the Fill procedure is executed, the dataset.primarykey object contains with primarykey column(s) (definition etc), thanks
 
O and I'd like to ask how to obtain name(s) of the primary key column(s) in sql analyzer( with sys table ), can u give me the query,thanks
 
Back
Top