Importing data from RDBMS using SQOOP
<p>I am trying to import data from SQL server database to Hive. Basically I am importing the whole database(except some tables) to Hive. Here I have some questions which I couldn't get answer from anywhere.</p>

<ol>
<li>Can we use "--hive-import" with import-all-tables and --exclude-tables. ? If not, once I load all the tables into hfds, how do I use create external table option for building metadata for all the tables?</li>
<li>Can we specify the hive database name anywhere in sqoop import command. ?</li>
</ol>

<p>Thanks.</p>