Eliyahu
"Steve Doughty" <replyto...@nowhere.com> wrote in message
news:7f8001c16d5b$fa0a8710$35ef2ecf@TKMSFTNGXA11...
> Hi all,
> Can you send parameters with a PULL using a stored
> procedure? There doesn't seem to be a parameters
> collection.
>
> TIA,
>
> Steve
>
>
What's a good way to use stored procedures with the .Pull
method if you want to use different combinations of
parameters?
>.
>
"sp_GetEmployeeList 26"
I assume that I can just keep adding parameters if
necessary...
Cheers,
Steve
>.
>
This all worked fine.
I did run into a problem when my return query returned
fields from more than one table in the SELECT clause.
Ex1. (this works)
SELECT Employees.EmployeeID, Employees.Name
FROM Employees INNER JOIN #Temp ON Employees.EmployeeID
= #Temp.EmployeeID
Ex2. (this does not work)
SELECT Employees.EmployeeID, Employees.Name,
Departments.Number
FROM Employees INNER JOIN #Temp ON Employees.EmployeeID
= #Temp.EmployeeID
INNER JOIN Departments ON Employees.DepartmentID =
Departments.DepartmentID
I'm not absolutely sure that this was caused by 2 tables
being referneced in the SELECT clause, but I'm pretty sure
that caused my trouble. I guess it makes sense if you
think about it.
>.
>