mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adding support for sgl native time datatypes
This commit is contained in:
@@ -8,7 +8,7 @@ class MssqlConfigCtrl {
|
||||
}
|
||||
|
||||
const defaultQuery = `SELECT TOP 100
|
||||
DATEDIFF(second, {d '1970-01-01'}, DATEADD(second,DATEDIFF(second,GETDATE(),GETUTCDATE()),<time_column>) ) as time_sec,
|
||||
$__utcTime(<time_column>),
|
||||
<text_column> as text,
|
||||
<tags_column> as tags
|
||||
FROM <table name>
|
||||
|
||||
Reference in New Issue
Block a user