Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF syntax
Message
From
15/09/2015 16:34:26
 
 
To
15/09/2015 14:38:15
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01624559
Message ID:
01624656
Views:
67
>REPLACE has another benefit
>
>REPLACE ;
>field1 with value1, ;
>field2 with value2
>
>is better than
>
>UPDATE (field1, field2) values (value1, value2)
>
>With long commands, having each field near the update value is a benefit.

Update tablename set field1 = value1, field2 = value2;
where condition

no confusion of what is going where
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Reply
Map
View

Click here to load this message in the networking platform