suggest_alias
Generate a BSG-standard table alias from a SQL object name, detect conflicts with existing aliases, and suggest alternatives.
Instructions
Generates a BSG-standard table alias from a SQL object name. The alias is built from the first letter of each PascalCase word after stripping the prefix. Detects conflicts with existing aliases and suggests alternatives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | The SQL object name (e.g., 'T_FaseOportunidad', 'T_ActividadDetalle') | |
| existing_aliases | No | Already-used aliases in the query context (to detect conflicts) |