Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Record with same column but with different table

Author  Topic 

batanyah
Starting Member

5 Posts

Posted - 2010-02-02 : 11:25:33
how do you query tables and display all that have similar column value?

Here is a example:
table1
---------
computer_name = 'dev'
important_data = '$5Y#'

------
table2
computer_name='dev'
important_data = '$kds'

PS:

tables could be as many as 10 and without the need of specifying specific column value

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2010-02-02 : 11:30:34
Not sure what you mean. What output do you expect?

Harsh Athalye
http://www.letsgeek.net/
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-02 : 11:30:43
do you mean this?

http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm
Go to Top of Page
   

- Advertisement -