Competition: What’s your favorite Redgate tool? Enter now.

SQL packager add data even after /excludedata

nirmal80_innirmal80_in Posts: 6
edited August 22, 2006 10:54AM in SQL Packager Previous Versions
Hi
I am kind of new to SQL Packager. But one problem which i am currently facing is.
I only want to package the database schema and no data. I specify to exclude the table data but even then it includes the data for those tables which have any views defined on them. I tried to add views to the /excludedata switch but that does not works. Kindly help me out

I don't want any table data in any circumstances. Below is pasted the command which i am running from the command line.

"C:\Program Files\Red Gate\SQL Bundle 5\SQLPackager.exe" /quiet /database1:xxx /server1:xxx /makeexe /name:xxxxx_Schema_1782006 /location:C:\Schema_Scripts /schemascript:c:\Schema.sql /rundb:Schema /databasedirectory:C:\Data /logdirectory:C:\Data /recoverymodel:Simple /force /excludedata:Table.

Comments

Sign In or Register to comment.