Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2003, 12:13 AM
Registered User
 
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Please Respond immediately

how to use text data type as output parameter in stored procedures using sql server 2000

 
Old August 4th, 2003, 12:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

mention "OUTPUT" after declaring variable
ex:
f1 varchar(20) OUTPUT

Always:),
Hovik Melkomian.
 
Old August 10th, 2003, 08:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 839
Thanks: 0
Thanked 1 Time in 1 Post
Default

Do you mean the TEXT datatype?

If so, then a lot depends on your client software. Using ADO, for example, the TEXT datatype is mapped to the ADO parameter type 'advarchar'. Since the TEXT datatype can be very long, an OUTPUT parameter may not be the best way to handle this - instead you may consider handling the data in chunks of a more manageable size. In this case, return the TEXT datatype in a query resultset and use, for example, the GetChunck method of the ADO field object.

Jeff Mason
Custom Apps, Inc.
www.custom-apps.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
plz respond this quetion david_marsetty Pro JSP 1 December 13th, 2007 10:01 AM
Cannot get panel to respond to tab key AndrewH Java GUI 0 January 29th, 2007 04:41 PM
current changes are not saving immediately venkys C# 1 January 27th, 2006 11:01 AM
simple API question (I think) - please respond Irwin Fletcher C# 1 July 20th, 2004 02:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.