Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
控制在查询时如何将 DATE、TIME 或 TIMESTAMP 值传递给客户端应用程序。
On、Off
Off
只能设置为临时选项,持续到当前连接结束。您必须具有 SET ANY PUBLIC OPTION 系统特权才能为 PUBLIC 或者其他用户或角色设置此选项。
此选项指示 DATE、TIME 和 TIMESTAMP 值是作为 DATE、TIME 或 TIMESTAMP 数据类型还是作为字符串返回到应用程序。
当此选项设置为 On 时,数据库服务器会在将 DATE、TIME 或 TIMESTAMP 值发送到客户端之前将其转换为字符串,以保持 date_format、time_format 或 timestamp_format 选项设置。
Sybase Central 和 Interactive SQL 会自动将 return_date_time_as_string 选项设置为 On。