---
title: "TAN"
description: "TAN SQL\u95A2\u6570\u306F\u3001\u6307\u5B9A\u3055\u308C\u305F\u89D2\u5EA6\u306E\u6B63\u63A5\u3092\u8FD4\u3057\u307E\u3059\u3002"
language: ja
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/ja/docs/invantive-universalsql/grammar/sql-functions/tan
original: https://documentation.invantive.eu/en/docs/invantive-universalsql/grammar/sql-functions/tan
updated: 2026-12-04T14:34:50Z
license: https://documentation.invantive.eu/ja/
---

## 構文
```mermaid
%%{init: {
  'theme': 'base',
  'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
  'themeVariables': {
    'fontSize': '11px',
    'fontFamily': 'Arial'
  }
}}%%
flowchart LR
    Start((START)) --> TAN[TAN]:::quoted
    TAN --> End((END))
```

## 目的
`TAN` SQL関数は、指定された角度の正接を返します。 関連項目：[[ATAN]]および[[ATAN2]]。

パラメータ:
- 入力 (`decimal`): 正接を求める角度。

戻り値: 指定された角度の正接を表す数値。

## 例
`TAN` は次の角度の正接を取得します:
```sql
select tan(0)

--------
0
```
次の例では、1 ラジアンの角度の正接を取得します:
```sql
select tan(1)

----------------
1.5574077246549
```

