MSSQL.validate_column_names¶
- MSSQL.validate_column_names(table_name, schema_name=None, column_names=None)[source]¶
Validate column names for use in a SQL query statement.
- Parameters:
table_name (str) – Name of the table.
schema_name (str | None) – Name of the schema where the table is located; defaults to
None
.column_names (str | list | tuple | None) – Column name(s) to validate for a dataframe.
- Returns:
Validated column names formatted for a SQL query statement.
- Return type:
str
See also
Examples for the method
create_table()
.