Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create table based on 3 existing tables
Message
 
General information
Forum:
Microsoft SQL Server
Category:
Database design
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01309424
Message ID:
01309448
Views:
6
>Hi everybody,
>
>I'm trying to figure out the simplest way to achieve the following.
>
>I have 3 different tables: People, Friends + one more table.
>
>I need to create a "Registration" table where I would have all fields from all these 3 tables.
>
>In other words, I need all the fields from these 3 tables and some of the constraints.
>
>Thanks a lot in advance.

Too bad SQL Server doesn't have SELECT INTO clause or CREATE TABLE FROM SELECT ...

The only way I can figure myself out is to manually combine 3 scripts I have on these tables...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform