DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007

    ASP Update statement to a MS SQL 2000 DB clears fields outside of the statement

    I have an ASP app that allows teachers to enter reportcard grades for students. The forms have roughly 300 fields but only a third are ever active for the curren marking period. So each update state ent only has a little over 100 felds beig upated. Randomly data from fields not in the current period are bing cleared as the teachers are using the app.

    Is there a reason why SQL server might clear fields not even included in the UPDATE statement?


  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Welcome to DexX.

    No. SQL Server would not randomly clear fields even if they were in the UPDATE statement. It sounds like something unexpected is happening in your code. What is your update statement?

  3. #3
    Join Date
    Jun 2007
    Update statement is toolong to post and it is created dynamically as the form is generated. Based on what period it is it geerates the form and updte statement. The only thing I could think of was if the update statement didn't get completely processed for some reason or if iis failed to process the database execute statement properly.

Similar Threads

  1. SQL 7.0 views vs SQL 2000 views
    By Mustafa in forum Database
    Replies: 7
    Last Post: 08-15-2002, 06:48 AM
  2. Replies: 1
    Last Post: 08-13-2002, 01:58 PM
  3. Declare a variable in ASP page for SQL statement
    By Alejandra in forum ASP.NET
    Replies: 2
    Last Post: 04-04-2002, 06:10 AM
  4. Re: Query Compare for DaveSatz
    By Ronald in forum Database
    Replies: 1
    Last Post: 11-27-2001, 09:28 AM
  5. How to lock a row when updating data with ASP and SQL
    By C. Liacopoulos in forum authorevents.mitchell
    Replies: 0
    Last Post: 10-17-2000, 01:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.