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

insert single column

Former Member
0 Likes
505

Hi all.

What is the sql statement for insert a single column to the table?

Let say i gt a student table and a admino column.

Thank

5 REPLIES 5
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
453

Hi

You have to create that column in table level (SE11) and you have to adjust that table after addtion using SE14.

Regards,

Sree

Read only

h_senden2
Active Contributor
0 Likes
453

do not that kind of SQL statements in ABAP.

But use the data dictionary (transaction SE11) and add an additional field to the table.

regards,

Hans

Read only

hymavathi_oruganti
Active Contributor
0 Likes
453

u can never insert a single column.

atleast u should insert blanks to the other fields.

inserting a row is possible , inserting single column will not be a normalised table.

by the way u can update a single column.

Read only

Former Member
0 Likes
453

I am not enough sure what you want exactly but you can try this...

update dbtab set f1 = <your value> [where <key fields to distinguish the unique row>].

It will update only the existing row.

regards

shiba dutta

Read only

Former Member
0 Likes
453

you cannot insert acolumn throgh SQL statement.

if u need to add a column u can do it only by getting on the table n adding a column to it's structure.

regards,

sohi