Re: incrementally increase value
- From: "Stephen Howe" <sjhoweATdialDOTpipexDOTcom>
- Date: Tue, 19 Apr 2005 04:21:46 +0100
>> I am creating a survey in VS .NET 2003 C# using an SQL database. As the
>> user
>> chooses a response I would like the database to add 1 to the value of the
>> field... 1,2,3.. etc. I'm pretty new to this I hope I explained this
>> well.
>> Any help would be appreciated.
You can do it through an SQL UPDATE statement
UPDATE yourtable SET field1=field1+1 [WHERE clause]
Stephen Howe
.
- References:
- incrementally increase value
- From: Bill Burke
- RE: incrementally increase value
- From: Bill Burke
- incrementally increase value
- Prev by Date: RE: Syntax error in insert statement?
- Next by Date: .NET InteropService: Problem
- Previous by thread: RE: incrementally increase value
- Next by thread: .NET InteropService: Problem
- Index(es):
Relevant Pages
|