Originally posted by Doug Stelley
I am in the beginning of a project wher I have to do quite a few SQL lookups per message. I would like to cut my teeth on a simple one and grow from there but I'm having a tough time finding the right documentation.
In my transaltion configurator I have
0(0).PV1(0).#50(0) (Alternate Visit ID) for the source.
That would be my $xlateInVals.
I need to use that to call a stored procedure.
The specifics are:
called SQL server: snhd_app
user: query
pword: read_only
stored procedure: Find_MRN_from_VisId
in VBS I would call it with: "exec Find_MRN_from_VisId 380720"
with 380720 being the variable.
Will somebody right me a tcl to do that? I believe I can then use that to grow from.
In this case there will only be one value returned. I will need to learn how to handle multiple values soon. arrays?
Thanks in advance!