Jump to content
Fivewin Brasil

como usar 02 bancos de dados SQL no sistema


marcio1361303176

Recommended Posts

teria que fazer 2 conexao com o mySQL =]

cConnA:="Driver=MySQL;ip=192.168.0.1;usuario=root;senha=senha;banco=GENERICO"

cConnB:="Driver=MySQL;ip=192.168.0.1;usuario=root;senha=senha;banco=ESPECIFICO"

SQL CONNECT cConnA INTO nMySQL

(quando for usar as tabelas do generico)

SQL CONNECT cConnB INTO nMySQL

(quando for usar as tabelas do espefifico)

creio que é por ai, mais seria melhor da uma conversada com o Vailton sobre isso.

[X]Harbour 1.1.0|Fwh 8.5|Bcc55|Pelles|MySQL ^^

http://www.redstarsoft.com.br

user.jpg

Editado por - lailton.webmaster on 05/04/2009 21:51:29

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...