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
CL 6.1.1 SMATDB
System
Originally posted by Femina Jaffer
Can we use sql queries for retrieving data from smat files in the new version of CL within SmatDB? I thought I had read somewhere that this can be done? However, I am not seeing this.
Thanks,
Femina
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Sure it is just a sqlite database.
You may have to issue a command to decrypt if encrypted. Take a look at the smatdb script i posted a while back
jcobane1
Just to clarify - you can't do it via the SMAT DB GUI, but you can do it via code as Charlie did in his script.
Jim Cobane
Henry Ford Health
System
Originally posted by Femina Jaffer
Thank you Gentleman. I will take a look at Charlie's script today and give it a try.
Thanks again.
Femina
System
Originally posted by Femina Jaffer
James,
Thanks for the clarification also. I was hoping to see a GUI for the SQL commands. Anyway, will take a look at Charlie's script and hopefully be able to come close to something.
Thanks again gentleman,
Femina
Charlie Bursell
There *IS* a GUI for this. it is called the SMATDB GUI
It will not accept the native SQL commands but will build the proper SQL commands for you.
You must be aware, especially with HL7, that most of the work is done via the regular expression. The message itself is stored as a blob.
If you want a historical DB that can be searched via pure SQL I would recommend you define the DB table you like in a separate DB then populate that table with data from the SMAT DB.
There is no way to define a SMAT DB table that could store messages other than as a blob that would satisfy all possible message formats. But you have the tools to do it yourself.
That is why you are paid the big bucks :P