October 1, 2015 at 12:05 am
Comments posted to this topic are about the item Nulls in the FileTable
October 1, 2015 at 12:32 am
According to books online, last_access_time is a not null field, with a default of Current time
October 1, 2015 at 12:42 am
Is really this is the correct answer ?
:w00t::w00t::cool::cool:
rkaram
October 1, 2015 at 12:56 am
According to https://technet.microsoft.com/en-us/library/gg492084(v=sql.110).aspx
last_access_time is datetime2(4) not null.
October 1, 2015 at 1:16 am
According to your own cited source, last_access_time is NOT NULL.
October 1, 2015 at 1:34 am
I was also looking at https://msdn.microsoft.com/en-GB/library/gg492084.aspx which disproves the answer.
October 1, 2015 at 1:56 am
I use a Filetable and despite what MS may say on the issue the table definition does appear to suggest that last_access_time can be NULL and is in fact (datetimeoffset(7), NULL) - see screen shot.
whether there are differences between versions and editions of SQL I have not yet checked, but it would make logical sense to allow NULL as there may be documents that are never accessed.
...
October 1, 2015 at 2:18 am
This was removed by the editor as SPAM
October 1, 2015 at 2:37 am
Never used "FileTable" b4, so learned somthin new 2day, thanx Andy.
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
October 1, 2015 at 5:59 am
Damn you MSDN!
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
October 1, 2015 at 6:46 am
Sorry Andy, you got it wrong. last_access_time is defined as datetime2(4) not null, according to the source you cited
Gerald Britton, Pluralsight courses
October 1, 2015 at 8:06 am
With regard to last_access_time, there is a note from a Michael Quinlan on the version of the FileTable Schema page that comes up on the search in technet with some corrections:
https://technet.microsoft.com/en-us/library/gg492084(v=sql.110).aspx
He also mentions that Name should say "not null"
October 1, 2015 at 8:57 am
I guess I shouldn't be surprised that MSDN is wrong - it isn't the first time.
October 1, 2015 at 10:42 am
With quick analysis on the field names, selected the right ones. (now just wondering- say if I have checked "all of the above", now what other two check boxes I have to select... hmmm that's a tuffy...)
ww; Raghu
--
The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.
October 1, 2015 at 10:43 am
Not a good question for 2008 R2 users with no FileTable experience. Researching on MSDN (curious about the FileTable and the structure) gives an incorrect answer. Bummer!!
Viewing 15 posts - 1 through 15 (of 24 total)
You must be logged in to reply to this topic. Login to reply