MySQL Forums
Forum List  »  German

Re: Variablen von VBS an MySQL übergeben
Posted by: Thomas Wiedmann
Date: November 25, 2011 03:07AM

Okay mein Fehler. Mit VBS kenne ich micht nicht aus.

Das Problem ist jetzt Deine Variable in den INSERT Befehl einzubinden. Das geht mit String zusammen bauen (Keine Ahnung wie das in VBS aussieht)

Beispiel: Stringconcat eventuell mit + oder so...
' Admins auslesen und in DB schreiben 
mConnection.Execute "INSERT INTO `admins-lokal` (`Servername`) VALUES ( " + Computer + "); "

oder mit Bind Variablen mit Prepare und Execute (keine Ahnung wie das in VBS aussieht)

Grüße
Thomas

Options: ReplyQuote


Subject
Views
Written By
Posted
2878
November 25, 2011 01:20AM
Re: Variablen von VBS an MySQL übergeben
1633
November 25, 2011 03:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.