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

Database

 
AnswerRe: rounding up issue in sql.... Pin
Muammar©21-Oct-08 22:51
Muammar©21-Oct-08 22:51 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office21-Oct-08 23:01
Sasmi_Office21-Oct-08 23:01 
GeneralRe: rounding up issue in sql.... Pin
Muammar©21-Oct-08 23:44
Muammar©21-Oct-08 23:44 
AnswerRe: rounding up issue in sql.... Pin
Ashfield21-Oct-08 23:27
Ashfield21-Oct-08 23:27 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office22-Oct-08 0:02
Sasmi_Office22-Oct-08 0:02 
GeneralRe: rounding up issue in sql.... Pin
Ashfield22-Oct-08 2:56
Ashfield22-Oct-08 2:56 
GeneralRe: rounding up issue in sql.... Pin
Sasmi_Office22-Oct-08 3:00
Sasmi_Office22-Oct-08 3:00 
QuestionOracle Store Proc Cursor across db Pin
jensenx21-Oct-08 21:05
jensenx21-Oct-08 21:05 
Hi all,

I want to write a store proc that queries across db, and whenever I am at one db location, i want to query for a list of records which I want to store because I am going to perform an update on each of these based on the results that i gather earlier. once im done, ill loop and move on the next db.

D'Oh! | :doh:

Looks something like this;

1. Retrieve all db links
2. Loop to go to the first db link provided
3. Query table @current db link and use cursor to store the results
4. Loop results to perform update
5. Once, done go back to (2) and move to the next db until there is no more left

Now the question is, how to I access query across db dynamically? Currently i am using EXECUTE IMMEDIATE method. Next, can i use crusor when using execute immediate?

Any advice? Greatly appreciate it

Regards, Jensen
AnswerRe: Oracle Store Proc Cursor across db Pin
Wendelius22-Oct-08 9:58
mentorWendelius22-Oct-08 9:58 
QuestionHow to get the column sum by checking the ids Pin
annu0821-Oct-08 19:49
annu0821-Oct-08 19:49 
AnswerRe: How to get the column sum by checking the ids Pin
fsdsmart21-Oct-08 19:55
fsdsmart21-Oct-08 19:55 
GeneralRe: How to get the column sum by checking the ids Pin
annu0821-Oct-08 20:41
annu0821-Oct-08 20:41 
GeneralRe: How to get the column sum by checking the ids Pin
Ashfield21-Oct-08 21:07
Ashfield21-Oct-08 21:07 
QuestionJoin query Pin
fsdsmart21-Oct-08 19:47
fsdsmart21-Oct-08 19:47 
AnswerRe: Join query Pin
Wendelius22-Oct-08 7:53
mentorWendelius22-Oct-08 7:53 
Questionthis script reads in remote host ip and compare ip address in an access database using asp Pin
phil666721-Oct-08 19:02
phil666721-Oct-08 19:02 
Questionwhat is a datatable Pin
joindotnet21-Oct-08 18:33
joindotnet21-Oct-08 18:33 
AnswerRe: what is a datatable Pin
Ashfield21-Oct-08 20:59
Ashfield21-Oct-08 20:59 
JokeRe: what is a datatable Pin
Wendelius22-Oct-08 7:43
mentorWendelius22-Oct-08 7:43 
Questionpivot table sqlserver Pin
foryou21-Oct-08 3:48
foryou21-Oct-08 3:48 
AnswerRe: pivot table sqlserver Pin
Wendelius21-Oct-08 7:43
mentorWendelius21-Oct-08 7:43 
QuestionHelp is needed using the MYSQl Database Pin
Rameez Raja21-Oct-08 1:39
Rameez Raja21-Oct-08 1:39 
AnswerRe: Help is needed using the MYSQl Database Pin
Ashfield21-Oct-08 5:09
Ashfield21-Oct-08 5:09 
AnswerRe: Help is needed using the MYSQl Database Pin
joindotnet21-Oct-08 20:11
joindotnet21-Oct-08 20:11 
QuestionDatabase structure Pin
5fingers21-Oct-08 1:30
5fingers21-Oct-08 1:30 

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.