Discussion Locked

Can temp table be sent to SQL

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I would like to send temporary table as a parameter to my SQL Store procedure. Any answers will be appreciated

2 replies

by glen_mcleod

Do you mean the name of an already existing table? Pass it as a varchar variable and use Exec.

Is the name always the same? Hard code it in the second procedure.

Withing SQL Server 2000, just use table variables.

Glen

This discussion is closed to new replies.