Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert from another table
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Insert from another table
Miscellaneous
Thread ID:
01539799
Message ID:
01539799
Views:
50
In Vfp, I can do this:
Use MYTable1
Append from MyTable2
and MyTable1 and MyTable2 dont have to have exactly same columns (MyTable 2 will just not have the other columns from MyTable1)

In TSQL, if i do this:
INSERT INTO MYTABLE1 ( SELECT * FROM mytable2)

I get an error : Column name or number of supplied values does not match table definition.

Is there any way bypassing the error in SQL

Tia
Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform