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.
My bonus question: CURRENT_TIMESTAMP is database dependendt. It could also be NOW() or GETDATE(), but I'm using mssql/odbc. Does pypika have a variable for it?
Hi, Given this SQL statement I can create a new table with an pk that increments itself.
Is there an equivalent way to do it with pypika?
My bonus question: CURRENT_TIMESTAMP is database dependendt. It could also be NOW() or GETDATE(), but I'm using mssql/odbc. Does pypika have a variable for it?