News

If you run this, only use the output to validate result correctness. Do not run any of the output scripts without thorough review and testing, as doing so may be harmful to your database performance.
SQL development is evolving fast, and Microsoft's Drew Skwiers-Koballa will explain it all in a featured session at the VS ...
CE_OI, LAG(CE_OI) OVER (PARTITION BY expiry_date, strike_price ORDER BY timestamp) AS prev_CE_OI, (CE_OI - LAG(CE_OI) OVER (PARTITION BY expiry_date, strike_price ORDER BY timestamp)) AS CE_OI_Change, ...