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 > Data Access, Manipulation & Batch Languages > ASP > Split values in database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-13-06, 02:50
Cuttie0506 Cuttie0506 is offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Split values in database

Hi..

I have a search function...

Inside my database, i have a few columns, with some data....
For test column, under 1 record, i have information like "a , b , c"

When i want to search, i enter "a". How do i search test column?

I cannot use "Select * from table WHERE test=" & request.form("enter")

Cause the value inside the database is "a , b , c"

How can i split my values in my database by a " , " when i search?

Thanx
Reply With Quote
  #2 (permalink)  
Old 02-13-06, 09:27
dimis2500 dimis2500 is offline
Registered User
 
Join Date: Jan 2005
Posts: 362
like

Reply With Quote
  #3 (permalink)  
Old 02-13-06, 20:14
Cuttie0506 Cuttie0506 is offline
Registered User
 
Join Date: Jan 2006
Posts: 44
Thanks.. but i dont want to use sql statement that uses like, cuase i have that in my another function..
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On