Viewing 15 posts - 12,286 through 12,300 (of 18,923 total)
You probabely tried to change the type of the function (some return tables, other table variables and the last type a scalar value). And it is forbiden to alter the...
October 28, 2005 at 6:38 am
Try dropping the function and recreating it with your code (swapping alter with create).
October 27, 2005 at 2:42 pm
Good, point... the least we need is the list of the meetings (assuming, everyone has to attend to every meeting).
October 27, 2005 at 2:37 pm
If you look like you're pic then it's fine... if you look like me then I'll pass on the love
.
October 27, 2005 at 2:18 pm
We'll give a shot at the speed issue but don't expect this code to ever run lightning fast...
October 27, 2005 at 2:11 pm
case S.Valor
when -1 then 'Users'
when -2 then 'Host'
else r.RoleName
end as Description
October 27, 2005 at 1:56 pm
Ya, I'm pretty sure you don't need a function to make this trigger work.
October 27, 2005 at 1:51 pm
Ok, can you run this code in the proc... that'll answer your question :
Update statement
print @@rowcount
then run from QA and see if you have 1 or 2 in there......
October 27, 2005 at 1:49 pm
Please do not cross-post, we monitor all boards.
Finish the thread here :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=131&messageid=233096
October 27, 2005 at 1:45 pm
Maybe you could add the @@rowcount logic in the procedure after the update...
Also why do you want to trigger to do work on only one row at the time?
October 27, 2005 at 1:28 pm
The link we provided will answer the next 20 question you'd have posted. Take it like :
Give him a fish, feed im for a day, take him to...
October 27, 2005 at 10:25 am
Please post the table definition and some sample data that makes this fail so we can write the trigger for you.
October 27, 2005 at 10:23 am
Assuming DateReceived column exists, then you could order by that as well.
October 27, 2005 at 10:22 am
Viewing 15 posts - 12,286 through 12,300 (of 18,923 total)