Script Question


i saved ssis package straight forward import table local access database table same name in sql server using wizard in ssms.  is possible have package drop table if exists before import?


sure, execute tsql command:

if exists (select 'x' sys.tables name = 'mytablename') drop table mytablename



don't forget mark helpful posts, , answers. helps others find relevant posts same question.

that statement parses a-ok, message says 

"this operation has no effect since "bypassprepare" property set true.


have tried set "bypassprepare" false?

please click "mark answer" if post helped.



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........