Can not execute DDL in SSIS.

Поиск
Список
Период
Сортировка
От Der Fluch
Тема Can not execute DDL in SSIS.
Дата
Msg-id tencent_0302FD92BDB716CC590A20C116CFB23A2807@qq.com
обсуждение исходный текст
Ответы Re: Can not execute DDL in SSIS.  (Rakesh Kumar <rakeshkumar464@aol.com>)
Re: Can not execute DDL in SSIS.  (Rakesh Kumar <rakeshkumar464@aol.com>)
Список pgsql-odbc
Hi,

I'd like to drop some indexed inside an SSIS SQL Task, but this failed with the following error: "Connection is readonly, only select statements are allowed.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. 
 
I've checked the connection, which should be fine because ddl can run in pgadmin or other ODBC query tools.
In the SSIS Task, statements like 'select'/ 'refresh' work as expected, which I guess it does not change the database schema. But create/drop would fail. 
I've seen some posts that say we sould check if the odbc.ini is set to readonly. But I do not know which odbc.ini it refers to.

Any idea how to solve this?

Many thanks!

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Bug in is_setting_search_path
Следующее
От: Rakesh Kumar
Дата:
Сообщение: Re: Can not execute DDL in SSIS.