Bala
Tue May 09 15:00:59 CDT 2006
Thank you every one for the respone.
I solved the problem by creating a file and sending it to the server.Then i
kicked off a stored procedure from the client to parse the and update the
records. What took 15 minutes now takes just 20-30 seconds for 15000 rows!
Thanks
Bala
"Jeff Dillon" <jeffdillon@hotmail.com> wrote in message
news:e5p$QUucGHA.4576@TK2MSFTNGP05.phx.gbl...
> Multiple DiffGrams? Post a BCP file to the server, then fire off a SQL
> Agent job?
>
> Jeff
>
> "Bala Nagarajan" <baladotnet@newsgroups.nospam> wrote in message
> news:%23REey8scGHA.1276@TK2MSFTNGP03.phx.gbl...
>> Hi Jeff,
>> The 15000 records will have different set of update data, and
>> each record is to tied to a key column. So i cannot run a single update
>> statement to update all the records. Hope this helps.
>> Given this situation any thoughts??
>> Thanks for the help.
>>
>> Bala
>>
>>
>>
>>
>> "Jeff Dillon" <jeffdillon@hotmail.com> wrote in message
>> news:%23Ax4HlrcGHA.2068@TK2MSFTNGP02.phx.gbl...
>>> The client has truly updated 15000 records randomly? Can you describe
>>> this scenario? Perhaps a data acquistion process?
>>>
>>> So each record has different update data? So you can't use a set-based
>>> UPDATE MyTable SET....
>>>
>>> Jeff
>>>
>>> "Bala Nagarajan" <baladotnet@newsgroups.nospam> wrote in message
>>> news:eBYod4qcGHA.3936@TK2MSFTNGP05.phx.gbl...
>>>> Kevin
>>>> Thanks for the reply. Unfortunately i cannotu use this feature
>>>> beacuse i am using .NET 1.1. Is there any other way to do this?
>>>>
>>>> Thanks
>>>> Bala
>>>>
>>>>
>>>> "Kevin Yu [MSFT]" <v-kevy@online.microsoft.com> wrote in message
>>>> news:criqWjkcGHA.4776@TK2MSFTNGXA01.phx.gbl...
>>>>> Hi Bala,
>>>>>
>>>>> If you're updating the Oracle database using OracleDataAdapter, you
>>>>> can
>>>>> also try to set the OracleDataAdapter.UpdateBatchSize property. It
>>>>> will
>>>>> decrease the round trips to the database.
>>>>>
>>>>> Please check the following link for more information.
>>>>>
>>>>>
http://msdn2.microsoft.com/en-us/library/system.data.oracleclient.oracledata
>>>>> adapter.updatebatchsize.aspx
>>>>>
>>>>> HTH.
>>>>>
>>>>> Kevin Yu
>>>>> Microsoft Online Community Support
>>>>>
>>>>> ============================================================================
>>>>> ==========================
>>>>> When responding to posts, please "Reply to Group" via your newsreader
>>>>> so
>>>>> that others may learn and benefit from your issue.
>>>>> ============================================================================
>>>>> ==========================
>>>>>
>>>>> (This posting is provided "AS IS", with no warranties, and confers no
>>>>> rights.)
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>