var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Sybase 11.9 equivalent of Microsoft's sp_executesql?
Does Sybase 11.9 have an equivalent to Microsoft's sp_executesql?
If you explained what it was, maybe we could help.
sp_executesql is a stored procedure that allows you to execute a Transact-SQL statement that is passed in as a variable. It allows you to build and execute statements dynamically.
create procedure drop_table
declare @stmnt nvarchar(1000)
select @stmnt = 'drop table ' + @table_name
ASE 12 and up offers dynamic SQL via the exec( @sql ) function.
As for 11.9 and below, you are out of luck unless you perform some hackery:
Thanks for the help! I appreciate it!