On Mon, Dec 16, 2013 at 8:05 AM, Laurie Alvey <[email protected]>wrote:
> This is some code I ran against one of my SQL Tables (joined is SQL date > and timestamp is SQL datetime): > > LOCAL n As Integer, c As String > n = SQLCONNECT()&& Get a connection handle > c = [SELECT joined, timestamp FROM members WHERE id = 45] > SQLEXEC(n, c, "test") > ? VARTYPE(test.joined)&& Prints D > ? VARTYPE(test.timestamp)&& Prints T > > ------------------ It is rare to find a system that uses a date column. Date time sure. Over the decades we have the function to present getdate() and return midnight for that day or the min before midnight. I would only cast the return value you are interested in in your SQL if you expect a date column and google how to make a function for manipulation of time. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAJidMYKAdhOtgoT-_M=1gts4pifb26orgqe-rjgru6ktks6...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

