Zum Hauptinhalt gehen

SQL Query/ Non-Query

Kommentare

2 Kommentare

  • Permanently deleted user

    Hi Keith

    once way to tackle this is:

    • use a stored procedure rather than a table query.
    • the stored procedure would have a parameter that would be able to be altered for each time that the workflow by using an argument.
    • use logic in the stored procedure to control the source of the data that is returned based on the input parameter

    Let me know if you need further help with that.

    Regards

    Ralph Price

    0
  • Permanently deleted user

    Ralph, 

    This is exactly what I am trying to accomplish.  For now we have all our connection strings stored in the web config and have used a case statement to determine what town/city site the request is coming from and from there it determines in case statement which parallel sequence to use.  

    Instead of having multiple copies of the same sequence with only different sql connection strings, it would be great to have just one and be able to dynamically change the connection string like if it could be stored in a variable. 

     

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.