dbTalk Databases Forums  

Query from AS400 to SQL

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Query from AS400 to SQL in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lfrance
 
Posts: n/a

Default Query from AS400 to SQL - 09-08-2005 , 05:04 AM






I need to create a DTS to transfer data from AS400 to SQL Server.
I used this sintax:
SELECT [nome_campo] FROM [SISTEMA_AS400]
..[SCHEMA_AS400].[UTENTE_AS400].[NOME TABELLA].[NOME CAMPO].

When I run this query I obtain only some records, not all.
How can I do to obtain all records ?


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Query from AS400 to SQL - 09-09-2005 , 12:26 AM






The query in DTS will be the exact same as you use to query the AS400
directly so whatever you would use to retrieve all rows there is what
you will use in DTS.

Have you tried to narrow down exactly what "subset" DTS is giving you?
Maybe that will help you to identify why the rows are not the whole
table.

Allan


"lfrance" <lfrance (AT) discussions (DOT) microsoft.com> wrote


Quote:
I need to create a DTS to transfer data from AS400 to SQL Server.
I used this sintax:
SELECT [nome_campo] FROM [SISTEMA_AS400]
.[SCHEMA_AS400].[UTENTE_AS400].[NOME TABELLA].[NOME CAMPO].

When I run this query I obtain only some records, not all.
How can I do to obtain all records ?


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.