Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MS SQL mutate(ifelse()) translation not working #93
I'm running into an issue when using mutate and ifelse (or if) on a SQL Server backend. The following sample query:
... will give the following translation:
Which will return an error. The correct translation should be:
Will correcting this in the mssql_if function create any issues in other queries, or is there a better way to do mutate(ifelse()) in mssql?