ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > microsoft.public.sqlserver.server > Batch Coping

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author Batch Coping
Guru S. Anand
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Batch Coping

Hi all

I am having a MasterTable having log information.
There is an Stored Procedure which runs periodically for
evey 15 minutes and copy all the data from MasterTable to
SummaryTable. The data copied from MasterTable to
SummaryTable is not the duplicate of the MasterTable.
Instead there will be some conversion of Data from
MasterTable to SummaryTable.
1. For the First time I need to copy all data from
MAsterTable To SummaryTable.
2. Then in every 15 minutes I should copy only the exta
records inserted into MAsterTable to the SummaryTable. IS
there any way to achieve this?

Problem is : The Data copied from MAsterTable does'nt have
any relation after formating and copied into SummaryTable.

Any Global variable or any trick I hold the number of
records copied from MAsterTable. Then after 15 minutes I
can copy
only the rest of the records....
If so where Can I hold the number of records copied? Any
suggestion

Thanks,
Anand

Report this post to a moderator

Old Post 12-05-02 02:23 AM
Reply w/Quote Edit/Delete Message IP: Logged
Tibor Karaszi
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: Batch Coping

You could save the primary key of the copied rows into another table and use that as your
"delta".

--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=...ublic.sqlserver


"Guru S. Anand" <gurusanand@hotmail.com> wrote in message
news:0d0a01c29c01$e68f8160$8ef
82ecf@TK2MSFTNGXA04...
> Hi all
>
> I am having a MasterTable having log information.
> There is an Stored Procedure which runs periodically for
> evey 15 minutes and copy all the data from MasterTable to
> SummaryTable. The data copied from MasterTable to
> SummaryTable is not the duplicate of the MasterTable.
> Instead there will be some conversion of Data from
> MasterTable to SummaryTable.
> 1. For the First time I need to copy all data from
> MAsterTable To SummaryTable.
> 2. Then in every 15 minutes I should copy only the exta
> records inserted into MAsterTable to the SummaryTable. IS
> there any way to achieve this?
>
> Problem is : The Data copied from MAsterTable does'nt have
> any relation after formating and copied into SummaryTable.
>
> Any Global variable or any trick I hold the number of
> records copied from MAsterTable. Then after 15 minutes I
> can copy
> only the rest of the records....
> If so where Can I hold the number of records copied? Any
> suggestion
>
> Thanks,
> Anand



Report this post to a moderator

Old Post 12-05-02 09:23 AM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps