Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure the queries for the most recent data is correct #2

Open
eeeschwartz opened this issue Sep 18, 2014 · 0 comments
Open

Make sure the queries for the most recent data is correct #2

eeeschwartz opened this issue Sep 18, 2014 · 0 comments
Labels

Comments

@eeeschwartz
Copy link
Member

For code enforcement:

SELECT * from vw_OpenData_CodeEnf_Cases 
WHERE Cast(StatusDate as datetime) >= dateadd(day,-1,getdate())
ORDER BY Cast(StatusDate as datetime) DESC;

and building permits:

SELECT * 
FROM vw_OpenData_BI_Permits 
WHERE Date >= dateadd(day,-1,getdate());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant