![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How can a Record type be returned by a stored procedure? Hi All, I want to know, if i can define a recordType in the createParameter(). Currently i am using the following code .Parameters.Append .CreateParameter("date_diff_days", 3, 1) 3- is for Integer, I would like to know if there is a number for recordType? How can i fetch the record that is returned by the stored procedure? Thanks Deepal |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How can a Record type be returned by a stored procedure? deepal.82@xxxxxx wrote: Quote: > Hi All, > > I want to know, if i can define a recordType in the > createParameter(). > Currently i am using the following code > .Parameters.Append .CreateParameter("date_diff_days", 3, 1) > 3- is for Integer, > > I would like to know if there is a number for recordType? How can i > fetch the record that is returned by the stored procedure? > In SQL Server, there is no "Record" type. You have to use a SELECT statement to return a resultset. I suppose you could return xml in an output parameter .... -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Streamreader and BCP vs SqlConnection and a Stored Procedure | PowerShell | |||
| VB script - for accessing a array returned from stored procedure | VB Script | |||
| how to retrieve an array returned from stored procedure | VB Script | |||
| executing sql stored procedure | VB Script | |||
| Calling a stored procedure from powershell | PowerShell | |||