Forum main
page
Most
active member
Login page
Register
Log out
Search page
View our event calendar
Add general event such as an upcoming
software release or conference
View all birthdays
Public image gallery
Upload your images in your profile
Profile editing page
Subscription list page
Address book page
Member list page
View the
most active member
User groups listing
Private message page
|
|
Users viewing this topic: none
|
|
Login | |
|
Oracle Adaptor NULL values in SELECT - 14 March 2007
|
|
|
brupert
Posts: 35
Score: 0 Joined: 1 June 2006 Status: offline
|
Do you know of a way to make the value in a map NULL when using the BizTalk Utilities Oracle Adaptor for Database Transport? For example, I am mapping to a schema generated by the adaptor and I want to make one of the values in the where clause "WHERE transfer_end_time IS NULL". I've been able to use an inline C# script to map it as null, but it ends up coming out in the SQL in the transport as "WHERE transfer_end_time = null". Just to be clear here is the SQL code from the event log becomes:SELECT YEAR, MONTH, RECORD_COUNT, DATE_CREATED, TRANSFER_START_TIME, TRANSFER_END_TIME, USERID, UPDATE_DATE_TIME FROM GMS.CARE_DP_FORECAST_CONS_LOG WHERE YEAR = '2006' AND MONTH = '08' AND TRANSFER_END_TIME = null and here is the SQL I'm trying to get to.SELECT YEAR, MONTH, RECORD_COUNT, DATE_CREATED, TRANSFER_START_TIME, TRANSFER_END_TIME, USERID, UPDATE_DATE_TIME FROM GMS.CARE_DP_FORECAST_CONS_LOG WHERE YEAR = '2006' AND MONTH = '08' AND TRANSFER_END_TIME IS null Thanks,
|
|
|
|
RE: Oracle Adaptor NULL values in SELECT - 8 May 2007
|
|
|
brupert
Posts: 35
Score: 0 Joined: 1 June 2006 Status: offline
|
Apparently there is no way around this, I just used a parameterized query instead.
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|