If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > QBE SQL lower case?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-10, 15:01
janolsen janolsen is offline
Registered User
 
Join Date: Sep 2010
Posts: 2
QBE SQL lower case?

Using QBE, but would like output table to use lowercase on a field - or to make query use lowercase in a comparison. Is this possible?

Tried using SQL function LOWER(), but get syntax errors...so if LOWER works, then I'm not using it correctly.
Reply With Quote
  #2 (permalink)  
Old 09-25-10, 20:31
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 282
in general, you can't use functions within the query.. but you can easily scan the result table and do what you're asking..

scan
[myfield]=lower([myfield])
endscan
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
  #3 (permalink)  
Old 09-26-10, 08:29
janolsen janolsen is offline
Registered User
 
Join Date: Sep 2010
Posts: 2
Paradox help lists LOWER() as an SQL function - wouldn't it somehow be possible to use it in SQL query view?

The scan function I assume needs a separate objectPAL script.
Reply With Quote
  #4 (permalink)  
Old 09-26-10, 09:09
Steve Green Steve Green is offline
Registered User
 
Join Date: Dec 2007
Posts: 282
> Paradox help lists LOWER() as an SQL function

I use the QBE, not the Local SQL


> I assume needs a separate objectPAL script

you can put the QBE code in a script with many other things, of course..


if you need detailed tech help for Paradox, you need to go to Home - Paradox Community , as I suggest in almost every recent thread here..
__________________
--
Steven Green - Myrtle Beach, South Carolina USA

http://www.OasisTradingPost.com

Oasis Trading Post
- Collectibles and Memorabilia
- Vintage Lego Sets and Supplies
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On