sql - LLBLGen: Copy table from one database to another -


i have 2 databases (sql server 2005) same table schemes. need copy data source table destination modification of data along way.

and if destination table contains data, rows source table should not override, added destination table.

in our project use llblgen , linq llblgen orm solution.

example:     database 1        database 2                   database 1     table 1:          table 1:                     table 1:     key value         key value                    key value     1   1           1   t2_one       result=>    1   1     2   2           2   t2_two                   2   2     3   3                                      3   3                                                    4   t2_one                                                    5   t2_two 

i create view of table 2 in db1 (you can create view of table db), generate code llbl getpro , make query select values view not present in table 1. can save retrieved values in table 1.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -