Ok, I'm back again.
I've got the following table.
TableName = tblOriginal
uid - self explanatory
firstName - self explanatory
lastName - self explanatory
groupMaster - contains a numeric string containing 21 digits.
My question surrounds the 'groupMaster' field.
I need the first four groups of three, from the right to be inserted into another existing table, along with the other corresponding fields.
sample string from groupMaster: 333444555666777 888999
Looking at the above string:
999 will be inserted into tblMaster.group 3
777 will be inserted into tblMaster.group 2
666 will be inserted into tblMaster.group 1
*all other fields will insert into corresponding names.
TableName = tblMaster
uid
firstName
lastName
groupMaster
group1
group2
group3
As always......... ...thanks in advance!!!
I've got the following table.
TableName = tblOriginal
uid - self explanatory
firstName - self explanatory
lastName - self explanatory
groupMaster - contains a numeric string containing 21 digits.
My question surrounds the 'groupMaster' field.
I need the first four groups of three, from the right to be inserted into another existing table, along with the other corresponding fields.
sample string from groupMaster: 333444555666777 888999
Looking at the above string:
999 will be inserted into tblMaster.group 3
777 will be inserted into tblMaster.group 2
666 will be inserted into tblMaster.group 1
*all other fields will insert into corresponding names.
TableName = tblMaster
uid
firstName
lastName
groupMaster
group1
group2
group3
As always......... ...thanks in advance!!!
Comment