943,590 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 1938
  • ASP.NET RSS
Feb 13th, 2008
0

datatype TEXT in stored procedure

Expand Post »
Hi

i want to use "text" datatype to declare a variable in stored procedure.
how can i do this???
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
u4umang2001 is offline Offline
28 posts
since Nov 2007
Feb 14th, 2008
0

Re: datatype TEXT in stored procedure

Hi

i want to use "text" datatype to declare a variable in stored procedure.
how can i do this???
Hi u4umang2001,
Declaring a text variable in stored procedure is easy. Following example shows as below.
ASP.NET Syntax (Toggle Plain Text)
  1. CREATE PROCEDURE sp_myStoredProcedure
  2. @myString varchar(100)
  3. AS
  4. .....
  5. Go
For detail understanding visit the link.
http://databases.about.com/od/sqlser...dprocedure.htm
Hope this will help you. For further assistance feel free to ask with me.
Thanks & Regards
Dilip Kumar Vishwakarma
Programmer
.Net Consulting
Reputation Points: 10
Solved Threads: 4
Light Poster
dilipv is offline Offline
30 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Using UserControls in ASP.NET
Next Thread in ASP.NET Forum Timeline: stored procedure problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC