SAP Knowledge Base Article - Preview

2363727 - PostgreSQL table is dropped when a column's data type is changed - SAP PD

Symptom

  • PostgreSQL uses the ALTER TABLE command when changing a column's data type from strings (char, varchar, etc.) to numeric values (int, int2, int4, etc.) and the opposite.
    This command will succeed only if each existing entry in the column can be converted to the new type by an implicit cast.

ALTER TABLE table_name ALTER COLUMN column_name TYPE new_dtype;

  • SAP PowerDesigner drops then recreates the table.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP PowerDesigner (PD) 16.5 SP05
  • SAP PowerDesigner (PD) 16.6 SP01
  • PostgreSQL DBMS

Product

Sybase PowerAMC 16.5

Keywords

drop, alter, modify, dtype, type, modified, 801709, CR801709 , KBA , BC-SYB-PD-AMC , Power AMC , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.