SQL QUERY

  • sql query to find a particular word in a field of table

    eg: in a field, gunapandian is a name, if i give "gun" it should give the row id.

    those who know please tell me...

  • Select * from table_name where name like'gun%'

  • gunapandian.mca07 (9/18/2008)


    sql query to find a particular word in a field of table

    eg: in a field, gunapandian is a name, if i give "gun" it should give the row id.

    those who know please tell me...

    What if the column has the value 'surgunam'?


    Madhivanan

    Failing to plan is Planning to fail

  • select * from table_name where name like '%gun%';

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply