Primary Keys in DataTables

  • Thread starter Thread starter Brandon Owensby
  • Start date Start date
B

Brandon Owensby

I am doing a little research to see the extent in which datatables can be
used. Is it ok to use any object as the primary key of a datatable or are
there guidelines as to which objects can be used?

Thanks
Brandon
 
I suppose you can use any "object" as a primary key as long as it is
unique.

I personally like to use fields of integer type that I can automatically
increment.
 

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