Use an Excel variable in a stored procedure to update a temp table

  • Is it possible to use an Excel value to update a table using a stored procedure? For example, I have a table where I need to input the month as an integer but the users do not have direct access to SQL. Is it possible for them to enter a value in an Excel cell, such as 4 for April, then run a macro in Excel that triggers a stored procedure that will use that value to populate the month column in a table?

    Thanks for your assistance,

    Trish

  • yes, you can do that but you'll need to get into excel programming a bit where in you make a database connection and call your proc.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply