Skip to content

Instantly share code, notes, and snippets.

@sqlparser
Created April 8, 2014 07:08
Show Gist options
  • Save sqlparser/10098765 to your computer and use it in GitHub Desktop.
Save sqlparser/10098765 to your computer and use it in GitHub Desktop.
Create table statement
CREATE TABLE dbo.mytable ( low int, high int, myavg AS (low + high)/2 ) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment