Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Insert procedure

Status
Not open for further replies.

Denaeghel

Programmer
Apr 23, 2001
61
BE
Is it possible to write a stored procedure that can insert information where the column name is variable?

Thanks

Karel karel.denaeghel@barco.com
 

I think you might have to create your query in a string within the procedure, then use the exec function to run it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top