CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 UPPER Function

Print topic Send  topic

Author Message
KMK

Posts: 2
Posted: 08/27/2004, 6:03 AM

Hi,

Im using the UPPER Function since my SYBASE database in case sensitive. Heres my code:
sWhere = sWhere & "UPPER(a.name) like UPPER('%" & replace(pname, "'", "''") & "%')"

I get the following error:
Function UPPER invoked with wrong number or type of argument(s).

Does anyone perhaps know how to resolve this?

thank you
View profile  Send private message
Oper


Posts: 1195
Posted: 08/27/2004, 7:29 AM

UCASE(string)

will be faster if you always saved the info lower case or upercase.
so you dont have to convert it during query process.


_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
KMK

Posts: 2
Posted: 08/27/2004, 7:41 AM

Hi,

thanks for the reply. Please elaborate
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.