[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[birt-dev] A question about removing single quotes on string parameter
|
- From: Xiaofeng Han <xiaofeng.han@xxxxxxxxx>
- Date: Wed, 4 Feb 2009 23:13:28 -0800
- Delivered-to: birt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=tN++PBfkisyKQiNgDR+2XIyEGov1bffdbkCszcTVHYI=; b=QhoyOKq5rBGYtnGKmmC4SMaoTJMT2E+WGMGMkGF8/y2gtGd5PIG8+r2USXKrk4vpPm pjsKgZIIIp3bgrJsl2LdsST7os69U9qftofIVNpID4YUVeTMi/7pFNpplMQR1lN3dA6y +nQxXdzqXkCAskPsWUPevjG5ojDUqOemeXdAw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=P8uA1TSksMBwRdRWmOtxQBriijHSrQksycPmG4D/xQvTbnheuZMU3aKKB4ppxqJq/N kJ6qyMgSgX4Gg9lqaKrDdJtdmwXkH9VGJZ9M5yVqrGqJ0e4ypz0bJ81LqKMEqrRhqLfg FJMh43dfDwIWUTYNDr90ZEW2c8IO9fBGwDQ2s=
Hey,
I just started to learn how to use Birt. Now I have a question and need help.
I setup a parameter A as a string. However, instead of using A as a
value in SQL, I need to use it as the column name.
i.e., in SQL it looks like tablename.? = ?, where A will be used for
the first question makr.
However, Birt will automatically add a pair of single quota on the f
A, which cause syntax error (tablename.'A'). Is there any simple way,
rather than write script to use a string parameter without this pair
of single quotes.
Thanks a lot!
Xiaofeng