Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

> (1) not understood. This is a bug at sqlserver2pgsql.pl line 2551, <$file> line 1 #172

Open
samRddhimat opened this issue Feb 10, 2023 · 1 comment

Comments

@samRddhimat
Copy link

Hi,

Not sure this is the right place to report issues faced while using sqlserver2pgsql.pl in command prompt.
Passed a input file with create statement and got the below error flashing at the prompt.

**Line <CREATE TABLE dbo.DC_MA_MAIL (

(1) not understood. This is a bug at sqlserver2pgsql.pl line 2551, <$file> line 1.**

Below is the script i'm using

CREATE TABLE dbo.DC_MA_MAIL (
CASE_REF_NO VARCHAR (50) NOT NULL
);

I'm using Windows 11 and installed strawberry-perl-5.32.1.1-64bit to run it in the prompt.

Thanks

@Shubham-21-dev
Copy link

Hi,
Similar issue, Passed an input file
CREATE TYPE [dbo].[Survey_GPSCoordinates] AS TABLE(
[ID] [int] NULL,
[Latitude] [numeric](18, 12) NULL,
[Longitude] [numeric](18, 12) NULL
)
got the below error when using sqlserver2pgsql.pl in command prompt
Cannot understand [Latitude] [numeric](18, 12) NULL,

at ./sqlserver2pgsql.pl line 1948, <$file> line 109.
main::parse_dump() called at ./sqlserver2pgsql.pl line 3316

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants