navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Updating one field in all records

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Updating one field in all records
Page: [1]
 
rickyzicky

 

Posts: 208
From: roch, ny
Status: offline

 
Updating one field in all records - 5/1/2002 16:12:04   
If I want to make all the "expiration date" filed show the same date in all 300 records, what is the best way.

I know I can update all fields in one record, but I need to do vice versa.

Thanks

adamhum

 

Posts: 28
From: Tucson, Az, USA
Status: offline

 
RE: Updating one field in all records - 5/1/2002 17:59:55   
Are you trying ot insert a certain date into every record on your table? Will this be built into a web page or do you just want to update your database table?


Adam

(in reply to rickyzicky)
rickyzicky

 

Posts: 208
From: roch, ny
Status: offline

 
RE: Updating one field in all records - 5/1/2002 18:03:35   
At the end of the year we want to change the date in all records for one field. I would like to do this via the website so I don't have to open the databse and do a find/replace thing. I am doing this for someone else otherwise find/replace works for me.


(in reply to rickyzicky)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Updating one field in all records - 5/2/2002 1:15:08   
You would use an SQL string like so :

"UPDATE table set [date_field] = now()"

ALL date_field's will be modified to todays date. For a one off, I wouldnt do a web page, just modify the database.

§þððk¥
Database / DRW Q & A
VP-ASP Shopping cart
Spooky Login

(in reply to rickyzicky)
rickyzicky

 

Posts: 208
From: roch, ny
Status: offline

 
RE: Updating one field in all records - 5/2/2002 1:17:23   
Thanks again


(in reply to rickyzicky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Updating one field in all records
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts