Click here to Skip to main content
15,886,689 members
Home / Discussions / Database
   

Database

 
AnswerRe: Arithmetic rounding Pin
Andrius Leonavicius9-May-14 15:02
professionalAndrius Leonavicius9-May-14 15:02 
GeneralRe: Arithmetic rounding Pin
Richard.Berry1009-May-14 20:45
Richard.Berry1009-May-14 20:45 
GeneralRe: Arithmetic rounding Pin
Andrius Leonavicius10-May-14 4:28
professionalAndrius Leonavicius10-May-14 4:28 
QuestionFetch records efficiently Pin
avi_dadi20029-May-14 9:15
avi_dadi20029-May-14 9:15 
AnswerRe: Fetch records efficiently Pin
Richard Andrew x649-May-14 10:30
professionalRichard Andrew x649-May-14 10:30 
AnswerRe: Fetch records efficiently Pin
Richard MacCutchan9-May-14 21:49
mveRichard MacCutchan9-May-14 21:49 
QuestionNeed to fetch from two data sources Pin
avi_dadi20029-May-14 9:11
avi_dadi20029-May-14 9:11 
AnswerRe: Need to fetch from two data sources Pin
Richard.Berry1009-May-14 21:40
Richard.Berry1009-May-14 21:40 
Sorry - never read your question properly... (Not sure about DB2)
but in any case...

Perhaps UNION ALL is what you are looking for.
(Columns in both selects must be the same)

select p, q, r
from XXX5T.MyDB5T.MyTable

UNION ALL

select p, q, r
from XXX5T.MyDB5P.MyTable

also see Linked Servers http://msdn.microsoft.com/en-us/library/ms188279.aspx[^]

modified 10-May-14 4:08am.

QuestionSSAS Cube Pin
Mycroft Holmes6-May-14 14:42
professionalMycroft Holmes6-May-14 14:42 
QuestionNeed help in forming a query Pin
Member 99559846-May-14 0:07
professionalMember 99559846-May-14 0:07 
AnswerRe: Need help in forming a query Pin
Richard MacCutchan6-May-14 0:21
mveRichard MacCutchan6-May-14 0:21 
Questionlogin and logout differenece at back end Pin
Syed Rehman5-May-14 18:59
Syed Rehman5-May-14 18:59 
AnswerRe: login and logout differenece at back end Pin
Mycroft Holmes5-May-14 19:20
professionalMycroft Holmes5-May-14 19:20 
QuestionMigration error from SQL 2014 to SQL 2012 Pin
Kala Vairakkannu5-May-14 7:48
Kala Vairakkannu5-May-14 7:48 
AnswerRe: Migration error from SQL 2014 to SQL 2012 Pin
ZurdoDev5-May-14 9:36
professionalZurdoDev5-May-14 9:36 
QuestionMigration error from SQL 2014 to SQL 2012 Pin
Kala Vairakkannu5-May-14 7:27
Kala Vairakkannu5-May-14 7:27 
AnswerRe: Migration error from SQL 2014 to SQL 2012 Pin
Kornfeld Eliyahu Peter5-May-14 7:34
professionalKornfeld Eliyahu Peter5-May-14 7:34 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
ZurdoDev5-May-14 7:48
professionalZurdoDev5-May-14 7:48 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
Kala Vairakkannu5-May-14 8:16
Kala Vairakkannu5-May-14 8:16 
AnswerRe: Migration error from SQL 2014 to SQL 2012 Pin
LloydA1115-May-14 7:34
LloydA1115-May-14 7:34 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
ZurdoDev5-May-14 7:47
professionalZurdoDev5-May-14 7:47 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
Kala Vairakkannu5-May-14 8:20
Kala Vairakkannu5-May-14 8:20 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
Kornfeld Eliyahu Peter5-May-14 8:24
professionalKornfeld Eliyahu Peter5-May-14 8:24 
GeneralRe: Migration error from SQL 2014 to SQL 2012 Pin
Kala Vairakkannu5-May-14 8:37
Kala Vairakkannu5-May-14 8:37 
QuestionMySQL: best for true or false, Yes or No, negative or positive Pin
Jassim Rahma3-May-14 4:44
Jassim Rahma3-May-14 4:44 

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.