G
G
Gibbzy2011-07-28 10:33:29
SQL
Gibbzy, 2011-07-28 10:33:29

InterSystems Cache

Hello hackers!

By the will of fate, it happened that I work with the cache DBMS.
I dug up a bunch of manuals and I can’t find an analogue of the with command in DB2

. If someone tells me or gives a link to an explanatory manual on sql in cache? I would be very grateful.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DAiMor, 2011-09-16
@DAiMor

documentation on Cache, this is the most complete one that can be found on Cache
documentation comes with Cache installed

M
multik, 2012-07-31
@multik

and what exactly the with command does in DB2 - it will be easier to tell what its analogue in the porridge is.

P
Petr0vi4, 2013-11-21
@Petr0vi4

There is definitely no such command, you can do it through a subquery of the form:

SELECT id
FROM
(	SELECT A as id
  FROM T1
  UNION ALL
  SELECT B as id
  FROM T2
)
ORDER BY id
In general, Cache` is not a relational DBMS, and you need to understand that any query comes down to bypassing globals. Build storage and indexes correctly and it will be fast.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question