Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   MySQL (https://www.askmehelpdesk.com/forumdisplay.php?f=442)
-   -   Database search (https://www.askmehelpdesk.com/showthread.php?t=106913)

  • Jul 5, 2007, 05:42 AM
    sourabhpace
    Database search
    How do I search within DATABASE.. as Google searches within the HTML pages.. like we write anything and get the result.. same I want a search type for DATABASE..
    So from where I should start or what procedure should be followed..
  • Jul 5, 2007, 06:33 AM
    ScottGem
    You would need to write a query. Another method is to create a table that contains whay you want to search for. For example:

    tblSearch
    SearchID (PK)
    TableID (FK)
    FieldID (FK)
    RecordID (FK)
    Value

    You can then add a record in that table for each field you want to search on identifying the table, field and record for the value. You can then search for the value, capture the table ad record info and use that to find the record.
  • Jul 5, 2007, 06:56 AM
    benn11
    You need to write a query for e.g SQL with a statement like Select name from table where name=sourabhpace;

    To get further exposure visit this website >>

  • All times are GMT -7. The time now is 11:58 AM.