Find Jobs
Hire Freelancers

VBScript amendment for MySQL text file import

$10-30 USD

Complété
Publié il y a plus de 8 ans

$10-30 USD

Payé lors de la livraison
Existing script extension - simple IF / ELSE / THEN mysql record check VBscript is as following ' Script for MailUsage import to Agencies ' ' Dim cn, rs, str Dim strX,strY,strZ,datestrs Dim sf, fso, fp Dim arry() strX = month(date) strY = day(date) strZ = year(date) datestrs = strZ & "-" & strX & "-" & strY fp = "c:\scripts\[login to view URL]" Set cn = CreateObject("[login to view URL]") Set rs = CreateObject("[login to view URL]") Set fso = [login to view URL]("[login to view URL]") Set sf= [login to view URL](fp,1) conn = "Driver={MySQL ODBC 3.51 Driver};Server=[login to view URL];Database=test;User=root; Password=pw;" Dim strSQL Dim strSQL1 Do Until [login to view URL] temp = [login to view URL] str = Split (temp,",") ' add record set to radius database strSQL = "INSERT INTO radacct (username,acctinputoctets,acctoutputoctets,acctstoptime)"&"VALUES('"& str(0) &"','"&str(1)&"','"&str(2)&"','"&datestrs&"')" ' this string needs modification as following: ' ' If ' str(0) found in table radusergroup, do nothing ' Else ' strSQL1 = "INSERT INTO radusergroup (username,groupname)"&"VALUES('"& str(0) &"','"&str(0)&"')" ' then [login to view URL] conn [login to view URL] strSQL [login to view URL] loop [login to view URL] "End of program"
N° de projet : 8403103

Concernant le projet

5 propositions
Projet à distance
Actif à il y a 9 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
I have a lot of experience in handling vbscript, vb and implemented several complex features. I would like to work with you. Please let me know further. Regards, Selvan
$23 USD en 1 jour
5,0 (5 commentaires)
3,3
3,3
5 freelances proposent en moyenne $23 USD pour ce travail
Avatar de l'utilisateur
Hi, I have more than 14 years of VBA/Excel exp and I am expert in this kind of work. I have completed more than 250 projects. Please look at the feedback left by my employers to know more about my work. Waiting for your positive response. Thanks.
$30 USD en 1 jour
4,9 (26 commentaires)
4,4
4,4
Avatar de l'utilisateur
Hello, I have 9+ years of extensive experience in writing VBscript and VBA applications which interact with the database and should be able to easily fix the script for you as desired. I have read the task description & I should be able to assist you with this specified task of yours in a swift and efficient manner. We can connect over Skype and discuss it further. Please do let me know in case you would like me to assist you. I am looking forward to hear back from you. Thanks and Regards, Abhinit
$20 USD en 1 jour
5,0 (9 commentaires)
3,3
3,3
Avatar de l'utilisateur
Aucune proposition n'a encore été fournie.
$22 USD en 3 jours
5,0 (3 commentaires)
1,6
1,6

À propos du client

Drapeau de NEW ZEALAND
Avarua, New Zealand
4,9
5
Méthode de paiement vérifiée
Membre depuis sept. 25, 2008

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.