We have a view definition which internally uses other 5 views. When we use a RoundhousE to execute the database scripts, these view scripts are getting executed in alphabetical order. Hence out of these 5 views, which are used inside the main view, only 3 views are getting executed ahead of the main view and rest 2 views are not yet created and hence the main view script throws error. How can we solve this apart from renaming the views?
Can we create a view which refers to a view which is not exist at that point of time?
102 Views Asked by Rajesh Bhat At
1
There are 1 best solutions below
Related Questions in SQL-SERVER-2008
- How to create separate rows for each unique value in source data
- How to Multiply all values within a column with SQL like SUM()
- Concatenated string in column alias
- Column value divided by row count in SQL Server
- MSSQL Bulk Insert CSV - Multiple columns include commas
- String to DATETIME with TimeZone
- Compare each records of same table in sql server and return duplicates
- 2008R2 SQL Code for case when using the SUM?
- Separate string into columns
- Pass parameters to sql agent job step (Transact-SQL Script)
- using Case get values from different table in sql server
- How to use Replace an unknown length of characters in SQL Server?
- Join Multiple table without using joins
- call an sql function by name returned by select
- How to create a check (Table A.Id and Table B.Id and TypeId = 1)?
Related Questions in VIEW
- Serve arbitrary html in angular data bind
- Switching CSS Just for that view?
- Setting % of a background color programmatically
- Change the View BackgroundColor on Tap
- Pass html.dropdownlistfor current value to Actionlink?
- Filter Field in List by boolean value in MVC
- Android How to change icon with button
- frame.origin Change error on View when Table Cell selected
- How to pass a specific model field to views' functions or methods?
- python django class based view and functional view
- django rest framework - adding to views.obtain_auth_token
- Is it possible to draw on an SFML window regardless of views?
- SQL Join Views - Duplicate Field
- Android change layout depending on if statement
- how to merge entity reference relationship field value
Related Questions in ROUNDHOUSE
- Retrofit DB for use with RoundHouse
- What is the purpose of RoundhousE's RestoreRun mode?
- RoundhousE Migration Fails On Valid SQL On SQL Server
- How do I make a database backup and have it stored locally?
- Postgres unencrypted keyword is no longer supported
- Run RoundHouse scripts based on object dependencies
- Application is unable to connect to database
- What causes NuGet to restore package to slightly different folder structures?
- Can we create a view which refers to a view which is not exist at that point of time?
- Migrate existing SQL Server database using roundhouse?
- How to skip one-time scripts whose entry is already present in RoundHouse.ScriptsRun table?
- Can you let RoundhousE generate a script rather than executing it
- How to run a create index script using RoundhousE that depends on a sp in the correct sequence
- Which ORM frameworks will build and execute the SQL DDL for you?
- Subfolders in UP folder chucknorris/roundhouse
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Either in the wiki, or in the source docs, I believe we cover this exact scenario. If not, we should add it there.
The solution when you have a dependency on order is to rename the files (not the views). Typically you would put the file names in order based on "0000_" (e.g.
0001_viewname.sql,0002_viewname.sql, etc) at the front of the view name, but you could also just move the name of the main view to "z_" to place it after the other views.I know you asked how you can solve this apart from renaming the view files, but renaming the files is how you resolve this issue.