2006 Jun 19 11:48 AM
can we give primary key to standard internal tables?
2006 Jun 19 11:52 AM
Yes, you can declare it using the WITH UNIQUE KEY option of the syntax.
Regards,
Ravi
2006 Jun 19 11:53 AM
no primary key..but with unique key yes..!!
Message was edited by: Gunjan Kumar
2006 Jun 19 12:07 PM
2006 Jun 19 12:10 PM
Hi vijay,
No u can't give primay key to standard tables.
While reading table u can give only key, not primary key even though pwd is a primary key of table ysell.
<b>Report :</b>
tables : ysell.
data : itab type standard table of yshell with header line.
select * from yshell into table itab.
read table itab with key pwd = 'XXXX'.
write : / itab-pwd1.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |