Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to call SP using c++ code and retrive the output from SP and keep inside a buffer.

SP name:[USP_MstAutoRebootConfig_GetData](sp create in microsoft SQL server management)
output from sp will be :
XML
<wpostautorbtconfigdata>
  <appname>Autorbtchklst.exe</appname>
  <busdurtnfrm>2015-08-25T10:00:00</busdurtnfrm>
  <busdurtnto>2015-08-26T08:00:00</busdurtnto>
  <execinterval>2</execinterval>
</wpostautorbtconfigdata>


Hence can any one tell how do i do it?
Posted
Comments
chandanadhikari 9-Sep-15 5:23am    
i hope SP means stored procedure. If you are looking for some starting pointers then please Google for "c++ calling stored procedure". It does offer a lot of help .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900