infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
General ODBC Use Question
System
Originally posted by Tim Malaney
Have a general question on the use of ODBC connections (which we do not currently use). We have a need where we have to provide a physician
Find more posts tagged with
Clovertech
Comments
Jim Kosloskey
Yes ODBC could be used.
How depends on whether you want to do the SQL yourself or invoke a Stored Procedure and whether you want to do this via a TPS proc or within an Xlate.
You will need to code some Tcl in any case.
Here we would require a Stored Procedure and where we do it would depend on the circumstances.
However, the very best solution is to have the date provided by the source system which is where it should come from.
Peter Heggie
What Jim said is an IT architecture best practise - have the data source provide the stored procedure. It establishes an interface (contract) that frees you from knowing the underlying data schema or having to deal with changes to it; and it is simpler to call.
The only caveat is if high availability is important, and if so, and if the data source is on another server, you could have a nightly copy of the source table to a local table and query that instead.