SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
[SA 9.0.0144 Pro BETA] - Datetimeoffset column issue

 
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant View previous topic
View next topic
[SA 9.0.0144 Pro BETA] - Datetimeoffset column issue
Author Message
gemisigo



Joined: 11 Mar 2010
Posts: 2102

Post [SA 9.0.0144 Pro BETA] - Datetimeoffset column issue Reply with quote
SA fails to properly display result columns (in SQL Server) with datetimeoffset type. There's only a red background cell without any data in the grid.
Fri Sep 23, 2016 8:24 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Reply with quote
I think this issue with display of datetimeoffset values has been fixed in 9.0.151. I'm not completely sure though.

Please download the latest beta build, and give ti a try.
Tue Sep 27, 2016 12:32 am View user's profile Send private message
gemisigo



Joined: 11 Mar 2010
Posts: 2102

Post Reply with quote
Improvements have been made but it's not working properly yet. I copy-pasted the example from msdn.microsoft.com
Code:

DECLARE @datetimeoffset datetimeoffset(4) = '12-10-25 12:32:10.1237 +01:0'; 
DECLARE @time time(3) = @datetimeoffset; 
 
SELECT @datetimeoffset AS '@datetimeoffset ', @time AS 'time'; 

This returns the following in SSMS:
Quote:

@datetimeoffset time
2025-12-10 12:32:10.1237 +01:00 12:32:10.124

and the following in SQL Editor:
Quote:

@datetimeoffset time
2025-12-10 12:32:10 12:32:10

Both the offset and the fraction second data are missing.
Tue Sep 27, 2016 3:19 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » SQL Assistant All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.