Biztalk inserting into SQL field whose datatype=money
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Biztalk inserting into SQL field whose datatype=money




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Biztalk inserting into SQL field whose datatype=money  
Joe Barton


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-12-04 10:52 PM

You may want to try a custom functiod, use a convert
function from string to integer with two dec.
Now if you have say a 0000567.97 as a varchar, the
function may work, as well for 89720 resulting in
00089720.00. If the filed has 567.97, converting to
integer +2 dec, well not sure what the result would be,
but in your output schema, look at the options available
for filed length etc.
Hope this gives some clues.

>-----Original Message-----
>When using the SQL adapter in Biztalk 2004 to insert
records into a field that has the datatype set to money in
SQL server the Bitalk server logs the following error:
> 
>The adapter "SQL" raised an error message.
Details "HRESULT="0x80040e07"
>Description="Disallowed implicit conversion from data
type nvarchar to data
>type money, table 'Testing.dbo.S_Salary',
column 'Salary'. Use the CONVERT
>function to run this query."
><<<<<<<<<<<<<<<<<
>
>My question is how do you insert into a field that has
the datatype set to money with Biztalk 2004?
>
>Any help would be greatly appreciated!
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register