dbTalk Databases Forums  

Problem filtering by Date when importing from Progress to SQL Serv

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


Discuss Problem filtering by Date when importing from Progress to SQL Serv in the microsoft.public.sqlserver.dts forum.



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

Default Problem filtering by Date when importing from Progress to SQL Serv - 04-07-2005 , 06:01 AM






I am seeking to run a simple import of data from a Progress database table to
SQL Server 7 using a DTS script. I need to filter the data by date to do so.

If I try to import from the source using a 'Where' condition that includes
the keyword "GetDate", I get an message saying 'Unexpected error occurred. An
error result was returned without an error message' when I parse the SQL.
This happens on the 'Source' tab of my DataDrivenQuery.

Should I be using the GetDate keyword for this - will it be translated into
whatever else is used to use the current date as a filter value? And if not,
what should I use instead? Any ideas.

The code I am parsing is 'SELECT* FROM SYTLEMAN.IRECOF WHERE IRDTTR=GETDATE()'

Thanks in advance for any tips.

Ian

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.