Click here to Skip to main content
15,922,894 members
Home / Discussions / Database
   

Database

 
AnswerRe: stored procedure or views? Pin
Aatif Ali from Bangalore5-Jul-13 3:25
professionalAatif Ali from Bangalore5-Jul-13 3:25 
Questionin mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well. in that table records also very less.i try to editing,droping,deleting any thing i Pin
Member 967148216-May-13 20:15
Member 967148216-May-13 20:15 
AnswerRe: in mysql database i implemented simple query on 1 like select * from dbo.company limit 2 .it taking tomuch time.except that table remaning all tables are working well. in that table records also very less.i try to editing,droping,deleting any thi Pin
Eddy Vluggen17-May-13 5:00
professionalEddy Vluggen17-May-13 5:00 
QuestionCreate an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla16-May-13 3:45
Miguel Quintanilla16-May-13 3:45 
QuestionRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen16-May-13 3:49
professionalEddy Vluggen16-May-13 3:49 
AnswerRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla16-May-13 4:32
Miguel Quintanilla16-May-13 4:32 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen16-May-13 4:53
professionalEddy Vluggen16-May-13 4:53 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 5:13
Miguel Quintanilla20-May-13 5:13 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 8:17
professionalEddy Vluggen20-May-13 8:17 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 8:25
Miguel Quintanilla20-May-13 8:25 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 8:28
professionalEddy Vluggen20-May-13 8:28 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 8:41
Miguel Quintanilla20-May-13 8:41 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 8:49
professionalEddy Vluggen20-May-13 8:49 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 9:09
Miguel Quintanilla20-May-13 9:09 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 9:51
professionalEddy Vluggen20-May-13 9:51 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 16:23
Miguel Quintanilla20-May-13 16:23 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Eddy Vluggen20-May-13 19:45
professionalEddy Vluggen20-May-13 19:45 
AnswerRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Mycroft Holmes16-May-13 21:24
professionalMycroft Holmes16-May-13 21:24 
We won't actually do the writing for you but will help when you have a problem (not the entire process). Try breaking it down into smaller bits.

Write a query that compares the 2 tables and identifies the records that need to be updated.

Test it

Now change the query to do the actual update.

Create a stored procedure using the update query.

Look into database job scheduling to call the stored procedure you have created (I know SQL Server but not Oracle).

If this is beyond you then you need to get some education in working with a database, specifically Oracle which is not a trivial exercise.
Never underestimate the power of human stupidity
RAH

GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 7:09
Miguel Quintanilla20-May-13 7:09 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Mycroft Holmes20-May-13 12:25
professionalMycroft Holmes20-May-13 12:25 
GeneralRe: Create an sql script that compares two dbase and updates dbase and insert date of update in a column in oracle 11g Pin
Miguel Quintanilla20-May-13 16:11
Miguel Quintanilla20-May-13 16:11 
QuestionCreate a procedure to change date value of a column in a table ? (SQL) Pin
taibc15-May-13 21:09
taibc15-May-13 21:09 
AnswerRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Corporal Agarn16-May-13 1:18
professionalCorporal Agarn16-May-13 1:18 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
taibc16-May-13 3:41
taibc16-May-13 3:41 
GeneralRe: Create a procedure to change date value of a column in a table ? (SQL) Pin
Corporal Agarn16-May-13 3:49
professionalCorporal Agarn16-May-13 3:49 

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.