TERADATA(2)-Customizing the Interface and Result Set Viewer
๐ Teradata Studio ํ๊ฒฝ ์ค์ ๋ฐ ํ๋ฉด ์ปค์คํฐ๋ง์ด์ง
Teradata Studio ๋ทฐ ๋ณ๊ฒฝ / ํฐํธ ์์ / Result Viewer ์ค์ / ํ ์์ ๋ณ๊ฒฝ ๋ฑ
๐ 1. ํ๋จ ์ฐฝ(History ๋ฑ) ์จ๊ธฐ๊ธฐ / ๋ณด์ด๊ธฐ
Teradata Studio์์ ํ๋จ์ SQL History ๋๋ ๊ธฐํ ์ฐฝ์ด ๊ณต๊ฐ์ ๋ง์ด ์ฐจ์งํ ๋:
- ์ฐฝ ์ฐ์ธก ์๋จ์ minimize( โ ) ๋ฒํผ ํด๋ฆญ โ ์ฐฝ์ด ์ ํ
- ๋ค์ ๋ณด๊ณ ์ถ์ ๋๋ ์๋ ๋ํน๋ ํญ์ ํด๋ฆญํ๋ฉด ๋ค์ ๋ํ๋จ
โ ํ๋ฉด์ ๋๊ฒ ์ฐ๊ณ ์ถ์ ๋ ๋งค์ฐ ์ ์ฉํ ๊ธฐ๋ฅ
๐ 2. ํฐํธ ํฌ๊ธฐ / ์คํ์ผ ๋ณ๊ฒฝํ๊ธฐ
๊ฒฝ๋ก:
Window โ Preferences โ General โ Appearance โ Colors and Fonts
์ฌ๊ธฐ์ ๋ค์ํ UI ์์์ ํฐํธ์ ์์์ ์กฐ์ ํ ์ ์์ต๋๋ค.
๐ธ ํฐํธ ์ข ๋ฅ ์ค๋ช
- ๊ธ์ ์์ A ์์ด์ฝ์ด ์์ผ๋ฉด โํฐํธ ๊ด๋ จโ
- A๊ฐ ์์ผ๋ฉด ๋ฐฐ๊ฒฝ์/์ ๊ฒฝ์ ๊ฐ์ โ์์ ๊ด๋ จโ
๐ธ Dialog Font ๋ณ๊ฒฝํ๊ธฐ
๊ฒฝ๋ก:General โ Appearance โ Colors and Fonts โ Dialog Font
- ์ํ๋ ํฐํธ/ํฌ๊ธฐ ์ ํ
- Preview์์ ํ์ธ
- Apply and Close
๐ โDialog Fontโ๋ Studio ์ ๋ฐ์ ํ์ ์ฐฝ, ๋ฒํผ, ํ(Row) ๋ฑ์ ๊ธฐ๋ณธ ํฐํธ๋ฅผ ์๋ฏธํจ.
์ผ๋ถ ๋ณ๊ฒฝ ์ฌํญ์ ์ฐฝ์ ๋ซ์๋ค ๋ค์ ์ด์ด์ผ ๋ฐ์๋จ
๐ 3. ํฐํธ ๋ณ๊ฒฝ ํ ๋ง์์ ๋ค์ง ์์ ๋
์ธ์ ๋ ์ง Restore Defaults(๊ธฐ๋ณธ๊ฐ์ผ๋ก ๋ณต์) โ Apply ํ๋ฉด ์ด๊ธฐ ์ํ๋ก ๋์๊ฐ๋๋ค.
ํนํ ํฐํธ๋ฅผ ๊ณผํ๊ฒ ํฌ๊ฒ/์๊ฒ ์ค์ ํ์ ๊ฒฝ์ฐ ์ ์ฉํฉ๋๋ค.
๐ 4. SQL Editor ํฐํธ ๋ณ๊ฒฝํ๊ธฐ
๊ฒฝ๋ก:
Window โ Preferences โ General โ Appearance โ Colors and Fonts โ Text Font
์ด ํฐํธ๋ SQL Editor(์ฟผ๋ฆฌ ์์ฑ ์ฐฝ) ์ ์ ์ฉ๋ฉ๋๋ค.
์:
- ๊ตต๊ฒ(Bold)
- ํฐํธ ๋ณ๊ฒฝ
- ํฌ๊ธฐ ๋ณ๊ฒฝ
์ ์ฉ ํ SQL ์ฐฝ ๊ธ๊ผด์ด ์ฆ์ ๋ณ๊ฒฝ๋จ.
๋ณต์์ด ํ์ํ๋ฉด Restore Defaults ์ฌ์ฉ.
๐ 5. ์์(Custom Colors) ์ปค์คํฐ๋ง์ด์ง
Colors and Fonts ๋ฉ๋ด์๋ ์์ญ ๊ฐ์ง ์์ ์ต์ ์ด ์กด์ฌํฉ๋๋ค.
์)
- Error Color (์๋ฌ ๋ฉ์์ง ์)
- View and Editor folders
- Non-Focused Part Color
๋ฑ๋ฑ
์ปค์คํฐ๋ง์ด์ง ์ ์ค์๊ฐ์ผ๋ก UI์ ๋ฐ์๋จ.
โ ์๋ชป ๋ฐ๊ฟ๋ Restore Defaults๋ก ์ธ์ ๋ ๋ณต๊ตฌ ๊ฐ๋ฅ
๐ 6. Result Set Viewer(๊ฒฐ๊ณผ ์ฐฝ) ์ค์ ๋ณ๊ฒฝ
๊ฒฝ๋ก:
Window โ Preferences โ Teradata Datatools โ Result Set Viewer
์ฌ๊ธฐ์ ๊ฒฐ๊ณผ์ฐฝ์ ์ฌ๋ฌ ์ค์ ์ ์กฐ์ ํ ์ ์์ต๋๋ค.
๐ธ 1) ๊ต์ฐจ ์์(Row Alternate Color) ์ผ๊ธฐ
- โDisplay alternate result set rows in a different colorโ ์ฒดํฌ
โ ์ง์ ํ/ํ์ ํ์ด ๋ค๋ฅธ ์์ผ๋ก ํ์๋์ด ๊ฐ๋ ์ฑ์ด ์ข์์ง
๐ธ 2) Column Header ์จ๊ธฐ๊ธฐ / ํ์ํ๊ธฐ
- Column header ์ต์
OFF โ ํค๋(์ปฌ๋ผ๋ช
) ์จ๊ธฐ๊ธฐ
โป ๋น์ถ์ฒ (์ปฌ๋ผ์ ์์๋ณด๊ธฐ ์ด๋ ค์์ง)
๐ธ 3) ๊ธฐ๋ณธ์ผ๋ก ๋ถ๋ฌ์ค๋ ์ต๋ Row ์ ๋ณ๊ฒฝ
๊ธฐ๋ณธ๊ฐ: 2000
์: 1000์ผ๋ก ๋ณ๊ฒฝ ๊ฐ๋ฅ
1 | SELECT * FROM DBC.TablesV; |
์คํ ์:
1 | 2,000 rows exceed limit. Retrieve first 2,000? |
์ด ๋ฉ์์ง์ ๋์ค๋ ์ซ์๊ฐ ํด๋น ์ค์ ์ ์ํด ์กฐ์ ๋จ.
๐ 7. Result Viewer ์ต์ ์ ๋น ๋ฅด๊ฒ ์ ๊ทผํ๋ ๋ฒ
Result Viewer ์ฐ์ธก ์๋จ์ wrench(๐ง ์์ด์ฝ) ํด๋ฆญํ๋ฉด
๋ฐ๋ก Preferences์ ๋์ผํ ํ๋ฉด์ผ๋ก ์ด๋ํ ์ ์์ต๋๋ค.
๐ 8. ์ธ๋ฏธ์ฝ๋ก (;) ์ฌ์ฉ ์ต๊ด ๋ค์ด๊ธฐ
VTEQ๋ ์ฌ๋ฌ SQL ์๋ํฐ์์๋ ๊ฐ SQL ๋ฌธ์ฅ ๋ค์ ๋ฐ๋์ ์ธ๋ฏธ์ฝ๋ก ์ด ํ์ํฉ๋๋ค.
์:
1 | SELECT * FROM DBC.TablesV; |
์ฌ๋ฌ SQL์ ํ ๋ฒ์ ์คํํ ๋ ์ค๋ฅ๋ฅผ ๋ฐฉ์งํ๊ธฐ ์ํด
ํญ์ ์ธ๋ฏธ์ฝ๋ก ์ ๋ถ์ด๋ ๊ฒ์ด ์ข์ ์ต๊ด์
๋๋ค.
๐ 9. ์ค์ ์ ์ฉ ํ ํ ์คํธ ๋ฐฉ๋ฒ
์๋ฅผ ๋ค์ด Dialog Font ํฌ๊ธฐ๋ฅผ ์กฐ์ ํ ํ ๊ฒฐ๊ณผ๋ฅผ ๋ณด๊ณ ์ถ๋ค๋ฉด:
1 | HELP SESSION; |
ํน์
1 | SELECT * FROM DBC.TablesV; |
์ ์คํํ๋ฉด Result Viewer์ ํฐํธ/์์ ์ ์ฉ ์ํ๋ฅผ ์ฝ๊ฒ ํ์ธํ ์ ์์ต๋๋ค.
๐ฏ ์ต์ข ์์ฝ
์ด๋ฒ ๊ฐ์์์๋ ๋ค์์ ๋ฐฐ์ ์ต๋๋ค:
โ ํ๋ฉด ๋ ์ด์์ ์กฐ์
- ํ๋จ ์ฐฝ ์จ๊ธฐ๊ธฐ/๋ณด์ด๊ธฐ
- Reset Perspective๋ก ์ด๊ธฐํ ๊ฐ๋ฅ
โ UI ์ปค์คํฐ๋ง์ด์ง
- Dialog Font
- Text Font (SQL Editor)
- ์์(Color)
- Row Alternate Color
โ Result Set Viewer ์ค์
- ์ต๋ row ์ ๋ณ๊ฒฝ
- ํค๋ ํ์/์จ๊น
- ํ ์์ ๊ต์ฐจ ํ์
โ ์ค์ฉ ํ
- ๐ง ์์ด์ฝ์ผ๋ก ๋น ๋ฅด๊ฒ ํ๊ฒฝ์ค์ ์ด๋
- ์ธ๋ฏธ์ฝ๋ก (;) ์ต๊ดํ
- HELP SESSION์ผ๋ก ์ ์ฉ ๊ฒฐ๊ณผ ํ์ธ
ํ์ํ๋ค๋ฉด:
- ๋ค์ ๊ฐ์ ๋ด์ฉ๋ md ํ์ผ๋ก ์์ฑ
- ์ด๋ฏธ์ง ํฌํจ ๋ฒ์
- GitHub README ์คํ์ผ
- PDF ๋ณํ
์ธ์ ๋ ์์ฒญํด์ฃผ์ธ์!
