declare @p1 intset @p1=15exec sp_prepare @p1 output,N'@P1 varchar(80),@P2 varchar(80),@P3varchar(80),@P4 varchar(80),@P5 varchar(80)',N'INSERT INTOpackage_repository (name, version, vendor, filename, content_size,content_type, content, install_status, create_time, create_by,change_time, change_by) VALUES (@P1, @P2, @P3, @P4, ''213'', ''text/xml'',@P5, ''not installed'', current_timestamp, 1, current_timestamp,1)',1select @p1
# add new package
my $FileName = $Structure{Name}->{Content} . '-' .
$Structure{Version}->{Content} . '.xml';
return $Self->{DBObject}->Do(
SQL => 'INSERT INTO package_repository (name, version, vendor,
filename, '
. ' content_size, content_type, content, install_status, '
. ' create_time, create_by, change_time, change_by)'
. ' VALUES (?, ?, ?, ?, \'213\', \'text/xml\', ?, \'not
installed\', '
. ' current_timestamp, 1, current_timestamp, 1)',
Bind => [
\$Structure{Name}->{Content}, \$Structure{Version}->{Content},
\$Structure{Vendor}->{Content}, \$FileName, \$Param{String},
],
);
}
Date: Mon, 10 Nov 2008 08:47:11 +0100From: "Michiel Beijen" <michiel@beefreeit.nl>Subject: Re: [otrs] Fwd: problem installing packagesTo: "User questions and discussions about OTRS." <otrs@otrs.org>Message-ID:<9eda38a40811092347r4fa7295cgb7dca688f9bfc637@mail.gmail.com>Content-Type: text/plain; charset=UTF-8Johan,The FAQ you are refering to is for MySQL, not for MS-SQL. Other thanthat, it lists TWO possible issues.Can you specify what the exact issue is you are experiencing? Errormessage, maybe a screen shot?Regards,--Michiel BeijenSoftware Consultant+31 6 - 457 42 418Bee Free IT + http://beefreeit.nl2008/11/10 Johan Bogema <johan.bogema@realworld-systems.com>:Does anybody have any idea?From: Johan Bogema <johan.bogema@realworld-systems.com>Date: 7 november 2008 10:58:39 GMT+01:00To: otrs@otrs.orgSubject: problem installing packagesHi all,We've just set up an installation of OTRS using an MSSQL server. This duetothe fact that we want to have just one database engine in our company.However, when I try to install an extra package (fe. the FAQ package) itgives the same error as explained in the FAQ item here:http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&CategoryID=4&ItemID=50The problem I have, is that I can't use that hint to configure my MSSQLserver. Does anyone know how to overcome this problem using MSSQL server?Regards,Johan Bogema