Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
(SQL) REPLACE seem not right?
Message
From
09/10/2001 10:23:33
 
 
To
09/10/2001 10:19:44
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00564147
Message ID:
00565920
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
I don't think that buffering should have anything to do with it. However, you might try it without buffering. Other than that, I don't have any other suggestions at this time.

>Did this:
>
>SELECT * FROM auth ;
>         WHERE auth.organization = org.organization AND ;
>         (auth.end > DATE() OR EMPTY(auth.end))
>
>and came up with 8 matching results. Could it be the buffer=5 or ... I mean it worked before and now it doesn't (I know it's one of the Top 20 Programmer's excuses :).
>
>Chuck
>
>>>>
>>>>UPDATE auth SET end = DATE(), ;
>>>>	uplog = ALLTRIM(GETENV("USR")) ;
>>>>WHERE auth.organization = org.organization AND ;
>>>>	(auth.end > DATE() OR EMPTY(auth.end))
>>>>>
REPLACE auth.end WITH DATE(), ;
>>>>>	auth.uplog WITH ALLTRIM(GETENV("USR")) FOR ;
>>>>>	auth.organization = org.organization AND ;
>>>>>	(auth.end > DATE() OR EMPTY(auth.end)) ;
>>>>>	IN auth
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform