rmatthew Posted February 25, 2006 Posted February 25, 2006 I have output from a stored procedure that I desperately need to use as the default value of a column... I cannot seem to write the sp as a UDF due to the use of a temporary table and 'exec sp_executesql as follows: insert into #Foo exec sp_executesql @statement=@SQLQuery Please help Quote
Puiu Posted March 1, 2006 Posted March 1, 2006 I think you could create a stored proc that would contain the code from the first stored proc where you get your value(s) and after that the insert statement... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.