Importing GEDCOM DB Files to SQL Server
Greetings
I successfully imported 2500+ records (individuals) from the Ancestry.com site in gedcom format to SQL server using "GEDMagic".
Unfortunately, the individual/spouse connection is not imported.
However, they were imported into SQL Server in PK pairs- John Smith is PK ID 200 & his spouse, Mary is PK ID 201.
Each pair is one PK number + or -
I am trying to avoid physically entering 2500 corresponding spouse ID's- I only have so much time left on earth.
My question is- has anyone had experience dealing with importing GEDCOM db files to SQL, and/or at least advise a strategy to select the individual and his/her spouse easily with a query?
I tried
<cfquery name="get_ID" datasource="#Request.BaseDSN#">
SELECT ged_ID
FROM ged_main
</cfquery>
<CFSET plusone =#get_ID.ged_ID# + 1>
<CFSET minusone =#get_ID.ged_ID# - 1>
<cfquery name="find_spouse" datasource="#Request.BaseDSN#">
SELECT *
FROM ged_main
WHERE ged_ID = #plusone#
OR ged_ID = #minusone#
ORDER BY ged_lastname ASC</cfquery>
No luck with this-
Thanks in advance
N.B.
