Eviware Forum

soapUI => soapUI => Topic started by: ramesh nallavolu on March 19, 2008, 09:26:48 pm



Title: DataSink - Inserting to external DB -- how to ??
Post by: ramesh nallavolu on March 19, 2008, 09:26:48 pm
Hi

I am trying to write to Databse ( sql Servicer 2005 )

Datasink has two properties   apcode, apcity.

I want to write these two properties into Database table ( apupdate)... how do I do ?

I wrote like this:   insert into apupdate values(apcode = ?, apcity = ?)

which did not work... could please help me....   again... this is also for Demo I am presenting...





Title: Re: DataSink - Inserting to external DB -- how to ??
Post by: omatzura on March 19, 2008, 10:41:43 pm
Hi!

what error did you get with this? You probably need to surround the question-marks with single quotes, ie

insert into apupdate values(apcode = '?', apcity = '?')

Maybe that helps!?

regards,

/Ole
eviware.com