on 2013 Nov 06 11:37 AM
In HANA is possible to create a temporary table with the structure already defined in a TYPE?
EXAMPLE:
CREATE TYPE MY_TYPE as TABLE(
col1 varchar(1),
col2 integer)
CREATE LOCAL TEMPORARY TABLE #TMP_TBL WITH MY_TYPE
Fore more information, I have HANA PLATFORM Rev. 53.
Thanks very much.
Request clarification before answering.
Hi,
I'm without an env to test, but you can try to use LIKE instead WITH.
CREATE LOCAL TEMPORARY TABLE #TMP_TBL LIKE MY_TYPE
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.