Click here to Skip to main content
15,795,331 members
Home / Discussions / Database
   

Database

 
QuestionRecord Set in ESQL Pin
itkid15-Jun-06 3:59
itkid15-Jun-06 3:59 
AnswerRe: Record Set in ESQL Pin
Farhan Noor Qureshi15-Jun-06 10:39
Farhan Noor Qureshi15-Jun-06 10:39 
QuestionTo disable unique constraint Pin
neha301315-Jun-06 3:44
neha301315-Jun-06 3:44 
AnswerRe: To disable unique constraint Pin
Chris Meech15-Jun-06 3:58
Chris Meech15-Jun-06 3:58 
AnswerRe: To disable unique constraint Pin
Farhan Noor Qureshi15-Jun-06 11:30
Farhan Noor Qureshi15-Jun-06 11:30 
GeneralRe: To disable unique constraint Pin
neha301315-Jun-06 21:47
neha301315-Jun-06 21:47 
QuestionCombining two data base of the same schema Pin
militiaware14-Jun-06 23:09
militiaware14-Jun-06 23:09 
AnswerRe: Combining two data base of the same schema Pin
r.stropek15-Jun-06 1:20
r.stropek15-Jun-06 1:20 
Hi!

It depends if you want to combine the content within a SQL statement without transferring the data permanently or if you want to create a third table that physically contains the combined data.

If you need a query and you do not want to tranfer the data

1. create a linked server from machine one to two (or the other way round; you can do this in SQL Server management studio (2005) or Enterprise Manager (2000)
2. select * from DBTest.dbo.DTTable1 union all two.DBTest.dbo.DTTable1

As an alternative to 1 you can also use OPENQUERY or OPENROWSET (see SQL Server Books Online for details).

If you want to move the combined data into a third table use DTS (SQL 2000) or SSIS (SQL 2005). With these tools it is quite easy to move data from one table into another.

Hope this helps.

Regards,
Rainer.


Rainer Stropek
Visit my blog at http://www.cubido.at/rainers

QuestionHow to change date format Pin
MikeRT14-Jun-06 21:20
MikeRT14-Jun-06 21:20 
AnswerRe: How to change date format Pin
Eric Dahlvang15-Jun-06 4:55
Eric Dahlvang15-Jun-06 4:55 
QuestionAlter Tables Pin
myNameIsRon14-Jun-06 20:02
myNameIsRon14-Jun-06 20:02 
AnswerRe: Alter Tables Pin
r.stropek15-Jun-06 1:29
r.stropek15-Jun-06 1:29 
GeneralRe: Alter Tables Pin
myNameIsRon15-Jun-06 15:39
myNameIsRon15-Jun-06 15:39 
AnswerRe: Alter Tables Pin
Eric Dahlvang15-Jun-06 5:47
Eric Dahlvang15-Jun-06 5:47 
GeneralRe: Alter Tables Pin
myNameIsRon15-Jun-06 15:38
myNameIsRon15-Jun-06 15:38 
Question'Best practices' info needed [modified] Pin
Gary Wheeler14-Jun-06 11:49
Gary Wheeler14-Jun-06 11:49 
AnswerRe: 'Best practices' info needed Pin
Colin Angus Mackay14-Jun-06 12:10
Colin Angus Mackay14-Jun-06 12:10 
GeneralRe: 'Best practices' info needed Pin
Gary Wheeler15-Jun-06 2:18
Gary Wheeler15-Jun-06 2:18 
QuestionDAO - Stored Procedure Execution Pin
KSMANN14-Jun-06 10:32
KSMANN14-Jun-06 10:32 
QuestionSystem.Data.DBConcurrencyException Pin
IMC200614-Jun-06 8:30
IMC200614-Jun-06 8:30 
Questionsqldataadapter sqlcommandbuilder stripping off identity column HELP??? Pin
isgrom14-Jun-06 8:16
isgrom14-Jun-06 8:16 
QuestionAggregation function error Pin
tadhg8814-Jun-06 5:02
tadhg8814-Jun-06 5:02 
AnswerRe: Aggregation function error Pin
Colin Angus Mackay14-Jun-06 6:34
Colin Angus Mackay14-Jun-06 6:34 
GeneralRe: Aggregation function error Pin
tadhg8814-Jun-06 7:39
tadhg8814-Jun-06 7:39 
GeneralRe: Aggregation function error Pin
Colin Angus Mackay14-Jun-06 9:16
Colin Angus Mackay14-Jun-06 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.