Refresh a SQL View in ILE

25 pts.
Tags:
AS/400 SQL View
RPG ILE
SQL View
I have created a view and am using in an ILE module. I have updated one of the files that the view is built with. How do I refresh the View to see this record the next time I run the SQL view? Is there a CREATE OR REPLACE VIEW in RPGILE? Thank you.

Answer Wiki

Thanks. We'll let you know when a new response is added.

You can drop the view and create it again but you may not need to
If you “updated one of the files that the view is based on” by adding or deleting a field that is not used by the view no change should be necessary. The view contains the set of rules for gathering the data.
Including the rows to select, the fields to return and the join info.

If the rules don’t need to be changed then the view doesn’t need to be altered.

Phil

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following