Hi Guys,
I have a VARCHAR field in a oRs (E.g. oRs:cupom ). How could I set a null value to this field ?
I tried oRs:cupom := NIL, but it's generating a type mismatch error !
VARCHAR Field AND null values
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: VARCHAR Field AND null values
Assign oRs:cupom := ""
This will be saved as NULL , if you did not define the column as NOT NULL and in that case it will save as DEFAULT.
This will be saved as NULL , if you did not define the column as NOT NULL and in that case it will save as DEFAULT.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India