Error: 'fillfactor' is not a recognized CREATE TYPE option.
AdamY
Posts: 55 Bronze 3
SQL Packager 6.4.0.8, SQL 2008 R2
I have 2 User-Defined Table Types in my database. When SQL Packager builds a script, it includes this statement for the Primary Key in the script:
Is this a bug with SQL Packager or have I done something wrong?
I have 2 User-Defined Table Types in my database. When SQL Packager builds a script, it includes this statement for the Primary Key in the script:
WITH (FILLFACTOR=90)But that is not a valid option. Thus, when I run the package against a SQL server I get this error:
So I have to manually edit the script first, then use SQL Packager to build the exe. I don't want to set SQL Packager to ignore Fillfactor because I don't want Fillfactor ignored on my table indexes.'fillfactor' is not a recognized CREATE TYPE option.
Is this a bug with SQL Packager or have I done something wrong?
Comments
I'm sorry SQL Packager is giving you problems. Can you please try updating to the latest patch, and see if that helps?
ftp://support.red-gate.com/patches/SQL_ ... .0.347.zip
If it helps at all - this also used to be a problem in SQL Source Control, but it was fixed. I don't remember when or in what version it was fixed.
Here is definition of one of the types I'm having the problem with: Again, the code generated by SQL Packager has WITH (FILLFACTOR=90) added on.
Should I send a DB backup or is that a waste of time? I won't take the time to put one together if Red Gate isn't going to look at it.
Just so you know I'm not crazy:
Sorry that you have encountered a problem.
I can confirm that this is a bug, I was able to reproduce the error using both V6.4.0.8 and V6.6.0.347.
The bug reference number is SPA-601, sadly I cannot provide an ETA as to when this bug will be eventually fixed. I will be maintaining a "watch" on the bug report I submitted so I can be alerted on any changes to the Bug Report and provide an update.
The workaround I can advise is to continue editing the script to remove the WITH (FILLFACTOR=90) before building the exe file.
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com