Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adapter problem
Message
From
04/10/2021 12:13:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/10/2021 11:11:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01682390
Message ID:
01682429
Views:
44
>>The error i have is :"syntax error at end of input Error while executing the query Code: 1526"
>>
>>Thanks
>I've never used cursor adapters but if you manually run the modified command does it give you a syntax error?

Not too useful if it's only the fox side statement, which then doesn't properly pass through odbc. One needs a server-side profiler, and I've found the ExpressProfiler.exe (from some guy at m$, I'd say...) quite useful when running on a SQL server with single instance and single user - otherwise it's hard to filter out all the dozens of requests.

I'm sure some such tool must exist for postgress too - and being a postgres user now I would have probably already found it, but didn't need it yet. What little stuff I do in the database is coming from Python, and it doesn't have this kind of problem, being fresh and regularly updated. But generally I remember that sometimes the ODBC parser would interpret something in a wrong way and send it, and you wouldn't see it fox side, only on the other end of the ODBC connection. Luckily, the server logs every statement, so you can see what really got sent, and try that manually. Often just looking at it will show you what went wrong.

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