Hi Experts,
I am not able to use the the create or alter command for views in FSM.
I believe the following SQL is valid and yet throws an error
create or alter view request_temp_view as
select * from request 
Hi Experts,
I am not able to use the the create or alter command for views in FSM.
I believe the following SQL is valid and yet throws an error
create or alter view request_temp_view as
select * from request 
Best answer by SAMLK
Hi
Try out this query on your SQL query tool so that the same query must work on the package deployment.
IF OBJECT_ID('c_data_view') IS NULL
BEGIN
EXEC('CREATE VIEW c_data_view AS SELECT TOP 10 * FROM REQUEST')
END
ELSE
BEGIN
EXEC('ALTER VIEW c_data_view AS SELECT TOP 10 * FROM REQUEST')
ENDmake sure the package deploying user has the EXECUTEDBQUERY, EXECUTEDBEDIT functions enabled under the role
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.