U0530007: TaurusDB for PostgreSQL processes DECIMAL as BIGINT and the sequence value exceeds the BIGINT range
Description
Database Type and Version
- Source database type and version: all SQL Server versions
- Target database type and version: TaurusDB for PostgreSQL 16.4 and later
Syntax Example
DECIMAL and NUMERIC defined in a SQL Server database are processed as BIGINT in a TaurusDB for PostgreSQL database. If the precision exceeds 18, the value will exceed the BIGINT range. For example:
SQL Server syntax:
-- The sequence is created in the SQL Server database.
-- Error " sequence type must have precision 18 or less" is reported during sequence creation in the TaurusDB for PostgreSQL database.
CREATE SEQUENCE seq1
as decimal(19)
START WITH 1
INCREMENT BY 1
MINVALUE 1
CYCLE
GO
Suggestion
Determine whether workloads are affected.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot