Posts
                          
                            Sort by recent activity
                          
                          
                        
                      
                      
                        A bug about the length of the byte
                        
                        
                        
                        
                      
                      
                      
                  
                    After formatting, parentheses are not aligned:
insert into 测试表名 (
a
,b
,c
)
values ( 'a', 'b', 'c' );
insert into test (
a
,b
,c
)
values ( 'a', 'b', 'c' );
When the table name is a double-byte cha...
                      
                    
                      
                        Multiple constraints, the format becomes messy
                        
                        
                        
                        
                      
                      
                      
                  
                    Formatted before:
alter table gldz
add constraint ck_gldz_1 check (gxflbm like '0[1-8]'),
constraint ck_gldz_2 check(fwlbm like '01%'),
constraint ck_gldz_3 check(wlbm like '01%'),
constraint ck_gl...
                      
                    
                      
                        Multiple constraints, the format becomes messy
                        
                        
                        
                        
                      
                      
                      
                  
                  
                before:
alter table 工料对照
add constraint ck_工料对照_工序分类编码检查 check (工序分类编码 like '0[1-8]'),
constraint ck_工料对照_父物料编码检查 check(父物料编码 like '01%'),
constraint ck_工料对照_物料编码检查 check(物料编码 like '01%'),
constrai...
                      
                    