Viewing 3 posts - 1 through 3 (of 3 total)
Hi...after some further investigation if I remove the following from the script then I can retrieve the correct number of records - can you see anything that is wrong with...
April 5, 2008 at 7:50 pm
I've enclosed the complete script (Cursor)....
declare
@Sysid integer,
@net_user varchar(24),
@user_sysid int,
@cv_user varchar(12),
@CV_docnum int,
@dm_docnum int,
@datetime datetime,
@cv_action varchar(24),
@activity int,
@cvuser_sysid int,
@activity_desc varchar(70)
Declare activity cursor for
select *, case Action
when 'Edit' then 2
when 'Updated' then 20
when...
April 3, 2008 at 4:15 pm
Thank you for your reply - I'm trying to do the following:
Update dbo.table
set c_alias = 'Test'
where c_alias = 'Work', 'Book', 'Event' etc
Regards
November 1, 2003 at 3:42 am
Viewing 3 posts - 1 through 3 (of 3 total)