Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and SQL at the same time
Message
From
03/01/2019 18:41:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/01/2019 17:30:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01664796
Message ID:
01665098
Views:
77
>Hi Dragan,
>
>Catching up after the holidays and fighting fires after getting back this week...
>
>OK - the SQL statements are in a table and you fetch them before firing them: did you then run this through a parser to change the statement e.g. swapping ISNULL() with NVL()? And what was the "base" SQL language you used - MS SQL?

Wasn't my code, it was done before I joined the team, but there was a series of strtran() statements and I think VFP syntax was first, i.e. older, so there was a lot of strtran(lcSql, ".f.", "1") (with extra parameters to make it case blind) and such. The hard cases, as I said, were simply manually copied into separate records and manually translated.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform