|
|
|
|
<Connection variable>.DropView (Function) In french: <Variable Connexion>.SupprimeVue Deletes a materialized view from the HFSQL server.
IF NOT MyConnection1.UpdateView(MyMaterializedView) THEN
Trace(HErrorInfo())
END
IF NOT MyConnection1.RefreshView(MyMaterializedView) THEN
Trace(HErrorInfo())
END
IF NOT MyConnection1.DropView(MyMaterializedView) THEN
Trace(HErrorInfo())
END
Syntax
<Result> = <Connection>.DropVue(<View> [, <Cascading deletion>])
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HErrorInfo is used to identify the error.
<Connection>: Control name Connection to the HFSQL server that contains the materialized view. This connection corresponds to: <View>: Character string Name of the materialized view to handle (present on the server). <Cascading deletion>: Optional boolean - True to enable cascading deletion,
- False (default value) otherwise.
Remarks If the materialized view does not exist, the function returns a non-fatal error. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|