Hi
I want to import data from excel into Sql.
I have 3 fields - PersonId , Name , Salary. I want PersonId should not be duplicate. How we can do this
Thanks
Hi
I want to import data from excel into Sql.
I have 3 fields - PersonId , Name , Salary. I want PersonId should not be duplicate. How we can do this
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Muhammad Imran AnsariPosted Mar 17, 2022, 3:13 PM
Jignesh KumarPosted Mar 15, 2022, 7:15 AM
Hi,
you can remove duplicate from your datatable using this,
Jagjit SainiPosted Mar 15, 2022, 7:01 AM
Jignesh KumarPosted Mar 15, 2022, 3:01 AM
Leon DPosted Mar 15, 2022, 1:17 AM
Srinivasan RamamoorthiPosted Mar 14, 2022, 1:30 PM
Satya KarkiPosted Mar 14, 2022, 12:44 PM
Satya KarkiPosted Mar 14, 2022, 12:41 PM
New PersonId= GetMaximum PersonId from your table +1
Md SarfarajPosted Mar 14, 2022, 9:39 AM