Forum main
page
Most
active member
Login page
Register
Log out
Search page
Information Online
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 | |
|
Use Oracle sequence from an insert SQL command - 14 February 2005
|
|
|
edeshaies
Posts: 10
Score: 0 Joined: 9 February 2005 Status: offline
|
Hello, I have an Oracle sequence which give me the next value for an ID in my table. Is these a way to use the "Nextval" function in an insert schema via BizTalk Adapter for Oracle (without a store procedure)? INSERT INTO myTable (ID,NAME,ADRESS) VALUES (mySequence.NEXTVAL,'ERIC DESHAIES','xxx 5e street'); Or. Can I put "mySequence.NEXTVAL" as default value in my destination schema? Thanks
_____________________________
Éric Deshaies Analyst/programmer eric_deshaies@lgs.com
|
|
|
|
RE: Use Oracle sequence from an insert SQL command - 15 February 2005
|
|
|
Pieter
Posts: 615
Score: 2 Joined: 8 March 2004 Status: offline
|
We have seen clients do this before without any issues. What is the desitnation data type of the Field? Another alternative would be to use the DB Lookup Functoid to look up the next value. Please let us know if you have issues with this.
_____________________________
Need a BizTalk Adapter? Visit http://www.topxml.com/biztalkutilities and check out the latest BizTalk Adapters.
|
|
|
|
RE: Use Oracle sequence from an insert SQL command - 15 February 2005
|
|
|
edeshaies
Posts: 10
Score: 0 Joined: 9 February 2005 Status: offline
|
Good afternoon, The data type of this element field in my XML is 'decimal' and the data type in Oracle is 'Number(12)'. Should I change the data type in my XML to String and send 'mySequence.NextVal' in it?
_____________________________
Éric Deshaies Analyst/programmer eric_deshaies@lgs.com
|
|
|
|
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
|
|
|