Hello
I have a column named Activated in a table defined in my .sql as follows
[Activated] [bit] NULL
I am looking to invoke a coldfusion component which updates the table with the following arguement definition
<cfargument name="RActivated" type="numeric" required="yes">
This function is then later called with the following arguement
RActivated = "True"
The Activated column is used to record whether an account has been activated or not
My question is what are the coldfusion types that go with [bit]
Is it right to use type="numeric" or should I use type = "boolean"
Should I set Activated = "True" or activated = "1"
Basically what are the best datatypes to use in a true / false column ?
I have a column named Activated in a table defined in my .sql as follows
[Activated] [bit] NULL
I am looking to invoke a coldfusion component which updates the table with the following arguement definition
<cfargument name="RActivated" type="numeric" required="yes">
This function is then later called with the following arguement
RActivated = "True"
The Activated column is used to record whether an account has been activated or not
My question is what are the coldfusion types that go with [bit]
Is it right to use type="numeric" or should I use type = "boolean"
Should I set Activated = "True" or activated = "1"
Basically what are the best datatypes to use in a true / false column ?