Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add support for SQL CASE statements #23

Closed
hisystems opened this Issue Mar 5, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Owner

hisystems commented Mar 5, 2012

Add support for the SQL CASE statement. Only TSQL support is required at this stage.

@ghost ghost assigned hisystems Mar 5, 2012

Owner

hisystems commented Mar 5, 2012

http://msdn.microsoft.com/en-us/library/ms181765.aspx

Simple CASE expression: 
CASE input_expression
     WHEN when_expression THEN result_expression [ ...n ]
     [ ELSE else_result_expression ]
END
Searched CASE expression:
CASE
     WHEN Boolean_expression THEN result_expression [ ...n ]
     [ ELSE else_result_expression ]
END

@hisystems hisystems closed this in 5624eb0 Mar 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment