Friday, May 30, 2014

Table with adds and subtracts, trying to get the balance



VolumeOrNumber *-1
is bad SQL; we have unary operators. It is like a grammar error in English.



--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking in Sets / Trees and Hierarchies in SQL


No comments:

Post a Comment