|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i want to select all the user tables within the database and then all the records with in each table.
plz tell me one query to do this. ex: suppose x and y are user tables and x contain 10 records and y contains 20 records . i want a query which displays all 30 records together. ![]() |
|
#2
|
|||
|
|||
|
Code:
select * from x union all select * from y Why do you have multiple identical tables? |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > selecting multiple records from multiple tables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|