Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select distinct number statement

Status
Not open for further replies.

yytan

Programmer
Joined
May 8, 2002
Messages
113
Location
MY
hi there;

i want to select distinct "number" field from the keyword table in oracle:

rs = connect.execSQL("SELECT DISTINCT number FROM keyword WHERE keyword like '%"+ simpkeyword +"%' ");

it gave me -- missing expression -- error??

how to solve this? i understand this is the reserve word in oracle.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top