on 2022 Mar 14 8:14 AM
Title kind of says it all, here is a sample query:
BEGIN
DECLARE LOCAL TEMPORARY TABLE tmp(id INTEGER, val VARCHAR(20));
SELECT * FROM sys.syscolumns WHERE tname = 'tmp';
END;
Any ideas?
Request clarification before answering.
I found a workaround:
BEGIN
DECLARE LOCAL TEMPORARY TABLE tmp(id INTEGER, val VARCHAR(20));
SELECT * FROM sa_describe_query('select * from tmp');
END;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nice, I just wanted to mentioned another answer - with exactly that solution.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.