All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.counter.counter.changelog-01.xml Maven / Gradle / Ivy

The newest version!




  

    
        generate counter-specific database objects

        
            
                
            
            
            
            
            
            
            
            
            
            
            
            
                
            
            
            
            
            
            
            
            
            
            
            
            
            
            
                
            
            
                
            
            
                
            
        

        
            
                
            
            
            
            
            
            
            
                
            
        

        
            
                
            
            
                
            
            
                
            
        

        
            
                
            
            
                
            
            
                
            
        
	   insert into data_class(data_class_id, abbrev, description) values(1, 'BR', 'eBook');
	   insert into data_class(data_class_id, abbrev, description) values(2, 'DB', 'Database');
	   insert into data_class(data_class_id, abbrev, description) values(3, 'JR', 'eJournal');

        
            
                
            
            
                
            
        
	   insert into subject_type (subject_type_id, subject_description) values (1, 'Title');
	   insert into subject_type (subject_type_id, subject_description) values (2, 'Database');

        
            
                
            
            
                
            
        
	   insert into issn_format (issn_format_id, issn_format) values (0, 'unspecified');
	   insert into issn_format (issn_format_id, issn_format) values (1, 'online');
	   insert into issn_format (issn_format_id, issn_format) values (2, 'print');

        
            
                
            
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
        

        
            
                
            
            
                
            
        

        
            
                
            
            
                
            
        

        
            
                
            
            
                
            
            
                
            
        
		

        
            
                
            
            
                
            
        

        
            
                
            
            
                
            
        

        
            
                
            
            
                
            
            
                
            
            
            
        
		

        
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
            
                
            
        
		
		

        
            
                
            
            
                
            
            
                
            
        
		
		
    

    
        select subject_id title_id, subject_name title from subject where subject_type_id = 1
        select subject_id data_base_id, subject_name data_base_name from subject where subject_type_id = 2
        select c.description as source, substr(filename,10,1) as report, substr(filename,12,4) year, max(str_to_date(concat(substr(filename,17,2),substr(filename,19,2),substr(filename,21,2)), '%m%d%y')) as last_update from data_file f, data_class c where substr(filename,8,2)=c.abbrev group by source, report, year
    






© 2015 - 2025 Weber Informatics LLC | Privacy Policy