- Joined
- Sep 12, 2009
- Messages
- 26,487
- Likes received
- 6,761
- Thanks received
- 1,926
- Location
- Null island
The bit where you say you can't pass a bind var as a table name.
Why are you quoting from an oracle article to support you SQL server argument?![]()
You can't use a bind variable as a table name directly in sql server (or Oracle). You need to build your query as a string and execute that.
Which is what I said in post #4.
And repeated in post #21.
And illustrated simply in post #22.
However, if you still believe you can, then we'll agree to differ.








