Import Cache class definitions into SQL Server
A sudden and short delivery date task has come into being. What is the fastest way to recreate a Cache 2018 application schema definition in SQL server?
Thanks in advance,
Dan
Product version: Caché 2018.1
Don't they always.
That would be funny if it weren't so true.
This one is very high profile and joins the list of demands competing for resources.
First, transfer your schema via $SYSTEM.SQL.Schema.ExportDDL.
After that transfer data via CSV.
Thanks Eduard. I passed the info along to the person with the task. I'll let you know how well it works for the goal.
Plus, for the task at hand, only the data definitions are necessary, not the data.
Hi Eduard,
I got a call from the person carrying out the task last night. ExportDDL isn't available in the 2018 Cache version being used. We ended up extracting the DDL though via the external WinSQL software.
Thanks again.
It’s $System.SQL.Export before InterSystems IRIS 2021.1
Good afternoon Alexander,
We tried that. It didn't yield the Create Table ddl.
Dan