Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Search in all tables for a given where condition

Search in all tables for a given where condition

Scheduled Pinned Locked Moved Database
tutorialdatabasequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 3134588
    wrote on last edited by
    #1

    I would like to search all User defined tables in a database for given condition. Say for example my condition is (playerid = 10000052 or tripid = 10000124 ) and TripDtm = '2013-02-03 00:00:00.00 +00:00' I would like to get result from the tables which return at least one record for the condition. How to achieve this? Please do assist.

    C 1 Reply Last reply
    0
    • U User 3134588

      I would like to search all User defined tables in a database for given condition. Say for example my condition is (playerid = 10000052 or tripid = 10000124 ) and TripDtm = '2013-02-03 00:00:00.00 +00:00' I would like to get result from the tables which return at least one record for the condition. How to achieve this? Please do assist.

      C Offline
      C Offline
      Chris Quinn
      wrote on last edited by
      #2

      Have a look at this article - it seems to do what you are looking for Search for a Value Throughout Your Database[^]


      It's well known that if all the cat videos and porn disappeared from the internet there would be only one site left and it would be called whereareallthecatvideosandporn.com


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups