Class Overview
Marks a column as not null or nullable.
Make sure that the column being altered to NOT NULL is not used in an index on SQL Server. If it is, drop the index
first, alter the column, and recreate the index.
Public Constructors
Create an alter column to null/not null action.
Parameters
columnName
| The name of the column to alter |
oldDataType
| The original data type of the column, required because some DBs don't let you only alter the
null/not null property of the column. It is your responsibility to get this right. |
nullChoice
| Whether the column should be nullable or not null.
|
Public Methods
public
String
getCommandName
()
public
String
getCommandParameters
()