I have encountered some problems when using `Query.Options.DefaultValues := True`.
1. GUIDs
When I specify a static GUID like
Code: Select all
'DC5045E2-EAB9-4B94-851C-61406F3D793D'Code: Select all
'{DC5045E2-EAB9-4B94-851C-61406F3D793D}'2. Scalar function
I got a table that has a DATETIME field. This field should call a scalar function to obtain it's DEFAULT value. So I set the default for the field to
Code: Select all
[dbo].[DefaultDeadline] ()