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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Contains in asp sql statement

Status
Not open for further replies.

4954

MIS
May 5, 2003
5
HK
how to do this in asp sql ?

sele * from tablex where field1 contains field2 ?

eg. field1 = 'abc xyz 123'

field2 = 'yz'



thanks.
 
SELECT * FROM table WHERE INSTR(column1, column2);

should work (depending on the SQL version


Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
how if ADO connection to dbf file ? seem not working

any other simply solutions..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top