|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Simple Question (Yes/No)
Is it possible to pass a variable (data stored in an excel spreadsheet cell) to a SQL Server stored procedure? If so is this difficult?
I'm trying to think of the best way to handle a problem I'm dealing with and if this is possible would be ideal. Thanks. |
|
#2
|
||||
|
||||
|
Simple answer: Yes
Longer answer: Presuming you are using something like ASP, you can read the Excel cell value and then connect to SQL Server and pass it as a parameter to the SP
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
|
#3
|
|||
|
|||
|
Thank you! As always this site is a huge help.
|
|
#4
|
||||
|
||||
|
IMHO it has to be one of the best forums around...
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > Simple Question (Yes/No) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|