Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with SQL Server column assign
Message
 
 
To
13/12/2001 15:26:20
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00594041
Message ID:
00594044
Views:
40
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform