in Sqoop by
How will you update the rows that are already exported? Write sqoop command to show all the databases in MySQL server.

1 Answer

0 votes
by

By using the parameter – update-key we can update existing rows. Comma-separated list of columns is used which uniquely identifies a row. All of these columns are used in the WHERE clause generated UPDATE query. All other table columns will be used in the SET part of the query.

The command below is used to show all the databases in MySQL server.

$ sqoop list –databases –connect jdbc:mysql://database.test.com/

...