Skip to content

Commit

Permalink
Add order by for SQL server
Browse files Browse the repository at this point in the history
  • Loading branch information
burrowse committed Jul 24, 2024
1 parent a534899 commit f3a4a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/sql/sql_server/cdm_version/v531/insert_location.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ zip,
location_source_value
)
select
row_number() over () as location_id,
row_number() over (order by city,state,zip) as location_id,
locations.*
from
(select distinct
Expand Down

0 comments on commit f3a4a0a

Please sign in to comment.