You are here: Error message with stored procedure « MsSQL Server « IT news, forums, messages
Error message with stored procedure

Posted by JJ297 on 10/29/07 17:50

Could someone help me, I'm getting this error message:

Procedure or function UpdateResources has too many arguments
specified.

Here's my stored procedure, I am trying to update four columns, two
are in the same table and two are in different tables. Any
suggestions?

CREATE PROCEDURE [UpdateResources]
(@titleID int,
@title varchar (255),
@description varchar (2047),
@quantityowned int)



AS Update Titles

SET

[title]=@title,
[description]=@description

where titleID=@titleid

Update classifications

set

[description]=@description

Update resources

set

[quantityowned]=@quantityowned
GO

I have two columns called description, on in the titles table and one
in the classification table.

Thanks!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация