forums › forums › SQLyog › Using SQLyog › Export a single column of a MySQL-Table
- This topic is empty.
-
AuthorPosts
-
-
June 1, 2005 at 8:57 pm #18032
peterlaursen
ParticipantTry to have a look at the tool “syncronization wizard” (Power tools .. database syncronization wizard) It can do a “two-way syncronization”. It does not “export only a single column of a table” but maybe you can still use it ??
but PLEASE PLEASE PLEASE:
read the inline help and read some posts in the forum about “Data Synchronization and SQLyog Job Agent” and understand how it works. And backup your tables before experimenting with it! You must still define one DB as the “source” and another as the “target” You must have an identical Primary Key in the tables, and in case of conflicting Primary Keys (and only then) data from the “source” will overwrite the target.
the answer to your original question
Quote:Can somebody tell me how I can export only a single column of a table?is hard to ansvwer. Export to where ?? But maybe just use a simple INSERT … SELECT statement where you SELECT from existing tabel and INSERT It to new rows a an identical table.
syntax:
INSERT [LOW_PRIORITY | DELAYED] [IGNORE]
[INTO] tbl_name [(col_name,…)]
SELECT …
-
June 2, 2005 at 5:08 am #18033
Manaug
MemberThx for this fast answer!
There are always two backups of my databases 😉
I won't risk to loose all these datas….
I'll try to handle the Synchronising Tool.
If I can't handel it, I'll try it with your second idea.
Thx for both of them…. They seem to be useful.
Have to go to school now and write my final examination in latin.
I'll post my success or if it doesn't work….
EDIT: I was successful with your second idea. Thx a lot!
I'm sorry that I opend a new topic….
Delete it, if you want….
Greets
-
-
AuthorPosts
- You must be logged in to reply to this topic.