SN/T 4741-2016 in English
ABOLISHEDInspection and quarantine information system database naming conventions
- Issued on:2016-12-12
- Implemented on:2017-07-01
- File Format:PDF
- Delivery:Via email within 1~3 business days
$146.00
Introduction
Technical Background of the Standard
This standard, as a foundational specification for the informatization of the inspection and quarantine industry, was developed based on the GB/T 1.1-2009 standardization guidelines. It focuses on addressing the issue of uniform database naming in the development of inspection and quarantine information systems. The standard was first published in December 2016 and officially implemented in July 2017.
Core content analysis
3.1 Database object naming system
| Object type | Prefix rule | Example |
|---|---|---|
| Database | DB_ | DB_CIQ |
| Stored procedure | PRO_ | PRO_CHECK_JOB |
| Trigger | TRG_ | TRG_DECL_RECEIVE |
3.5 Primary Key Naming Standards
Primary key fields must use the prefix PK_, in the format: PK_table name_field name. For example, the primary key of the declaration record table should be named: PK_SPV_INSPECT_RECORD
3.6 Special Conventions for Foreign Keys
Foreign key fields use the structure of the prefix FK_ followed by the associated table name and the associated field name, such as: FK_DECL_CERT_DECLNO. The standard specifically emphasizes that foreign keys must include a complete reference relationship description.
Implementation Recommendations
4.1 Data Type Identification Specifications
Article 4.2.23 of the standard specifies the data type prefix rules in detail, for example:
- vc_ indicates the VARCHAR2 type
- n_ indicates the NUMBER type
- d_ indicates the DATE type
4.2 Enterprise Application Recommendations
It is recommended that development teams establish a naming standard checking tool and integrate automated verification into the CI/CD process. For the transformation of historical systems, please refer to the transition plan provided in the standard appendix.

Loading PDF document...
Error loading PDF. Please make sure the file is valid and try again.
We also recommend
-

SN 0283-1994 in English
\"Method for Inspection of Dichlorodipyridinol Residues in Exported Poultry Meat\"
1994-02-18 -

SN 184-1993 in English
\"Test Methods for Listeria Monocytogenes in Exported Foods\"
1993-10-08 -

SN/T 0440.1-1995 in English
Rules for the inspection of technical performance of househeld electric washing machines for export
1995-12-25 -

SN/T 3241.11-2015 in English
Technical requirements for the inspection of household and similar electrical appliances for import and export. Part11:Energy efficiency for drinking-water appliances
2015-05-26 -

SN/T 0244-1994 in English
\"General Rules for Inspection and Certification of Imported Mechanical and Electrical Instruments\"
1993-08-01 -

SN/T 1105-2019 in English
Detection and identification of Coptotermes curvignathus Holmgren
2019-09-03