If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SQL Server 2005 insert IDS using Ifxoledbc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-01-08, 07:50
kelvinpuk kelvinpuk is offline
Registered User
 
Join Date: Jul 2003
Posts: 23
SQL Server 2005 insert IDS using Ifxoledbc

I've downloaded the latest SDK from IBM Ver 3.00 TC3. I have successfully configured a linked server from my SQL Server 2005 to my IDS 9.4. Although I can select data OK I can’t insert into my IDS table, selecting from my SQL table.

insert into [I2FWT].[fwtsys].[informix].[fwoprods_insert]
(order_no, order_line_no, order_qty)
select order_no, order_line_no, order_qty
from scheme.opdetm where order_no='113307'

scheme.opdetm.order_qty is a float.

[I2FWT].[fwtsys].[informix].[fwoprods_insert].order_qty is a float.

This fails with an error saying it can’t insert.

If I change [I2FWT].[fwtsys].[informix].[fwoprods_insert] to decimal the insert is successful.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On