BizTalk Server - Database lookups in mapper

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > April 2006 > Database lookups in mapper





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Database lookups in mapper
Jason

2006-04-27, 7:25 am

My purpose is to generate IDs in the format of:
Date + Unique Character + Incremented value.
(ex. 20060420W001, 20060420W002)
This is a requirement for a client. An import may happen more than once a
day. Is it possible (on a second import) to look into the database from the
mapper to see what values exist and start the second import after the largest
value that already exists? Thanks.
Eric Stott

2006-04-27, 7:25 am

We did something similar, we had a view that would go against the table and
grab the smallest row with the bit as 0 and we would use the database
functoids to do it. Should not be hard as long as you then updated the table
to change the bit to 1 on import (stored procedure I would suggest.

Eric
http://stottcreations.com/blog

"Jason" <Jason@discussions.microsoft.com> wrote in message
news:66E87329-1873-44F4-B69A-0FA92250E91B@microsoft.com...
> My purpose is to generate IDs in the format of:
> Date + Unique Character + Incremented value.
> (ex. 20060420W001, 20060420W002)
> This is a requirement for a client. An import may happen more than once a
> day. Is it possible (on a second import) to look into the database from
> the
> mapper to see what values exist and start the second import after the
> largest
> value that already exists? Thanks.



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com