Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routine will not return value. Just inserts name.

Status
Not open for further replies.

GaryCI

Programmer
May 21, 2008
1
0
0
Details:
Routine is compiled and working called EDWGetChangeDate and should accept value of 'dummy' and return a datetime value. Test works.

A Fact Job declares the following Parameter:
Parameter name: changeCaptureDate
Prompt: Change Date
Type: String
Default value: EDWGetChangeDate('dummy')

ODBC task in the Fact Job has following SQL Code in Outputs/SQL Query tabs

where
(so.DateUpdated > '#changeCaptureDate#'
or s.DateUpdated > '#changeCaptureDate#'

In production the job changes #changeCaptureDate# into a datetime value and SQL works. In development server it changes the value to 'EDWGetChangeDate('dummy')' as if it is a string value, not a routine to run.

I have compiled the Fact job and Routine on the development server. Any idea's why this would NOT see this as a routine to run and instead sees it as a string of text?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top