{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/d64c6cff56347e38a83d8feb89b42ebc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d64c6cff56347e38a83d8feb89b42ebc","url":"https://api.github.com/users/gardwired","login":"gardwired","id":968118},"milestone":null,"assignee":null,"updated_at":"2011-11-10T22:12:57Z","labels":[],"comments":24,"closed_at":null,"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/58","body":"hi, i am running into this same issue as #55, but on debian linux ruby 1.8.7p320, tiny_tds 0.5.0 and freetds 0.91 qyering against windows 2000/sqlserver 2000 virtual machine (vmware). ie ruby is all on linux. i was getting these \"statement invalid...argument out of range\" errors on any query that has a datetime field (so almost all of my queries fail because of updated_at/created_at). this is a real show stopper. am really wanting to dump odbc. other details are that i compiled freetds without odbc, default tds 7.1 and enabling ms libs. the install all seemed to go fine (debian lenny doesnt have freetds 0.91 as yet).\r\n\r\ni was getting the errors in rails 2.3.14 console so i then tried using TinyTds.client directly. same issue (argument out of range) when i try to iterate through result. fine if i dont select datetime fields.\r\n\r\nplease advise. am willing to help debug if needed. again, this doesn't appear to me to be a windows issue as these queries run fine on mssql query analyzer. it is only when you try to actually read the field in tds (convert string to Time?) that i pukes. i am not (and would prefer not to) use /etc/freetds/freetds.conf unless i have to to get this to work.\r\n\r\nany ideas?","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/58","title":"argument out of range for datetime fields on linux (similar to issue #55)","number":58,"id":2155744,"created_at":"2011-11-06T11:30:37Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/d64c6cff56347e38a83d8feb89b42ebc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d64c6cff56347e38a83d8feb89b42ebc","url":"https://api.github.com/users/gardwired","login":"gardwired","id":968118},"updated_at":"2011-11-10T22:12:57Z","url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/comments/2701991","body":"conf file? i am not using freetds.conf. cp9vm is a windows2000 server vmware instance running sqlserver 2000. so cp9vm is just the host.","id":2701991,"created_at":"2011-11-10T22:12:57Z"}}