{"action":"created","issue":{"url":"https://api.github.com/repos/go-gorp/gorp/issues/247","labels_url":"https://api.github.com/repos/go-gorp/gorp/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/go-gorp/gorp/issues/247/comments","events_url":"https://api.github.com/repos/go-gorp/gorp/issues/247/events","html_url":"https://github.com/go-gorp/gorp/pull/247","id":65839638,"number":247,"title":"Addressing #245: fixes for SQL Server","user":{"login":"qrawl","id":4400408,"avatar_url":"https://avatars.githubusercontent.com/u/4400408?v=3","gravatar_id":"","url":"https://api.github.com/users/qrawl","html_url":"https://github.com/qrawl","followers_url":"https://api.github.com/users/qrawl/followers","following_url":"https://api.github.com/users/qrawl/following{/other_user}","gists_url":"https://api.github.com/users/qrawl/gists{/gist_id}","starred_url":"https://api.github.com/users/qrawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qrawl/subscriptions","organizations_url":"https://api.github.com/users/qrawl/orgs","repos_url":"https://api.github.com/users/qrawl/repos","events_url":"https://api.github.com/users/qrawl/events{/privacy}","received_events_url":"https://api.github.com/users/qrawl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-02T05:12:04Z","updated_at":"2015-05-26T12:18:14Z","closed_at":"2015-05-26T08:59:19Z","pull_request":{"url":"https://api.github.com/repos/go-gorp/gorp/pulls/247","html_url":"https://github.com/go-gorp/gorp/pull/247","diff_url":"https://github.com/go-gorp/gorp/pull/247.diff","patch_url":"https://github.com/go-gorp/gorp/pull/247.patch"},"body":"Big improvements in SQL Server syntax as proposed by @FilipDeVos in #245.\r\nIn particular, datetime2 and other new data types from SQL Server 2008, as well as better chosen types for big numbers.\r\nLegacy software users can still load the dialect through `gorp.SqlServerDialect{\"2005\"}` to get SQLServer2005-Access2007 compatible types."},"comment":{"url":"https://api.github.com/repos/go-gorp/gorp/issues/comments/105503645","html_url":"https://github.com/go-gorp/gorp/pull/247#issuecomment-105503645","issue_url":"https://api.github.com/repos/go-gorp/gorp/issues/247","id":105503645,"user":{"login":"GeertJohan","id":564501,"avatar_url":"https://avatars.githubusercontent.com/u/564501?v=3","gravatar_id":"","url":"https://api.github.com/users/GeertJohan","html_url":"https://github.com/GeertJohan","followers_url":"https://api.github.com/users/GeertJohan/followers","following_url":"https://api.github.com/users/GeertJohan/following{/other_user}","gists_url":"https://api.github.com/users/GeertJohan/gists{/gist_id}","starred_url":"https://api.github.com/users/GeertJohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GeertJohan/subscriptions","organizations_url":"https://api.github.com/users/GeertJohan/orgs","repos_url":"https://api.github.com/users/GeertJohan/repos","events_url":"https://api.github.com/users/GeertJohan/events{/privacy}","received_events_url":"https://api.github.com/users/GeertJohan/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T12:18:14Z","updated_at":"2015-05-26T12:18:14Z","body":"In issue #245 you wrote: \r\n\r\n    It seems like you can't use a nvchar(max) field as primary key. Do you have such experience?\r\n\r\nIs this relevant to this PR? Does this mean that it shouldn't return nvchar(max) when the field is used as primary key?\r\n\r\n"}}