PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.
In my SQL Server, I have some fields that have spaces in their names such as "Document Type", having issues in building a query to filter using this fields.
q = MSSQLQuery.from_(query_table).select(
queryColsadj).where(query_table.Document Type != "Order")
How do I reference the field name in the query if it has spaces?
Hi,
In my SQL Server, I have some fields that have spaces in their names such as "Document Type", having issues in building a query to filter using this fields.
How do I reference the field name in the query if it has spaces?