Jump to content
Fivewin Brasil

Tmysqlserver


cendon

Recommended Posts

Trata-se de uma classe. Há tempos atrás quando estava iniciando SQL fiz diversas pesquisas, entre elas sobre a classe TMysqlServer. Segue o que tenho anotado, veja se ajuda!

/*

  INCOS
  William Morales

  http://incos.sytes.net
  http://incos.sytes.net/fivewin

  wmormar@hotmail.com

  TXBrowse() and TMySQL example
  You can download TMySQL library from http://wmormar.blogspot.com/

 1 - TMySqlServer:New(cServer, cUser, cPassword)
 2 - TMySqlServer:Destroy()
 3 - TMySqlServer:SelectDB(cDBName)
 4 - TMySqlServer:CreateTable(cTable, aStruct,cPrimaryKey,cUniqueKey,cAuto)
 5 - TMySqlServer:DeleteTable(cTable)
 6 - TMySqlServer:TableStruct(cTable)
 7 - TMySqlServer:CreateIndex(cName, cTable, aFNames, lUnique)
 8 - TMySqlServer:DeleteIndex(cName, cTable)
 9 - TMySqlServer:ListDBs()
 10 - TMySqlServer:ListTables()
 11 - TMySqlServer:Query(cQuery)
 12 - TMySqlServer:NetErr() INLINE ::lError
 13 - TMySqlServer:Error()
 14 - Complemento da Classe TMysqlServer
 15 - Classe TbrowseSql e TBColumnsql

libs:
TMySql.lib => http://wmormar.blogspot.com/
Fivehc.lib e Fivehx.lib => Fivewin
LibMySql.lib e LibMySql.dll => Sqllib Free Vailton (da para gerar compilando)
ODBC32.lib, msimg32.lib,cw32.lib,import32.lib,c0w32.obj => BCC55
harbour.lib,rtl.lib,vm.lib,common.lib =>xharbour

NO XEDIT USA O c0w32.OBJ
NO HBMAKE NAO O c0w2.OBJ
*/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...