-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: ssv_2000
Message 6 in Discussion

Hi vijrag, Thanks a lot.   If we send across a bunch of records to the Stored 
Procedure as explained in ur site, then, I understand network traffic and time for 
which locks are held will be very less.    In scenarios where a Stored Procedure is 
designed to update only one record at a time accepting simple paramter values for 
field values, then, the network traffic or time for which locks are held wouldnt make 
that big a difference. Am I right?    In sending across data in XML format as a 
varchar() variable, are there any security issues, length restrictions, possibilties 
of Injection Attacks etc?    Thanks again. SriVidya.  For sending a bunch of records 
to the stored procedure you can use the XML documents  and OPENXML feature of sql 
2000. visit my site http://www.vijrag.netfirms.com/OpenXML.htm for implementation.   
This project is not really huge. We would like to maintain transactions at Stored 
Procedures, but for this we should be able to send a bunch of records to the Stored 
Procedure. Implementation of the same in ur site uses a varchar variable to accept the 
XML string.  The DAL as you said depends on the size of your project. If the Project 
is a Huge one and if you are maintaining transactions in COM+ then what u said may be 
right but if your project is medium/small, maintaining the transactions in stored 
procedures is the best way.  

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to