HANAstudioインストールからHANADB接続まで[Windows]

#ファイルのダウンロード
※追記更新しているのでファイル名は異なります。
Software Downloads → SUPPORT PACKAGES & PATCHES → By Alphabetical Index (A-Z) → H(注意！) → SAP HANA PLATFORM EDITION → SAP HANA PLATFORM EDITION 2.0 → SAP HANA STUDIO 2

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/55950571-c4c0-4252-b978-e534528e9baa.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/342a7a6c-a240-408f-8e5c-534025387dbf.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/fa6a45e7-9b5b-4fb1-aba8-14da4b3a1cac.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/99da1a38-ac4e-4021-aca7-c242e4de97be.png)

# SARファイル解凍
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/60bf98ef-4d43-62cc-cb2f-ab5fff753041.png)

# hdbsetup.exeダブルクリック
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/e80bfe4c-0645-9db3-e120-2badb719877f.png)


>hdbsetup.exe - GUI installation
hdbinst.exe - Command line installation

hdbinst.exeはコマンド用のexeです。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/8abd3217-b658-ae89-2f65-f9014894ad15.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/647eae8f-de8c-8571-d173-1bd117aadadb.png)

デフォルトで全て選択されています。各機能の説明はこちら。

>SAP HANA Studio Administration
>
>Toolset for various administration tasks, excluding transportable design-time repository objects. General troubleshooting tools like tracing, the catalog browser and SQL Console are also included.
>
>SAP HANA Studio Database Development
Toolset for content development. It addresses, in particular, the DataMarts and ABAP on SAP HANA scenarios, which do not include SAP HANA native application development (XS).
>
>SAP HANA Studio Application Development
Toolset for developing SAP HANA native applications (XS and UI5 tools). SAP UI5 Tools are not included.
>
>By default, all features are installed.

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/4faec8aa-cee4-5776-ebae-022bda0ccbb7.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/77fcc47d-a287-5d4a-5538-10e880683a7c.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/d6d353a3-6031-26e3-4035-dc1dc834bc8f.png)
![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/067a23ed-8930-b689-e1bd-2397fe64b07a.png)



![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/8a81c9fa-5c16-71d8-147d-936209059d1c.png)

# 左:テナントDB 右:システムDB 接続情報

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/db702f57-0553-2c49-f3c5-1eb9a81d71c4.png)

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/6127f166-78fa-3e25-f763-b17b45c3ff69.png)
Store user name and passwordしていた方が毎回入力しないで済みます。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/2821335/d8c50667-eb6a-f0fb-44d3-2ed0724184eb.png)


# 参考文献(SAPガイド)
https://help.sap.com/docs/SAP_HANA_PLATFORM/a2a49126a5c546a9864aae22c05c3d0e/f64e0e6f622a4217bdbe6b489f7dc690.html?locale=en-US&version=2.0.03