Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion sqlserver2pgsql.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,8 @@ sub generate_kettle
my ($fd) = @_;
my $line = <$fd>;
return undef if (not defined $line);
$line =~ s/\r//g; # Remove \r from windows output
$line =~ s/^\x{FEFF}//; # Remove UTF-8 BOM
$line =~ s/\r//g; # Remove \r from windows output
$line =~
s/EXEC(ute)?\s*(dbo|sys)\.sp_executesql( \@statement =)? N'//i
; # Remove executesql… it's a bit weird in the SQL Server's dump
Expand Down