HI,anyone know how to check every single record that we have been inserted in sql server?either exist or not..please help.
shuhana84 0 Light Poster
Recommended Answers
Jump to Postyou mean u want to verify the row already exist or not in SQL? IF not exist u want insert if exist dont insert?
Jump to PostGet all the excel values into dataset and do loop and compare..
Jump to PostUr comparring the literal strings here so try using TRIM function on both side..
And why ur doing the loops seperately?.
you need to compare all the postcode with zipcode right?you can write one sp which takes Postcode as paramaeter and do the search in DB instead doing …
All 10 Replies
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
shuhana84 0 Light Poster
Pgmer 50 Master Poster Featured Poster
shuhana84 0 Light Poster
shuhana84 0 Light Poster
Pgmer 50 Master Poster Featured Poster
shuhana84 0 Light Poster
shuhana84 0 Light Poster
shuhana84 0 Light Poster
Pgmer 50 Master Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.