_Table.LoadData (gb.mysql)

Sub LoadData ( Table As String, File As String [ , Database As String ] )

Charge des données dans une table depuis le fichier spécifié.

Table: Est la table à employer.
File: Est le chemin et le nom du fichier.

Voir this page pour plus d’informations

Exemples

Dim hCon As New Connection

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

hCon.MySQL.Table.LoadData("actor", User.Home &/ "actor.sql")

MySQL statement: LOAD DATA LOCAL INFILE '/home/yourname/actor.sql' INTO TABLE `actor`