Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with SQL Server column assign
Message
 
 
À
13/12/2001 15:26:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00594041
Message ID:
00594044
Vues:
44
You can build SQL Update statement as a string and than execute it using EXECUTE() command or sp_executesql system SP. See SQL BOL for details.

>Hi everybody!
>
> is it possible to use macro substitutions in SQL 7 in order to update a column, let me explain a little bit more:
>
> I have a table with next columns:
> Cell,year, W1, W2, W3, W4, W5, ... W52 (W = Week)
>
> And I need to update this columns with a single 'Update' statement but I can't figure out how can achieve this. In foxpro is very ease: using the macro (&) but the most similar function is COL_NAME but it can't be used in this statement.
>
>Any Idea
>
>Best Regards
>
>Martin Alcaraz
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform