Hi! I try to describe my problem, may be somebody knows how to solve it. I have table in database (MS SQL Server) which contains name of other table which I need to use in query. I created global variables $test, $test1 and then assigned value in Script component: $test=(Select Name_Table From MappingTable Where MemberId=1); $test1='Select * From'+' '+@test. Then I used SQL Transform in Data Flow and wrote in text SQL: exec sp_executesql @test1. Image f5c86-clip-98kb.png . But When I try to refresh Schema I see error:Image b2494-clip-18kb.png . What is wrong? Or may be there are other ways to do that. Please, give me some advice. Unfortunately, I'm beginner in Sap BODS. Thanks.
↧