Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Appending data to a table
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 10th July 05:19
alex campos
External User
 
Posts: 1
Default Appending data to a table



How can I append data to a table without having to know
the columns in the from table. For example in XBASE I
was able to "use" a table and then "append from" another
and XBASE would match the field for me. If the used
table had 10 fields in common with a append from table
then only those 10 fields would be copied.

Thanks.
  Reply With Quote


  sponsored links


2 10th July 05:19
dandy weyn
External User
 
Posts: 1
Default Appending data to a table



There is automatic match of fields in sql, however what you can do is

insert into tbl_inserttable
select * from appendtable

where the tbl_insert must have the same structure as the table where you
want to append from

--
Regards,

Dandy Weyn
MCSE, MCSA, MCDBA, MCT

http://www.dandyman.net
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666