# sql: Scan error on column index 0: unsupported Scan, storing driver.Value type int64 into type *string

- **ID:** `go/sql-unsupported-destination`
- **Domain:** go
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

数据库列类型与目标变量类型不匹配，如将整数扫描到字符串。

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.21 | active | — | — |

## Workarounds

1. **** (90% success)
   ```
   确保目标变量类型与数据库列类型一致，或使用sql.Null类型。
   ```

## Dead Ends

- **** — 强制类型转换可能丢失数据。 (50% fail)
- **** — 忽略错误导致数据错误。 (60% fail)
