Hi! I'm creating a view of a file who has a key field that is a character which contains numbers but is padded to the left so i created a view that does this digits(cast(translate(field, '000', '\¦¬') as dec(8,0))) when i run the program it says that it has no key. How do i make this new field be the key?
view of a file : is this i/series ?
any detail is welcome (maybe complete error message..)
Best Regards, Guy Przytula
Database Software Consultant
Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
Information Server Datastage Certified http://www.infocura.be