What are you trying to achieve here??
select null from login - i have never seen select null.
If required you can use IS NULL and IS NOT NULL operators instead.
What have i understood out of your code is you want to identify what is in database and not present in your excel or vice versa.
please keep a field as LastUpdated and increment it to now() whenever you are adding simething. And next time when you will be back just check what values are missing and import those. We call it delta imports.
Please help me to understand if this is what you want.
The logic, you pointed out, seems to be workable... I can't get how do you get all excel values printed, using this query:
How can you get values in 1st and 2nd columns of result set, using this:
when your rs1 should contain only 1 column, named "null"?
sai rama krishna
Ranch Hand
Joined: May 29, 2009
Posts: 133
posted
0
>>What have i understood out of your code is you want to identify what is in database and not present in your excel or vice versa.
That is correct.
>>>please keep a field as LastUpdated and increment it to now() whenever you are adding simething. And next time when you will be back just check what values are missing and import those. We call it delta imports.
Can you please provide some sample code, links, resources to achieve this.