Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to create Structure at data base level using a program

Former Member
0 Likes
384

Hi all,

I need to create a structure at data base level with some fields.

But the thing is i need to achieve using this a program.

Please help me out at the earliest.

Thanks&Regards

2 REPLIES 2
Read only

former_member222860
Active Contributor
0 Likes
363

Hi,

EXEC SQL.

  CREATE TABLE MARA_TEMP AS SELECT * FROM MARA WHERE 1 = 2

ENDEXEC.

This will create Structure : MARA_TEMP at the database level.

Thanks\

Mahesh

Read only

Former Member
0 Likes
363

Thanks