Click here to Skip to main content
15,887,485 members
Home / Discussions / Database
   

Database

 
QuestionDynamic table in sql Procedure? Pin
squattyarun23-Oct-07 19:36
squattyarun23-Oct-07 19:36 
AnswerRe: Dynamic table in sql Procedure? Pin
pmarfleet23-Oct-07 21:29
pmarfleet23-Oct-07 21:29 
AnswerRe: Dynamic table in sql Procedure? Pin
John-ph23-Oct-07 22:21
John-ph23-Oct-07 22:21 
GeneralRe: Dynamic table in sql Procedure? Pin
squattyarun23-Oct-07 22:55
squattyarun23-Oct-07 22:55 
QuestionProblem in creating a SSIS package Pin
hari1723-Oct-07 18:13
hari1723-Oct-07 18:13 
QuestionCopy Bulk Data into SQL Server Pin
Mehawitchi23-Oct-07 12:44
Mehawitchi23-Oct-07 12:44 
AnswerRe: Copy Bulk Data into SQL Server Pin
Rob Graham23-Oct-07 13:48
Rob Graham23-Oct-07 13:48 
GeneralRe: Copy Bulk Data into SQL Server Pin
Mehawitchi24-Oct-07 8:22
Mehawitchi24-Oct-07 8:22 
Thanks Rob for your advice and quick reply.

I'm sorry if I didn't explain my case well.

I'm alraedy accessing the Xls file with a datareader, using OleDB reader. The problem is after opening the Xls file and then populating it in a dataset in a different order from the spreadsheet, I then have to copy the dataset into my SQL server.

As I mentioned earlier, there are around 180,000 rows and the dataset, and this takes long time for copying into the server, since the dataadapter has to check the rows one by one to see if it is new, modifie, deleted or unchanged, and accordingle will issue the respective command: Insert, update, delete, or ignore.

What I'm looking for is a way for bulkcopying the 180,000 rows into the server in one go.

My problem would be solved if I can find a way to populate the 180,000 rows in a data container that can be later retrieved by a datareader and use the bulkcopy command of the datareader. Is that possible.

Thanks again for your support.


GeneralRe: Copy Bulk Data into SQL Server Pin
PIEBALDconsult24-Oct-07 17:13
mvePIEBALDconsult24-Oct-07 17:13 
QuestionSQL Pictures Pin
RevCuevas23-Oct-07 9:34
RevCuevas23-Oct-07 9:34 
AnswerRe: SQL Pictures Pin
pmarfleet23-Oct-07 10:29
pmarfleet23-Oct-07 10:29 
QuestionGet Script Pin
mehrdadc4823-Oct-07 8:58
mehrdadc4823-Oct-07 8:58 
AnswerRe: Get Script Pin
pmarfleet23-Oct-07 9:23
pmarfleet23-Oct-07 9:23 
QuestionDTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 5:52
Bjohnson3323-Oct-07 5:52 
AnswerRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
jschell23-Oct-07 9:30
jschell23-Oct-07 9:30 
GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 21:19
Bjohnson3323-Oct-07 21:19 
AnswerRe: DTS: Transform Task > Stored Procedure > Temp Table error [modified] Pin
GuyThiebaut23-Oct-07 10:26
professionalGuyThiebaut23-Oct-07 10:26 
GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
Bjohnson3323-Oct-07 21:21
Bjohnson3323-Oct-07 21:21 
GeneralRe: DTS: Transform Task > Stored Procedure > Temp Table error Pin
GuyThiebaut23-Oct-07 22:35
professionalGuyThiebaut23-Oct-07 22:35 
QuestionHow to reset the identity Pin
devboycpp23-Oct-07 4:56
devboycpp23-Oct-07 4:56 
AnswerRe: How to reset the identity Pin
Pete O'Hanlon23-Oct-07 5:00
mvePete O'Hanlon23-Oct-07 5:00 
AnswerRe: How to reset the identity Pin
Mitesh Darji23-Oct-07 22:52
Mitesh Darji23-Oct-07 22:52 
QuestionUpdate Query Cant seem to spot the problem Pin
ekynox23-Oct-07 2:56
ekynox23-Oct-07 2:56 
AnswerRe: Update Query Cant seem to spot the problem Pin
squattyarun23-Oct-07 3:05
squattyarun23-Oct-07 3:05 
AnswerRe: Update Query Cant seem to spot the problem Pin
Paddy Boyd23-Oct-07 3:06
Paddy Boyd23-Oct-07 3:06 

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.