{"action":"created","issue":{"url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/30","repository_url":"https://api.github.com/repos/dalibo/sqlserver2pgsql","labels_url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/30/comments","events_url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/30/events","html_url":"https://github.com/dalibo/sqlserver2pgsql/issues/30","id":130833430,"number":30,"title":"Error while import ","user":{"login":"Bolik","id":16425,"avatar_url":"https://avatars.githubusercontent.com/u/16425?v=3","gravatar_id":"","url":"https://api.github.com/users/Bolik","html_url":"https://github.com/Bolik","followers_url":"https://api.github.com/users/Bolik/followers","following_url":"https://api.github.com/users/Bolik/following{/other_user}","gists_url":"https://api.github.com/users/Bolik/gists{/gist_id}","starred_url":"https://api.github.com/users/Bolik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bolik/subscriptions","organizations_url":"https://api.github.com/users/Bolik/orgs","repos_url":"https://api.github.com/users/Bolik/repos","events_url":"https://api.github.com/users/Bolik/events{/privacy}","received_events_url":"https://api.github.com/users/Bolik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-02T22:06:21Z","updated_at":"2016-02-08T13:33:27Z","closed_at":"2016-02-08T13:33:27Z","body":"Hi,\r\nI've tried convert schema from MS SQL 2000\r\n[schema.zip](https://github.com/dalibo/sqlserver2pgsql/files/114748/schema.zip)\r\n\r\nperl ../sqlserver2pgsql/sqlserver2pgsql.pl -b before.sql -a after.sql -u unsure.sql -f s.sql\r\nLine <if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_ConcContractH_ConsContract]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1)\r\n> (1) not understood. This is a bug at ../sqlserver2pgsql/sqlserver2pgsql.pl line 1897, <$file> line 1.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/comments/181369395","html_url":"https://github.com/dalibo/sqlserver2pgsql/issues/30#issuecomment-181369395","issue_url":"https://api.github.com/repos/dalibo/sqlserver2pgsql/issues/30","id":181369395,"user":{"login":"Bolik","id":16425,"avatar_url":"https://avatars.githubusercontent.com/u/16425?v=3","gravatar_id":"","url":"https://api.github.com/users/Bolik","html_url":"https://github.com/Bolik","followers_url":"https://api.github.com/users/Bolik/followers","following_url":"https://api.github.com/users/Bolik/following{/other_user}","gists_url":"https://api.github.com/users/Bolik/gists{/gist_id}","starred_url":"https://api.github.com/users/Bolik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bolik/subscriptions","organizations_url":"https://api.github.com/users/Bolik/orgs","repos_url":"https://api.github.com/users/Bolik/repos","events_url":"https://api.github.com/users/Bolik/events{/privacy}","received_events_url":"https://api.github.com/users/Bolik/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T13:33:27Z","updated_at":"2016-02-08T13:33:27Z","body":"You are right,\r\nh'vi fixed it by disabling some export options"}}