You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't doubt that there are occasionally justifiable usages of the above pattern. But it is certifiably useful alongside {cross,outer}Apply, where the current row is just being laterally extended:
select users.ID, computedUserAge.xage
from users
cross apply (
select 42 + users.age as xage
) computedUserAge
where computedUserAge.xage > 999
Maybe this can be as simple as updating SqlServerGrammer.cfc to override compileFrom:
private string function compileFrom( required QueryBuilder query, required any from ) {
var clause = super.compileFrom(
query = query,
from = from
)
if (trim(clause) == "from") {
return ""
}
else {
return clause;
}
}
The text was updated successfully, but these errors were encountered:
In MSSQL, the following is valid
I don't doubt that there are occasionally justifiable usages of the above pattern. But it is certifiably useful alongside
{cross,outer}Apply
, where the current row is just being laterally extended:Maybe this can be as simple as updating SqlServerGrammer.cfc to override
compileFrom
:The text was updated successfully, but these errors were encountered: