12

I've recently generated scripts for a legacy database, and discovered that most of the tables were created with TEXTIMAGE_ON [PRIMARY], but there's only one filegroup.

TEXTIMAGE_ON [PRIMARY] is redundant when there is only a single filegroup, correct?

Hannah Vernon
  • 70,928
  • 22
  • 177
  • 323
jbd
  • 233
  • 1
  • 2
  • 6

2 Answers2

12

Yes, this is redundant. By default, SSMS will script these

The option is here:

SSMS File group option

gbn
  • 70,237
  • 8
  • 167
  • 244
2

This is a also a long standing bug because it also generates TEXTIMAGE_ON when running the script fails because that option is set when no appropriate text columns!

Dave
  • 175
  • 7