SQL Server ANSI_Padding

Viewed 28826

If I right click on a table in SQL Server Management Studio and select 'Script table as > Create to > New Query Editor Window' the code that appears contains:

SET ANSI_PADDING ON

.... create the table ...

SET ANSI_PADDING OFF

So, I guess, whether ANSI_Padding is on or off affects the whole database and it is turned on to create a table and then turned off again?

What happens if you create a table with ANSI_Padding off? How can you turn it on for that table?

2 Answers
Related