Multi-line SQL statements
Posted: Thu 06 May 2010 21:55
Hello,
Do you know if there is a way to submit multi-line SQL statements via dbExpress for MSSql? We have some SQL code that is currently submitted as DataSet.Command text, along the lines of:
declare @output_var...
exec [storedprocedure @output_var]
select @output_var
When doing this using Devart DBExpress I get an error: "InternalDataset: Cursor not returned from query."
Are compound statements like this possible? Any recommended workarounds if no?
Thanks!
Do you know if there is a way to submit multi-line SQL statements via dbExpress for MSSql? We have some SQL code that is currently submitted as DataSet.Command text, along the lines of:
declare @output_var...
exec [storedprocedure @output_var]
select @output_var
When doing this using Devart DBExpress I get an error: "InternalDataset: Cursor not returned from query."
Are compound statements like this possible? Any recommended workarounds if no?
Thanks!