Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2003, 03:50 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default SELECT UPPER

HI!
How can i do to select data from table using the UPPER Function?
Exalmple:

SELECT UPPER(data) from table
 
Old July 7th, 2003, 03:54 AM
Authorized User
 
Join Date: Jul 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bosboom
Default

Like

"SELECT UPPER(FieldName) as UpperValue FROM theTable"

then in your recordset select the value as follows:

RecordSet("UpperValue")

Greetz,

Bosboom

 
Old July 7th, 2003, 04:03 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry but the error type is:

expression UPPER Function not defined .

Help me!
 
Old July 7th, 2003, 04:08 AM
Authorized User
 
Join Date: Jul 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to bosboom
Default

With Access database use the UCASE-function

SELECT UCASE(FieldName) FROM TheTable

 
Old July 7th, 2003, 04:46 AM
Authorized User
 
Join Date: Jun 2003
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's OK!! Thanks!!!! :-)





Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT Help to get value from Upper Node by compare pixelheart XSLT 10 May 1st, 2008 12:25 PM
upper casing values moraleslos XSLT 2 November 9th, 2006 02:12 PM
upper limit crmpicco Javascript How-To 2 October 4th, 2005 04:02 AM
first character as Upper Case crmpicco VB How-To 4 July 1st, 2005 01:35 PM
Checking for upper case in input parameter dumbdumb SQL Server 2000 2 March 17th, 2004 03:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.