forums › forums › SQLyog › SQLyog: Bugs / Feature Requests › Migration Tool – Column Mappings
- This topic is empty.
-
AuthorPosts
-
-
April 18, 2006 at 2:31 am #9621scottahMember
Sometimes I can edit the column mappings, other times I can't, it seems completely inconsistent… What do I need to do to be able to edit the column mappings?
-
April 18, 2006 at 4:35 am #21255ManojMember
Can you post little more details like how to reproduce it. Actually i am not able to find any inconsistencies
-
September 15, 2006 at 2:00 am #21256scottahMemberManoj wrote on Apr 18 2006, 04:35 AM:Can you post little more details like how to reproduce it. Actually i am not able to find any inconsistencies
Just occured again… I think it occurs where you are using an existing job xml file, so that it sees a new column in your SOURCE SQL, and it sees the field of the exact same name in the TARGET table, it lists the match in the mappings table, however it won't let you tick it because it is not listed in the XML job file.
I have got around it by editing the XML file directly
-
September 15, 2006 at 3:00 am #21257peterlaursenParticipant
Does a column exist in advance in MySQL with that name?
If so and 'import into existing table' is selected your (new) mapping has no effect of course!
It is absolutely not just because you are reading from a XML-file.
You can easily verify yourself!
Please answer precisely: What does it mean that you 'can't edit mappings'.
Does not the dropdown respond or does your choice just not take effect?
It is always more precise to describe what happens compared to what does not happen <_<
-
September 15, 2006 at 3:16 am #21258scottahMember
You know I always wondered why if you clicked the 'reply' button and not the 'quote' button, your reply would come prepopulated with the quote anyway, but have just then discovered the quote button is a toggle.
*ontopic* As stated earlier, the mapping DOES appear in the mappings list (the list of source columns and target columns and field data types etc).
Each row (an individual column mapping) has a tickbox at the start of the row.
None of these tickboxes are editable, ie, I cannot toggle them on and off. This usually doesn't bother me, as I am usually importing from access to mysql with all exact same fieldnames, and the column mapper recognises them all and ticks them *all* accordingly.
Sometimes however, it leaves a particular mapping unticked, and I cannot tick it. Upon investigation into the job xml file, it appears that the column from neither source nor target is listed at all.
*THis particular time it occured when i was using an existing import job file.*
I have just gone through the process of NOT using the existing job file, and started from scratch, using the same SQL to pull the data… selecting the same existing table
This time, as expected it mapped all the columns, and forcefully ticks every one ( i cannot untick them).
edit: forgot to mention field exists by the same name in both tables, both are numbers
-
September 15, 2006 at 3:49 am #21259peterlaursenParticipantQuote:Upon investigation into the job xml file, it appears that the column from neither source nor target is listed at all.
Now do I understand you correctly like this:
1) You did an import some time ago, and saved the jobfile
2) You have since then added a column to the3) You cannot after that add the new column and its mapping options using your existing jobfile?
If that is it it would also be interesting to find out what happend if you had deleted a column from…. or changed indexes and similar things!
-
September 15, 2006 at 4:16 am #21260scottahMember
1) You did an import some time ago, and saved the jobfile
Yes
2) You have since then added a column to theYes
3) You cannot after that add the new column and its mapping options using your existing jobfile?
Yes
If that is it it would also be interesting to find out what happend if you had deleted a column from…. or changed indexes and similar things!
Yes it would.
Whats the deal anyway, why can't I tick/untick those rows???
-
September 15, 2006 at 4:21 am #21261peterlaursenParticipant
we need to research into that!
Please answer: did you enter a query or use the GUI in the first place?
-
September 15, 2006 at 4:27 am #21262scottahMemberpeterlaursen wrote on Sep 15 2006, 04:21 AM:Please answer: did you enter a query or use the GUI in the first place?
Not sure I follow….
The first time I just did a direct copy of the table, no query.
The second time I needed only a subset, so I used a query…
-
-
AuthorPosts
- You must be logged in to reply to this topic.