Forum Replies Created

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

  • RE: "Select * from @var" possible?

    i am, as you have probably noticed, a T-SQL novice. I looked up the microsoft OPENQUERY dokumentation, but its not quite clear to me how to use it in this...

  • RE: "Select * from @var" possible?

    OK, thanks a lot, thats it. I didn't know that a temporary table created within an exec statement, isn't accessable from my connection. So i have to use a global...

  • RE: "Select * from @var" possible?

    I have a problem with the execute() statement. My sql string is correct, but if i execute it with exec() then the stored procedure returns, if it is a select...

  • RE: "Select * from @var" possible?

    Sounds reasonable, well, i have thought of another reason, what do you think:

    A sp is compiled at creation, isn't it? So, could it be that the compiler complains because it...

  • RE: "Select * from @var" possible?

    May be, but "Select @column from Table" is accepted...

    ->Flo

  • RE: "Select * from @var" possible?

    Thank you, exec(@query) works. But why doesn't it work with the variable in the from clause?

    ->Flo

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