RapidSMTP Online Documentation   
Search  
   
Browse by Category
RapidSMTP Online Documentation .: Online Manual .: 3. Managing User Lists .: How can I change the SQL WHERE Clause of an existing user list?

How can I change the SQL WHERE Clause of an existing user list?

An SQL WHERE Clause can be used to select entries in a database, which meet a certain criterion.

  1. Login into the application and choose Modify/Delete List in the main navigation menu.
  2. Choose the user list, which you want to modify
  3. In the groupbox Advanced List Properties confirm the checkbox to access advanced functions.
  4. Define an SQL WHERE Clause. More information on SQL WHERE Clauses can be found here.
  5. Click on Finish to confirm changes.

Example 1:

This example assumes, that your database has a column named "EmailAddress", which stores the email address. The following WHERE clause selects those entries, whose email address begins with "a".

WHERE EmailAddress LIKE 'a%'

Example 2:

This example assumes, that your database has a column named "Year", which stores the year when the user was born. The following WHERE clause selects those persons, who were born in 1966 and later.


WHERE Year>1965 


How helpful was this article to you?

Related Articles

article How can I change the database table of an existing user list?
Attention: only perform the following steps, if only the table of the database has been renamed. Linking an existing user list to a wrong database file or table can cause unexpected behavior and can cause data loss. Login into the application and choose Modify/Delete List in the main...

(No rating)  8-22-2007    Views: 1246   
article Deleting an existing user list
Attention: all subscriptions forms associated with this database will stop to work. Recreating a new user list with the same list name does not associate this database with these stale subscription forms.This operation only deletes the database from the applications list, not the physical...

(No rating)  8-22-2007    Views: 984   
article How can I change the path of user list database?
Attention: only perform the following steps, if the location of a database file has been changed. Linking an existing user list to a wrong database file can cause unexpected behavior and can cause data loss. Login into the application and choose Modify/Delete List in the main navigation...

(No rating)  8-22-2007    Views: 1151   


Copyright © 2004-2009 RapidSMTP.com. All Rights Reserved.