Comments - Openquery from SQL Server to MariaDB 10.1.48 using MariaDB ODBC Connector 3.1

5 months ago Daniel Black

what data type is date_modified?

What is the server time_zone system variable?

If you select @@time_zone in an openquery is it the same?

 
5 months ago John Smith

date_modified is TimeStamp

performed in HeidiSQL: @@Time_Zone = America/New_York

performed in SSMS: Select * from openquery(MEYNLBH, 'Select @@time_zone, current_timestamp()') = America/New_York

SSMS on the SQL Server = (UTC-05:00) Eastern Time (US & Canada)

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.