In Microsoft SQL I can use the GETDATE() function as the default value for a DATETIME field. I’d like to be able to do the same kind of thing for a date field in an ArcGIS geodatabase. Is this possible, or am I limited to literal values?
My geodatabase is using ArcSDE 9.1. The Feature Class with the defining attributes is versioned.
Thanks,
Camel
I ended up talking to Esri support about this issue. They confirmed that versioned tables do not inherit the default values of the original table (well, in SQL Server anyway).
With regards to creating a join between a table and the feature class:
So basically, the DATETIME default would have to survive the export/import process. I didn’t test whether this is possible. In the end, I inserted the default value programmatically on the PocketPC.