You are here: Re: Why is my Output Parameter not working? « MsSQL Server « IT news, forums, messages
Re: Why is my Output Parameter not working?

Posted by Erland Sommarskog on 06/16/05 00:42

Axel (realraven2000@hotmail.com) writes:
>>I can tell you should do it in ASP, since I don't know how you call the
>> procedure. Assuming that you use ADO, there is an adDirectionOutput
>>somewhere.

That was supposed to read "I can't tell". Nevermind, it's an ADO problem,
and ADO I know something about.

I believe that you are using a server-side cursor. At least when I tried
an example I was not able to retrieve the value of the output parameter
with a server-side cursor. Unless you have very compelling reasons, you
should anyway use client-side cursors, which use specify by setting
cnn.CursorLocation to adUseClient. In this case you get the output
parameter.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp

 

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

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