|
-
Feb 5th, 2002, 04:48 AM
#1
Too damn lazy to this of SQl code at this time... anyone switched on enough to help??
I got a table, lets call it CALUsers.. in it I got two fields, Username (unique) and CALLevel.
In my sp I want to update the level by one for a unique user...a bit like this:
CREATE PROCEDURE [sp_levelup]
@SYSUsername as char(50)
AS
Update (CALLevel += 1) from CALUsers
where
@SYSUsername = Username
only I'm in C++ mode this morning and have forgotten my updates and inserts mantra...
anyone awake enough to help?
Nit
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|