January 21, 2014 at 1:50 pm
I'm a real SQL newbie but i have an issue i think should be easy to solve - i just can't do it!!!
I have an SQL database (SQL Lite 3) and there's a "date" column in one of my tables that is data type "double binary" for example:
339547718.075761
I just need to know what the dates are in this column, how do i change the data type or convert the binary?!?
Thank you in advance!
Paul
January 21, 2014 at 2:22 pm
info 63254 (1/21/2014)
I'm a real SQL newbie but i have an issue i think should be easy to solve - i just can't do it!!!I have an SQL database (SQL Lite 3) and there's a "date" column in one of my tables that is data type "double binary" for example:
339547718.075761
I just need to know what the dates are in this column, how do i change the data type or convert the binary?!?
Thank you in advance!
Paul
Hi and welcome to the forums. You are not likely going to find a lot of help here. This site is dedicated to SQL Server and you indicated that you are using SQLite.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/
January 21, 2014 at 3:04 pm
You might want to look here:
http://en.wikipedia.org/wiki/Julian_day
I don't have any scripts to convert this, but Google might be your friend here...
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply