Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
SQL script order of execution

I have multiple SQL scripts that need to be executed during deployment. I've packaged them with my app in the "sql-scripts" folder. In my case the order in which they are executing is important.
I understand that the entire file path is used and then scripts are executed in alpabetical order based on that.

My question is: Can I number my scripts by having the script names start with a number and when will those scripts be executed relative to scripts that only have non-numeric alphabet characters in their name / path?

For example in what order will scripts be executed if I have this structure:

sql-scripts (folder):
            -> refresh_tableau_report (folder):
                                  -> vw_stockupdate_history.sql
                                  -> vw_tableau_subsets.sql
            -> 01-grant_permission_external_readonly.sql
  
  
Posted 4 years ago
Votes Newest

Answers

122 Views
0 Answers
4 years ago
4 years ago
Tags