Hi All,
Could anybody please let me know how to access stored procedure (for INSERT & Getting Recordset back) from the SQL Server using ADO object.
We are using Navision SQL Server package...But I would like to optimize some of Queries with Stored procedure
Any documents or working code snapshots will be appreciated...!
Thanks,
Hed
0
Comments
Appreciated!
Is there a way to manage the similar Code base to support Navision DB and SQL DB using ADO...I guess not...But I would like to see anymore options...
thanks,
Hed
In the ADO example, is sSql a stored procedure? How do I send parameters? For instance, I have a stored procedure calles TestStoredProcedures which takes 4 parameters. Should I write
sSql := 'TestStoredProcedures'
and what do I do with the parameters? Or is sSql an actual sql statement?
I'm afraid I need very detailed information as this is very new to me. 8-[ Thanks
sSql is the actual sql statement.
Or can also be as below: -
Peter Ng