Home > comp > gb.db.mysql > _view > modify 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
Modify
Modifies the given View.

View: Is the view name.
Statement: Is the query to modify the view.

Examples

Dim hCon As New Connection

With hCon
  .Type = "mysql"
  .Port = "3306"
  .Host = "localhost"
  .User = "root"
  .Password = "mypass"
  .Name = "Gambas"
  .Open()
End With

hCon.MySQL.View.Modify("view_actor", "SELECT first_name, last_name FROM actor")

MySQL statement: CREATE OR REPLACE VIEW `view_actor` AS SELECT first_name, last_name FROM actor