|
-
SQL Join
Im trying to join to identical tables, that say have 2 differnt states data. Because of the way the data is imported they cant be in one table. So I would like to make a view that has all the data in it. We are using a SQL Server 2000, and im sure this isnt that hard to do. Any help would be greatful.
MSI K7T266 Pro2,AMD XP1600,Volcano 6CU+
Crucial 512 MB PC2100,Min Maw Case
WD 100 Gig HD,GF2
-------------------------------------
Dell Inspiron 8200. P4 1.7 384mb, 30 gig HD, ATI Radeon 9000
-
Ursus Arctos Moderatis
Are you familiar with the UNION operator? That would be one way to attack it.
-
Ahh.. ill check that out. I have used that once or twice before but forgot about it. Ill google it and try it.
Thanks Griz
MSI K7T266 Pro2,AMD XP1600,Volcano 6CU+
Crucial 512 MB PC2100,Min Maw Case
WD 100 Gig HD,GF2
-------------------------------------
Dell Inspiron 8200. P4 1.7 384mb, 30 gig HD, ATI Radeon 9000
-
.
Originally posted by Grizzly
Are you familiar with the UNION operator? That would be one way to attack it.
Smart man!
---------------------------------------------------------------
- Asus M50 Laptop - C2D T9300 - 4 gig RAM - Radeon HD 3650 - Vista x64 Ultimate
- Intel i7-3770K - Asus P8Z77-V DELUXE - 32gig RAM - Radeon HD7970 Ghz - Plextor M3 256GB/120GB OCZ Vertex3
- LG BluRay - Razor Blackwidow Ultimate Keyboard - Logitech G9x
- HP ZR2740w/Asus LCD - W7 Ultimate
---------------------------------------------------------------
-
Old School OCer
SELECT COL1, COL2, ...
FROM TAB1
UNION ALL
SELECT COL1, COL2, ...
FROM TAB2
The Money Trap = Intel i7 930 | Corsair H70 | ASUS P6X58D-E | 3 x 2GB G.Skill DDR3 2000 6-9-6-24 | EVGA GTX 580 DS SC | OCZ Vertex 2 90GB SSD | WD VelociRaptor | Klipsch ProMedia | Cooler Master HAF 932 | Antec TPQ-1200W | Dell U2711 2560 x 1440 27" | Windows 7 Ultimate 64-bit | APC RS1500
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|