Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

SyntaxFromSQL problem

2 posts in Appeon (partner product) Last posting was on 2010-12-08 09:11:12.0Z
pangalz Posted on 2010-12-07 15:27:44.0Z
Newsgroups: sybase.public.appeon
Subject: SyntaxFromSQL problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <>
Date: 7 Dec 2010 07:27:44 -0800
X-Trace: forums-1-dub 1291735664 (7 Dec 2010 07:27:44 -0800)
X-Original-Trace: 7 Dec 2010 07:27:44 -0800,
Lines: 16
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2614
Article PK: 21786


I have a problem with the function SyntaxFromSQL in Appeon.
The problem is that the SQL sent to the function (with no
WHERE clause) is extremely slow.
I noticed that PowerBuilder SyntaxFromSQL function with the
same SQL, returns instantly. This is because it implicitly
adds the clause (WHERE 1 = 2) to return only the column
In Appeon, I realized that it executes the SQL without
adding the clause 1 = 2, using the function with a table
containing 15 million rows, it takes 30 minutes to return!

I'm using Appeon 6.5 (Windows) and Sybase ASA 9 (Windows).

This is an Appeon bug?

Steven Posted on 2010-12-08 09:11:12.0Z
From: steven
Newsgroups: sybase.public.appeon
Subject: Re: SyntaxFromSQL problem
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <>
References: <>
Date: 8 Dec 2010 01:11:12 -0800
X-Trace: forums-1-dub 1291799472 (8 Dec 2010 01:11:12 -0800)
X-Original-Trace: 8 Dec 2010 01:11:12 -0800,
Lines: 6
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.appeon:2615
Article PK: 13516


Could you provide some scripts?