![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | VB script - for accessing a array returned from stored procedure In my Vb script i need to call a stored procedure by passing some input parameters which returns an array. i'm able to handle when the stored procedure returns number or char. i need help on how to handle when the stored procedure returns an array. thnx in advance |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VB script - for accessing a array returned from stored procedure "Anand" <anandhanr@xxxxxx> wrote in message news:77931fe8-6984-467e-9b35-4235f411f1ec@xxxxxx Quote: > In my Vb script i need to call a stored procedure by passing some > input parameters which returns an array. i'm able to handle when the > stored procedure returns number or char. i need help on how to handle > when the stored procedure returns an array. Select Case VarType(ReturnVar) > 8192 Case True MsgBox "True", , VarType(ReturnVar) 'Code to handle or join array Case False MsgBox "False", , VarType(ReturnVar) 'Code to handle empty, null, number, character, etc End Select Question is, do you want the first or another specific element in the array or do you want to join it together into a single string? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Could not find Stored Procedure error in VB script | VB Script | |||
| how to retrieve an array returned from stored procedure | VB Script | |||
| How can a Record type be returned by a stored procedure? | VB Script | |||
| executing sql stored procedure | VB Script | |||
| Calling a stored procedure from powershell | PowerShell | |||