on 11-25-2008 11:16 PM
hi all,
when i open up this table in se11 , in the field section i see some are in blue and some are in black, what is the difference, and also next to the "data type" there is something called "length" what does that mean.
your help would be appreciated.
regards
Colors made difference between normal field and Primary key and foreign key.And Length is suggests max expected characters can contain by such field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dilip,
The primary key which is used to idetify the table uniquely.It doesn't have any duplications.
The foreign is the key which is used as a reference for one table.
More about foreign key you can find in the following link.
[http://maxdb.sap.com/doc/7_7/44/e3a1e04c836c2fe10000000a114a6b/content.htm]
More about primary key you can find in the following link.
[More about foreign key you can find in the following link.]
Regards,
Mohan
Hi,
Foreign Key
A foreign key is a key field (column) that identifies records in a table, by matching a primary key in a different table. The foreign keys are used to cross-reference tables.
Primary Key
The primary key of a relational table holds a unique value, which identifies each record in the table. It can either be a normal field (column) that is guaranteed to be unique or it can be generated by the database system itself (GUID or Identity field in MS SQL Server for example). Primary keys may be composed of more than 1 field (column) in a table.
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.