Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Sever - Update not working
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL Sever - Update not working
Divers
Thread ID:
00405730
Message ID:
00405730
Vues:
65
lnSqlHndl = sqlconnect('mydsn')
lcSql = 'update mysqltable set myfield1 = "value1" where myfield2 = "value2"'
sqlExec(lnSqlHndl,lcSql)

SqlExec keeps returning -1 even though lnSqlHndl represents a valid handle. MyDsn uses windows authentication. The table permissions are set so everyone has rights to everything. I checked my sql syntax in the query analyser and it works in there. I can't figure out what's going on.

I'm useing Win2k server with Sql Server 7.0.
Rip Ryness
International Falls, MN
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform