
Q : Dynamic SQL in sql server 6.5
Hi all,
Does sql-server 6.5 supports dynamic sql ? Can I build a sql statement (a
select statement for instance) inside a stored procedure and then execute it
?
For example: Can I create a stored procedure that accepts (as parameters) a
table name and a list of columns, and then builds and executes a select
statement and returns a result set ?
Any help / reference to books or websites will be appreciated.
TIA
--
Asaf Yaffe
GreenSoft Management Systems
----------------------------------------------------------------
If you want to reply by e-mail: remove the __.
----------------------------------------------------------------