Login
Login
Register
Questions
Unanswered
Ask a Question
Welcome to SQL Server Planet ASK!, where you can ask questions and receive answers from other members of the community.
Return to SQLServerPlanet.com
All categories
Transact SQL
(2)
DBA
(1)
SQL Server Integration Services
(0)
SQL Server Reporting Services
(0)
SQL Server Analysis Services
(0)
SQL Server Database Engine
(1)
Getting started with SQL Server
(2)
Database Design
(0)
Not SQL Related
(1)
What is the right way to process table (1000000 rows) row-by-row
0
votes
Hi all,
Please suggest me what will be best way to processing 1000000 records in following logic..
Begin Loop on Master Table
Posting on Transaction File
Begin Loop on Detail Table
Posting on Transaction File
Loop
Loop
---------------------------------------------------
Posting Procedure on Transaction File
If record not exits in Transaction File
Begin
Insert New Record
End
Else
Begin
Update Same records
End
- Regrds
A Roy Chowdhury
asked
Feb 3
in
Transact SQL
by
anonymous
Your comment on this question:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.